diff options
| author | Philipp Andreas <github@smurfy.de> | 2014-07-12 20:30:08 +0200 |
|---|---|---|
| committer | Philipp Andreas <github@smurfy.de> | 2014-07-12 20:30:08 +0200 |
| commit | 7abf6f3b40ddbb64de86cb56684d710a06c9a882 (patch) | |
| tree | 20d6d94ea593863ecddb6c39bc5e764dcd6fb3c5 /daemon/watchconnector.h | |
| parent | 84e775d768f0675ee733132b3762db647f1409ac (diff) | |
Adding support for PHONE_VERSION endpoint.
Diffstat (limited to 'daemon/watchconnector.h')
| -rw-r--r-- | daemon/watchconnector.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h index 36d0936..39e898a 100644 --- a/daemon/watchconnector.h +++ b/daemon/watchconnector.h @@ -85,6 +85,29 @@ public: callSTART = 8, callEND = 9 }; + enum { + sessionCapGAMMA_RAY = 0x80000000 + }; + enum { + remoteCapTELEPHONY = 16, + remoteCapSMS = 32, + remoteCapGPS = 64, + remoteCapBTLE = 128, + remoteCapCAMERA_REAR = 256, + remoteCapACCEL = 512, + remoteCapGYRO = 1024, + remoteCapCOMPASS = 2048 + }; + enum { + osUNKNOWN = 0, + osIOS = 1, + osANDROID = 2, + osOSX = 3, + osLINUX = 4, + osWINDOWS = 5 + }; + + explicit WatchConnector(QObject *parent = 0); virtual ~WatchConnector(); bool isConnected() const { return is_connected; } @@ -106,6 +129,7 @@ public slots: void sendNotification(unsigned int lead, QString sender, QString data, QString subject); void sendSMSNotification(QString sender, QString data); void sendEmailNotification(QString sender, QString data, QString subject); + void sendPhoneVersion(); void buildData(QByteArray &res, QStringList data); QByteArray buildMessageData(unsigned int lead, QStringList data); |
