summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceinfo_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-07-18 14:01:10 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-07-23 11:02:30 +0200
commit6ee2c7a095e1408000b02e1f3e1c4bab9359123d (patch)
tree48d244fb58482c2abc69bc7fd42fc512c52e76ba /src/bluetooth/qlowenergyserviceinfo_p.h
parentd5731113e912e0df17f19fcdb12b4b6b68256220 (diff)
Further cleanup QLowEnergyServiceInfo
Removes obsolte code from the previos GATT API and other API elements which do not make any sense under the new API anymore. The entire purpose of QLowEnergyServiceInfo is also in question as it doesn't really contain BTLE specifics when compared to QBluetoothServiceInfo. This requires further API evaluation. Change-Id: Idfce724bb58150839f756745b87864054909dedb Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceinfo_p.h')
-rw-r--r--src/bluetooth/qlowenergyserviceinfo_p.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/bluetooth/qlowenergyserviceinfo_p.h b/src/bluetooth/qlowenergyserviceinfo_p.h
index fcdb0555..6d1d3c73 100644
--- a/src/bluetooth/qlowenergyserviceinfo_p.h
+++ b/src/bluetooth/qlowenergyserviceinfo_p.h
@@ -1,6 +1,7 @@
/***************************************************************************
**
** Copyright (C) 2013 BlackBerry Limited all rights reserved
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtBluetooth module of the Qt Toolkit.
@@ -41,39 +42,15 @@
#ifndef QLOWENERGYSERVICEINFO_P_H
#define QLOWENERGYSERVICEINFO_P_H
-#include "qbluetoothuuid.h"
#include "qlowenergyserviceinfo.h"
-#include <QPointer>
QT_BEGIN_NAMESPACE
-class QBluetoothUuid;
-class QLowEnergyServiceInfo;
-
class QLowEnergyServiceInfoPrivate
{
- friend class QLowEnergyControllerPrivate;
-
public:
- QLowEnergyServiceInfoPrivate();
- ~QLowEnergyServiceInfoPrivate();
-
QBluetoothUuid uuid;
-
- QLowEnergyServiceInfo::ServiceType serviceType;
- bool connected;
QBluetoothDeviceInfo deviceInfo;
-#if defined(QT_BLUEZ_BLUETOOTH) && !defined(QT_BLUEZ_NO_BTLE)
- QString startingHandle;
- QString endingHandle;
-#endif
-
-private:
-#if defined(QT_BLUEZ_BLUETOOTH) && !defined(QT_BLUEZ_NO_BTLE)
- int m_step;
- int m_valueCounter;
- int m_readCounter;
-#endif
};
QT_END_NAMESPACE