diff options
author | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2014-11-07 13:09:10 +0100 |
---|---|---|
committer | Timur Pocheptsov <Timur.Pocheptsov@digia.com> | 2014-11-12 09:24:02 +0100 |
commit | be5883540fe61123da3fb39dd39cfd34eec442b8 (patch) | |
tree | 8f49f72be6a7cd1e2ffbf8e441e2a3a7244bee24 /src/bluetooth/qlowenergycontroller_p.h | |
parent | d2c2e502dcee44d06eb0b0ad392571d7bc3021bf (diff) |
QLowEnergyController - version for OS X and iOS
QLowEnergyController/Private for OS X and iOS.
This patch contains dummy empty classes required.
While LE controller is not fully implemented, I have to
disable (marking as insignificant) auto test on this class,
otherwise changing the (empty) class to pass the test adds more problem.
Change-Id: I54f764f7f6468b1acf58e80555ae454922de9f3b
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.h')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_p.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.h b/src/bluetooth/qlowenergycontroller_p.h index 6a72fa6c..1ffeb6b6 100644 --- a/src/bluetooth/qlowenergycontroller_p.h +++ b/src/bluetooth/qlowenergycontroller_p.h @@ -34,6 +34,24 @@ #ifndef QLOWENERGYCONTROLLERPRIVATE_P_H #define QLOWENERGYCONTROLLERPRIVATE_P_H +#if defined(QT_OSX_BLUETOOTH) || defined(QT_IOS_BLUETOOTH) + +#include <QtCore/qglobal.h> +#include <QtCore/qobject.h> + +QT_BEGIN_NAMESPACE + +class QLowEnergyControllerPrivate : public QObject +{ +public: + // This class is required to make shared pointer machinery and + // moc (== Obj-C syntax) happy on both OS X and iOS. +}; + +QT_END_NAMESPACE + +#else + #include <qglobal.h> #include <QtCore/QQueue> #include <QtBluetooth/qbluetooth.h> @@ -195,4 +213,6 @@ private: QT_END_NAMESPACE +#endif // QT_OSX_BLUETOOTH || QT_IOS_BLUETOOTH + #endif // QLOWENERGYCONTROLLERPRIVATE_P_H |