pyside6_qtbluetooth_python.h 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. // Copyright (C) 2022 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. #ifndef SBK_QTBLUETOOTH_PYTHON_H
  4. #define SBK_QTBLUETOOTH_PYTHON_H
  5. #include <sbkpython.h>
  6. #include <sbkmodule.h>
  7. #include <sbkconverter.h>
  8. // Module Includes
  9. #include <pyside6_qtcore_python.h>
  10. // Bound library includes
  11. #include <QtBluetooth/qbluetooth.h>
  12. #include <QtBluetooth/qbluetoothdevicediscoveryagent.h>
  13. #include <QtBluetooth/qbluetoothdeviceinfo.h>
  14. #include <QtBluetooth/qbluetoothlocaldevice.h>
  15. #include <QtBluetooth/qbluetoothserver.h>
  16. #include <QtBluetooth/qbluetoothservicediscoveryagent.h>
  17. #include <QtBluetooth/qbluetoothserviceinfo.h>
  18. #include <QtBluetooth/qbluetoothsocket.h>
  19. #include <QtBluetooth/qbluetoothuuid.h>
  20. #include <QtBluetooth/qlowenergyadvertisingdata.h>
  21. #include <QtBluetooth/qlowenergyadvertisingparameters.h>
  22. #include <QtBluetooth/qlowenergycharacteristic.h>
  23. #include <QtBluetooth/qlowenergycontroller.h>
  24. #include <QtBluetooth/qlowenergyservice.h>
  25. #include <QtBluetooth/qlowenergyservicedata.h>
  26. QT_BEGIN_NAMESPACE
  27. class QBluetoothAddress;
  28. class QBluetoothHostInfo;
  29. class QLowEnergyCharacteristicData;
  30. class QLowEnergyConnectionParameters;
  31. class QLowEnergyDescriptor;
  32. class QLowEnergyDescriptorData;
  33. QT_END_NAMESPACE
  34. // Type indices
  35. enum [[deprecated]] : int {
  36. SBK_QBLUETOOTH_SECURITY_IDX = 4,
  37. SBK_QFLAGS_QBLUETOOTH_SECURITY_IDX = 92,
  38. SBK_QBLUETOOTH_ATTACCESSCONSTRAINT_IDX = 2,
  39. SBK_QFLAGS_QBLUETOOTH_ATTACCESSCONSTRAINT_IDX = 90,
  40. SBK_QTBLUETOOTHQBLUETOOTH_IDX = 0,
  41. SBK_QBLUETOOTHADDRESS_IDX = 6,
  42. SBK_QBLUETOOTHDEVICEDISCOVERYAGENT_ERROR_IDX = 12,
  43. SBK_QBLUETOOTHDEVICEDISCOVERYAGENT_DISCOVERYMETHOD_IDX = 10,
  44. SBK_QFLAGS_QBLUETOOTHDEVICEDISCOVERYAGENT_DISCOVERYMETHOD_IDX = 94,
  45. SBK_QBLUETOOTHDEVICEDISCOVERYAGENT_IDX = 8,
  46. SBK_QBLUETOOTHDEVICEINFO_MAJORDEVICECLASS_IDX = 20,
  47. SBK_QBLUETOOTHDEVICEINFO_MINORMISCELLANEOUSCLASS_IDX = 30,
  48. SBK_QBLUETOOTHDEVICEINFO_MINORCOMPUTERCLASS_IDX = 24,
  49. SBK_QBLUETOOTHDEVICEINFO_MINORPHONECLASS_IDX = 36,
  50. SBK_QBLUETOOTHDEVICEINFO_MINORNETWORKCLASS_IDX = 32,
  51. SBK_QBLUETOOTHDEVICEINFO_MINORAUDIOVIDEOCLASS_IDX = 22,
  52. SBK_QBLUETOOTHDEVICEINFO_MINORPERIPHERALCLASS_IDX = 34,
  53. SBK_QBLUETOOTHDEVICEINFO_MINORIMAGINGCLASS_IDX = 28,
  54. SBK_QBLUETOOTHDEVICEINFO_MINORWEARABLECLASS_IDX = 40,
  55. SBK_QBLUETOOTHDEVICEINFO_MINORTOYCLASS_IDX = 38,
  56. SBK_QBLUETOOTHDEVICEINFO_MINORHEALTHCLASS_IDX = 26,
  57. SBK_QBLUETOOTHDEVICEINFO_SERVICECLASS_IDX = 42,
  58. SBK_QFLAGS_QBLUETOOTHDEVICEINFO_SERVICECLASS_IDX = 100,
  59. SBK_QBLUETOOTHDEVICEINFO_FIELD_IDX = 18,
  60. SBK_QFLAGS_QBLUETOOTHDEVICEINFO_FIELD_IDX = 98,
  61. SBK_QBLUETOOTHDEVICEINFO_CORECONFIGURATION_IDX = 16,
  62. SBK_QFLAGS_QBLUETOOTHDEVICEINFO_CORECONFIGURATION_IDX = 96,
  63. SBK_QBLUETOOTHDEVICEINFO_IDX = 14,
  64. SBK_QBLUETOOTHHOSTINFO_IDX = 44,
  65. SBK_QBLUETOOTHLOCALDEVICE_PAIRING_IDX = 52,
  66. SBK_QBLUETOOTHLOCALDEVICE_HOSTMODE_IDX = 50,
  67. SBK_QBLUETOOTHLOCALDEVICE_ERROR_IDX = 48,
  68. SBK_QBLUETOOTHLOCALDEVICE_IDX = 46,
  69. SBK_QBLUETOOTHSERVER_ERROR_IDX = 56,
  70. SBK_QBLUETOOTHSERVER_IDX = 54,
  71. SBK_QBLUETOOTHSERVICEDISCOVERYAGENT_ERROR_IDX = 62,
  72. SBK_QBLUETOOTHSERVICEDISCOVERYAGENT_DISCOVERYMODE_IDX = 60,
  73. SBK_QBLUETOOTHSERVICEDISCOVERYAGENT_IDX = 58,
  74. SBK_QBLUETOOTHSERVICEINFO_ATTRIBUTEID_IDX = 68,
  75. SBK_QBLUETOOTHSERVICEINFO_PROTOCOL_IDX = 70,
  76. SBK_QBLUETOOTHSERVICEINFO_IDX = 64,
  77. SBK_QBLUETOOTHSERVICEINFO_ALTERNATIVE_IDX = 66,
  78. SBK_QBLUETOOTHSERVICEINFO_SEQUENCE_IDX = 72,
  79. SBK_QBLUETOOTHSOCKET_SOCKETSTATE_IDX = 78,
  80. SBK_QBLUETOOTHSOCKET_SOCKETERROR_IDX = 76,
  81. SBK_QBLUETOOTHSOCKET_IDX = 74,
  82. SBK_QBLUETOOTHUUID_PROTOCOLUUID_IDX = 86,
  83. SBK_QBLUETOOTHUUID_SERVICECLASSUUID_IDX = 88,
  84. SBK_QBLUETOOTHUUID_CHARACTERISTICTYPE_IDX = 82,
  85. SBK_QBLUETOOTHUUID_DESCRIPTORTYPE_IDX = 84,
  86. SBK_QBLUETOOTHUUID_IDX = 80,
  87. SBK_QLOWENERGYADVERTISINGDATA_DISCOVERABILITY_IDX = 108,
  88. SBK_QLOWENERGYADVERTISINGDATA_IDX = 106,
  89. SBK_QLOWENERGYADVERTISINGPARAMETERS_MODE_IDX = 116,
  90. SBK_QLOWENERGYADVERTISINGPARAMETERS_FILTERPOLICY_IDX = 114,
  91. SBK_QLOWENERGYADVERTISINGPARAMETERS_IDX = 110,
  92. SBK_QLOWENERGYADVERTISINGPARAMETERS_ADDRESSINFO_IDX = 112,
  93. SBK_QLOWENERGYCHARACTERISTIC_PROPERTYTYPE_IDX = 120,
  94. SBK_QFLAGS_QLOWENERGYCHARACTERISTIC_PROPERTYTYPE_IDX = 102,
  95. SBK_QLOWENERGYCHARACTERISTIC_IDX = 118,
  96. SBK_QLOWENERGYCHARACTERISTICDATA_IDX = 122,
  97. SBK_QLOWENERGYCONNECTIONPARAMETERS_IDX = 124,
  98. SBK_QLOWENERGYCONTROLLER_ERROR_IDX = 130,
  99. SBK_QLOWENERGYCONTROLLER_CONTROLLERSTATE_IDX = 128,
  100. SBK_QLOWENERGYCONTROLLER_REMOTEADDRESSTYPE_IDX = 132,
  101. SBK_QLOWENERGYCONTROLLER_ROLE_IDX = 134,
  102. SBK_QLOWENERGYCONTROLLER_IDX = 126,
  103. SBK_QLOWENERGYDESCRIPTOR_IDX = 136,
  104. SBK_QLOWENERGYDESCRIPTORDATA_IDX = 138,
  105. SBK_QLOWENERGYSERVICE_SERVICETYPE_IDX = 148,
  106. SBK_QFLAGS_QLOWENERGYSERVICE_SERVICETYPE_IDX = 104,
  107. SBK_QLOWENERGYSERVICE_SERVICEERROR_IDX = 144,
  108. SBK_QLOWENERGYSERVICE_SERVICESTATE_IDX = 146,
  109. SBK_QLOWENERGYSERVICE_DISCOVERYMODE_IDX = 142,
  110. SBK_QLOWENERGYSERVICE_WRITEMODE_IDX = 150,
  111. SBK_QLOWENERGYSERVICE_IDX = 140,
  112. SBK_QLOWENERGYSERVICEDATA_SERVICETYPE_IDX = 154,
  113. SBK_QLOWENERGYSERVICEDATA_IDX = 152,
  114. SBK_QTBLUETOOTH_IDX_COUNT = 156,
  115. };
  116. // Type indices
  117. enum : int {
  118. SBK_QBluetooth_Security_IDX = 2,
  119. SBK_QFlags_QBluetooth_Security_IDX = 46,
  120. SBK_QBluetooth_AttAccessConstraint_IDX = 1,
  121. SBK_QFlags_QBluetooth_AttAccessConstraint_IDX = 45,
  122. SBK_QtBluetoothQBluetooth_IDX = 0,
  123. SBK_QBluetoothAddress_IDX = 3,
  124. SBK_QBluetoothDeviceDiscoveryAgent_Error_IDX = 6,
  125. SBK_QBluetoothDeviceDiscoveryAgent_DiscoveryMethod_IDX = 5,
  126. SBK_QFlags_QBluetoothDeviceDiscoveryAgent_DiscoveryMethod_IDX = 47,
  127. SBK_QBluetoothDeviceDiscoveryAgent_IDX = 4,
  128. SBK_QBluetoothDeviceInfo_MajorDeviceClass_IDX = 10,
  129. SBK_QBluetoothDeviceInfo_MinorMiscellaneousClass_IDX = 15,
  130. SBK_QBluetoothDeviceInfo_MinorComputerClass_IDX = 12,
  131. SBK_QBluetoothDeviceInfo_MinorPhoneClass_IDX = 18,
  132. SBK_QBluetoothDeviceInfo_MinorNetworkClass_IDX = 16,
  133. SBK_QBluetoothDeviceInfo_MinorAudioVideoClass_IDX = 11,
  134. SBK_QBluetoothDeviceInfo_MinorPeripheralClass_IDX = 17,
  135. SBK_QBluetoothDeviceInfo_MinorImagingClass_IDX = 14,
  136. SBK_QBluetoothDeviceInfo_MinorWearableClass_IDX = 20,
  137. SBK_QBluetoothDeviceInfo_MinorToyClass_IDX = 19,
  138. SBK_QBluetoothDeviceInfo_MinorHealthClass_IDX = 13,
  139. SBK_QBluetoothDeviceInfo_ServiceClass_IDX = 21,
  140. SBK_QFlags_QBluetoothDeviceInfo_ServiceClass_IDX = 50,
  141. SBK_QBluetoothDeviceInfo_Field_IDX = 9,
  142. SBK_QFlags_QBluetoothDeviceInfo_Field_IDX = 49,
  143. SBK_QBluetoothDeviceInfo_CoreConfiguration_IDX = 8,
  144. SBK_QFlags_QBluetoothDeviceInfo_CoreConfiguration_IDX = 48,
  145. SBK_QBluetoothDeviceInfo_IDX = 7,
  146. SBK_QBluetoothHostInfo_IDX = 22,
  147. SBK_QBluetoothLocalDevice_Pairing_IDX = 26,
  148. SBK_QBluetoothLocalDevice_HostMode_IDX = 25,
  149. SBK_QBluetoothLocalDevice_Error_IDX = 24,
  150. SBK_QBluetoothLocalDevice_IDX = 23,
  151. SBK_QBluetoothServer_Error_IDX = 28,
  152. SBK_QBluetoothServer_IDX = 27,
  153. SBK_QBluetoothServiceDiscoveryAgent_Error_IDX = 31,
  154. SBK_QBluetoothServiceDiscoveryAgent_DiscoveryMode_IDX = 30,
  155. SBK_QBluetoothServiceDiscoveryAgent_IDX = 29,
  156. SBK_QBluetoothServiceInfo_AttributeId_IDX = 34,
  157. SBK_QBluetoothServiceInfo_Protocol_IDX = 35,
  158. SBK_QBluetoothServiceInfo_IDX = 32,
  159. SBK_QBluetoothServiceInfo_Alternative_IDX = 33,
  160. SBK_QBluetoothServiceInfo_Sequence_IDX = 36,
  161. SBK_QBluetoothSocket_SocketState_IDX = 39,
  162. SBK_QBluetoothSocket_SocketError_IDX = 38,
  163. SBK_QBluetoothSocket_IDX = 37,
  164. SBK_QBluetoothUuid_ProtocolUuid_IDX = 43,
  165. SBK_QBluetoothUuid_ServiceClassUuid_IDX = 44,
  166. SBK_QBluetoothUuid_CharacteristicType_IDX = 41,
  167. SBK_QBluetoothUuid_DescriptorType_IDX = 42,
  168. SBK_QBluetoothUuid_IDX = 40,
  169. SBK_QLowEnergyAdvertisingData_Discoverability_IDX = 54,
  170. SBK_QLowEnergyAdvertisingData_IDX = 53,
  171. SBK_QLowEnergyAdvertisingParameters_Mode_IDX = 58,
  172. SBK_QLowEnergyAdvertisingParameters_FilterPolicy_IDX = 57,
  173. SBK_QLowEnergyAdvertisingParameters_IDX = 55,
  174. SBK_QLowEnergyAdvertisingParameters_AddressInfo_IDX = 56,
  175. SBK_QLowEnergyCharacteristic_PropertyType_IDX = 60,
  176. SBK_QFlags_QLowEnergyCharacteristic_PropertyType_IDX = 51,
  177. SBK_QLowEnergyCharacteristic_IDX = 59,
  178. SBK_QLowEnergyCharacteristicData_IDX = 61,
  179. SBK_QLowEnergyConnectionParameters_IDX = 62,
  180. SBK_QLowEnergyController_Error_IDX = 65,
  181. SBK_QLowEnergyController_ControllerState_IDX = 64,
  182. SBK_QLowEnergyController_RemoteAddressType_IDX = 66,
  183. SBK_QLowEnergyController_Role_IDX = 67,
  184. SBK_QLowEnergyController_IDX = 63,
  185. SBK_QLowEnergyDescriptor_IDX = 68,
  186. SBK_QLowEnergyDescriptorData_IDX = 69,
  187. SBK_QLowEnergyService_ServiceType_IDX = 74,
  188. SBK_QFlags_QLowEnergyService_ServiceType_IDX = 52,
  189. SBK_QLowEnergyService_ServiceError_IDX = 72,
  190. SBK_QLowEnergyService_ServiceState_IDX = 73,
  191. SBK_QLowEnergyService_DiscoveryMode_IDX = 71,
  192. SBK_QLowEnergyService_WriteMode_IDX = 75,
  193. SBK_QLowEnergyService_IDX = 70,
  194. SBK_QLowEnergyServiceData_ServiceType_IDX = 77,
  195. SBK_QLowEnergyServiceData_IDX = 76,
  196. SBK_QtBluetooth_IDX_COUNT = 78,
  197. };
  198. // This variable stores all Python types exported by this module.
  199. extern Shiboken::Module::TypeInitStruct *SbkPySide6_QtBluetoothTypeStructs;
  200. // This variable stores all Python types exported by this module in a backwards compatible way with identical indexing.
  201. [[deprecated]] extern PyTypeObject **SbkPySide6_QtBluetoothTypes;
  202. // This variable stores the Python module object exported by this module.
  203. extern PyObject *SbkPySide6_QtBluetoothModuleObject;
  204. // This variable stores all type converters exported by this module.
  205. extern SbkConverter **SbkPySide6_QtBluetoothTypeConverters;
  206. // Converter indices
  207. enum [[deprecated]] : int {
  208. SBK_QTBLUETOOTH_QLIST_INT_IDX = 0, // QList<int>
  209. SBK_QTBLUETOOTH_QLIST_QLOWENERGYCHARACTERISTICDATA_IDX = 1, // QList<QLowEnergyCharacteristicData>
  210. SBK_QTBLUETOOTH_QLIST_QLOWENERGYSERVICEPTR_IDX = 2, // QList<QLowEnergyService*>
  211. SBK_QTBLUETOOTH_QLIST_QLOWENERGYCHARACTERISTIC_IDX = 3, // QList<QLowEnergyCharacteristic>
  212. SBK_QTBLUETOOTH_QLIST_QBLUETOOTHUUID_IDX = 4, // QList<QBluetoothUuid>
  213. SBK_QTBLUETOOTH_QLIST_QLOWENERGYDESCRIPTORDATA_IDX = 5, // QList<QLowEnergyDescriptorData>
  214. SBK_QTBLUETOOTH_QLIST_QLOWENERGYDESCRIPTOR_IDX = 6, // QList<QLowEnergyDescriptor>
  215. SBK_QTBLUETOOTH_QLIST_QLOWENERGYADVERTISINGPARAMETERS_ADDRESSINFO_IDX = 7, // QList<QLowEnergyAdvertisingParameters::AddressInfo>
  216. SBK_QTBLUETOOTH_QLIST_QBLUETOOTHSERVICEINFO_IDX = 8, // QList<QBluetoothServiceInfo>
  217. SBK_QTBLUETOOTH_QLIST_QBLUETOOTHHOSTINFO_IDX = 9, // QList<QBluetoothHostInfo>
  218. SBK_QTBLUETOOTH_QLIST_QBLUETOOTHADDRESS_IDX = 10, // QList<QBluetoothAddress>
  219. SBK_QTBLUETOOTH_QMULTIHASH_QUINT16_QBYTEARRAY_IDX = 11, // QMultiHash<quint16,QByteArray>
  220. SBK_QTBLUETOOTH_QLIST_QUINT16_IDX = 12, // QList<quint16>
  221. SBK_QTBLUETOOTH_QMULTIHASH_QBLUETOOTHUUID_QBYTEARRAY_IDX = 13, // QMultiHash<QBluetoothUuid,QByteArray>
  222. SBK_QTBLUETOOTH_QLIST_QBLUETOOTHDEVICEINFO_IDX = 14, // QList<QBluetoothDeviceInfo>
  223. SBK_QTBLUETOOTH_QLIST_QVARIANT_IDX = 15, // QList<QVariant>
  224. SBK_QTBLUETOOTH_QLIST_QSTRING_IDX = 16, // QList<QString>
  225. SBK_QTBLUETOOTH_QMAP_QSTRING_QVARIANT_IDX = 17, // QMap<QString,QVariant>
  226. SBK_QTBLUETOOTH_CONVERTERS_IDX_COUNT = 18,
  227. };
  228. // Converter indices
  229. enum : int {
  230. SBK_QtBluetooth_QList_int_IDX = 0, // QList<int>
  231. SBK_QtBluetooth_QList_QLowEnergyCharacteristicData_IDX = 1, // QList<QLowEnergyCharacteristicData>
  232. SBK_QtBluetooth_QList_QLowEnergyServicePTR_IDX = 2, // QList<QLowEnergyService*>
  233. SBK_QtBluetooth_QList_QLowEnergyCharacteristic_IDX = 3, // QList<QLowEnergyCharacteristic>
  234. SBK_QtBluetooth_QList_QBluetoothUuid_IDX = 4, // QList<QBluetoothUuid>
  235. SBK_QtBluetooth_QList_QLowEnergyDescriptorData_IDX = 5, // QList<QLowEnergyDescriptorData>
  236. SBK_QtBluetooth_QList_QLowEnergyDescriptor_IDX = 6, // QList<QLowEnergyDescriptor>
  237. SBK_QtBluetooth_QList_QLowEnergyAdvertisingParameters_AddressInfo_IDX = 7, // QList<QLowEnergyAdvertisingParameters::AddressInfo>
  238. SBK_QtBluetooth_QList_QBluetoothServiceInfo_IDX = 8, // QList<QBluetoothServiceInfo>
  239. SBK_QtBluetooth_QList_QBluetoothHostInfo_IDX = 9, // QList<QBluetoothHostInfo>
  240. SBK_QtBluetooth_QList_QBluetoothAddress_IDX = 10, // QList<QBluetoothAddress>
  241. SBK_QtBluetooth_QMultiHash_quint16_QByteArray_IDX = 11, // QMultiHash<quint16,QByteArray>
  242. SBK_QtBluetooth_QList_quint16_IDX = 12, // QList<quint16>
  243. SBK_QtBluetooth_QMultiHash_QBluetoothUuid_QByteArray_IDX = 13, // QMultiHash<QBluetoothUuid,QByteArray>
  244. SBK_QtBluetooth_QList_QBluetoothDeviceInfo_IDX = 14, // QList<QBluetoothDeviceInfo>
  245. SBK_QtBluetooth_QList_QVariant_IDX = 15, // QList<QVariant>
  246. SBK_QtBluetooth_QList_QString_IDX = 16, // QList<QString>
  247. SBK_QtBluetooth_QMap_QString_QVariant_IDX = 17, // QMap<QString,QVariant>
  248. SBK_QtBluetooth_CONVERTERS_IDX_COUNT = 18,
  249. };
  250. // Macros for type check
  251. QT_WARNING_PUSH
  252. QT_WARNING_DISABLE_DEPRECATED
  253. namespace Shiboken
  254. {
  255. // PyType functions, to get the PyObjectType for a type T
  256. template<> inline PyTypeObject *SbkType< ::QBluetooth::Security >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetooth_Security_IDX]); }
  257. template<> inline PyTypeObject *SbkType< ::QFlags<QBluetooth::Security> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QBluetooth_Security_IDX]); }
  258. template<> inline PyTypeObject *SbkType< ::QBluetooth::AttAccessConstraint >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetooth_AttAccessConstraint_IDX]); }
  259. template<> inline PyTypeObject *SbkType< ::QFlags<QBluetooth::AttAccessConstraint> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QBluetooth_AttAccessConstraint_IDX]); }
  260. template<> inline PyTypeObject *SbkType< ::QBluetoothAddress >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothAddress_IDX]); }
  261. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceDiscoveryAgent::Error >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceDiscoveryAgent_Error_IDX]); }
  262. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceDiscoveryAgent::DiscoveryMethod >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceDiscoveryAgent_DiscoveryMethod_IDX]); }
  263. template<> inline PyTypeObject *SbkType< ::QFlags<QBluetoothDeviceDiscoveryAgent::DiscoveryMethod> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QBluetoothDeviceDiscoveryAgent_DiscoveryMethod_IDX]); }
  264. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceDiscoveryAgent >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceDiscoveryAgent_IDX]); }
  265. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MajorDeviceClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MajorDeviceClass_IDX]); }
  266. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorMiscellaneousClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorMiscellaneousClass_IDX]); }
  267. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorComputerClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorComputerClass_IDX]); }
  268. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorPhoneClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorPhoneClass_IDX]); }
  269. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorNetworkClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorNetworkClass_IDX]); }
  270. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorAudioVideoClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorAudioVideoClass_IDX]); }
  271. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorPeripheralClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorPeripheralClass_IDX]); }
  272. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorImagingClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorImagingClass_IDX]); }
  273. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorWearableClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorWearableClass_IDX]); }
  274. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorToyClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorToyClass_IDX]); }
  275. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::MinorHealthClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_MinorHealthClass_IDX]); }
  276. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::ServiceClass >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_ServiceClass_IDX]); }
  277. template<> inline PyTypeObject *SbkType< ::QFlags<QBluetoothDeviceInfo::ServiceClass> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QBluetoothDeviceInfo_ServiceClass_IDX]); }
  278. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::Field >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_Field_IDX]); }
  279. template<> inline PyTypeObject *SbkType< ::QFlags<QBluetoothDeviceInfo::Field> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QBluetoothDeviceInfo_Field_IDX]); }
  280. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo::CoreConfiguration >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_CoreConfiguration_IDX]); }
  281. template<> inline PyTypeObject *SbkType< ::QFlags<QBluetoothDeviceInfo::CoreConfiguration> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QBluetoothDeviceInfo_CoreConfiguration_IDX]); }
  282. template<> inline PyTypeObject *SbkType< ::QBluetoothDeviceInfo >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothDeviceInfo_IDX]); }
  283. template<> inline PyTypeObject *SbkType< ::QBluetoothHostInfo >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothHostInfo_IDX]); }
  284. template<> inline PyTypeObject *SbkType< ::QBluetoothLocalDevice::Pairing >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothLocalDevice_Pairing_IDX]); }
  285. template<> inline PyTypeObject *SbkType< ::QBluetoothLocalDevice::HostMode >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothLocalDevice_HostMode_IDX]); }
  286. template<> inline PyTypeObject *SbkType< ::QBluetoothLocalDevice::Error >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothLocalDevice_Error_IDX]); }
  287. template<> inline PyTypeObject *SbkType< ::QBluetoothLocalDevice >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothLocalDevice_IDX]); }
  288. template<> inline PyTypeObject *SbkType< ::QBluetoothServer::Error >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServer_Error_IDX]); }
  289. template<> inline PyTypeObject *SbkType< ::QBluetoothServer >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServer_IDX]); }
  290. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceDiscoveryAgent::Error >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceDiscoveryAgent_Error_IDX]); }
  291. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceDiscoveryAgent::DiscoveryMode >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceDiscoveryAgent_DiscoveryMode_IDX]); }
  292. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceDiscoveryAgent >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceDiscoveryAgent_IDX]); }
  293. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceInfo::AttributeId >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceInfo_AttributeId_IDX]); }
  294. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceInfo::Protocol >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceInfo_Protocol_IDX]); }
  295. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceInfo >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceInfo_IDX]); }
  296. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceInfo::Alternative >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceInfo_Alternative_IDX]); }
  297. template<> inline PyTypeObject *SbkType< ::QBluetoothServiceInfo::Sequence >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothServiceInfo_Sequence_IDX]); }
  298. template<> inline PyTypeObject *SbkType< ::QBluetoothSocket::SocketState >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothSocket_SocketState_IDX]); }
  299. template<> inline PyTypeObject *SbkType< ::QBluetoothSocket::SocketError >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothSocket_SocketError_IDX]); }
  300. template<> inline PyTypeObject *SbkType< ::QBluetoothSocket >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothSocket_IDX]); }
  301. template<> inline PyTypeObject *SbkType< ::QBluetoothUuid::ProtocolUuid >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothUuid_ProtocolUuid_IDX]); }
  302. template<> inline PyTypeObject *SbkType< ::QBluetoothUuid::ServiceClassUuid >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothUuid_ServiceClassUuid_IDX]); }
  303. template<> inline PyTypeObject *SbkType< ::QBluetoothUuid::CharacteristicType >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothUuid_CharacteristicType_IDX]); }
  304. template<> inline PyTypeObject *SbkType< ::QBluetoothUuid::DescriptorType >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothUuid_DescriptorType_IDX]); }
  305. template<> inline PyTypeObject *SbkType< ::QBluetoothUuid >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QBluetoothUuid_IDX]); }
  306. template<> inline PyTypeObject *SbkType< ::QLowEnergyAdvertisingData::Discoverability >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyAdvertisingData_Discoverability_IDX]); }
  307. template<> inline PyTypeObject *SbkType< ::QLowEnergyAdvertisingData >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyAdvertisingData_IDX]); }
  308. template<> inline PyTypeObject *SbkType< ::QLowEnergyAdvertisingParameters::Mode >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyAdvertisingParameters_Mode_IDX]); }
  309. template<> inline PyTypeObject *SbkType< ::QLowEnergyAdvertisingParameters::FilterPolicy >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyAdvertisingParameters_FilterPolicy_IDX]); }
  310. template<> inline PyTypeObject *SbkType< ::QLowEnergyAdvertisingParameters >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyAdvertisingParameters_IDX]); }
  311. template<> inline PyTypeObject *SbkType< ::QLowEnergyAdvertisingParameters::AddressInfo >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyAdvertisingParameters_AddressInfo_IDX]); }
  312. template<> inline PyTypeObject *SbkType< ::QLowEnergyCharacteristic::PropertyType >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyCharacteristic_PropertyType_IDX]); }
  313. template<> inline PyTypeObject *SbkType< ::QFlags<QLowEnergyCharacteristic::PropertyType> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QLowEnergyCharacteristic_PropertyType_IDX]); }
  314. template<> inline PyTypeObject *SbkType< ::QLowEnergyCharacteristic >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyCharacteristic_IDX]); }
  315. template<> inline PyTypeObject *SbkType< ::QLowEnergyCharacteristicData >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyCharacteristicData_IDX]); }
  316. template<> inline PyTypeObject *SbkType< ::QLowEnergyConnectionParameters >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyConnectionParameters_IDX]); }
  317. template<> inline PyTypeObject *SbkType< ::QLowEnergyController::Error >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyController_Error_IDX]); }
  318. template<> inline PyTypeObject *SbkType< ::QLowEnergyController::ControllerState >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyController_ControllerState_IDX]); }
  319. template<> inline PyTypeObject *SbkType< ::QLowEnergyController::RemoteAddressType >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyController_RemoteAddressType_IDX]); }
  320. template<> inline PyTypeObject *SbkType< ::QLowEnergyController::Role >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyController_Role_IDX]); }
  321. template<> inline PyTypeObject *SbkType< ::QLowEnergyController >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyController_IDX]); }
  322. template<> inline PyTypeObject *SbkType< ::QLowEnergyDescriptor >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyDescriptor_IDX]); }
  323. template<> inline PyTypeObject *SbkType< ::QLowEnergyDescriptorData >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyDescriptorData_IDX]); }
  324. template<> inline PyTypeObject *SbkType< ::QLowEnergyService::ServiceType >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyService_ServiceType_IDX]); }
  325. template<> inline PyTypeObject *SbkType< ::QFlags<QLowEnergyService::ServiceType> >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QFlags_QLowEnergyService_ServiceType_IDX]); }
  326. template<> inline PyTypeObject *SbkType< ::QLowEnergyService::ServiceError >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyService_ServiceError_IDX]); }
  327. template<> inline PyTypeObject *SbkType< ::QLowEnergyService::ServiceState >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyService_ServiceState_IDX]); }
  328. template<> inline PyTypeObject *SbkType< ::QLowEnergyService::DiscoveryMode >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyService_DiscoveryMode_IDX]); }
  329. template<> inline PyTypeObject *SbkType< ::QLowEnergyService::WriteMode >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyService_WriteMode_IDX]); }
  330. template<> inline PyTypeObject *SbkType< ::QLowEnergyService >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyService_IDX]); }
  331. template<> inline PyTypeObject *SbkType< ::QLowEnergyServiceData::ServiceType >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyServiceData_ServiceType_IDX]); }
  332. template<> inline PyTypeObject *SbkType< ::QLowEnergyServiceData >() { return Shiboken::Module::get(SbkPySide6_QtBluetoothTypeStructs[SBK_QLowEnergyServiceData_IDX]); }
  333. } // namespace Shiboken
  334. QT_WARNING_POP
  335. #endif // SBK_QTBLUETOOTH_PYTHON_H