diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-13 04:09:47 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-13 04:09:47 +0200 |
| commit | e99e0f6d456e86be244ed3baa022088ec859944a (patch) | |
| tree | 4096f0986fbf0afe01841857447f729ac7898156 /daemon/watchconnector.h | |
| parent | 6d6178cca884f563396856d59eba4813b2eb2686 (diff) | |
Implemented WatchConnector::sendMusicNowPlaying
Diffstat (limited to 'daemon/watchconnector.h')
| -rw-r--r-- | daemon/watchconnector.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h index 39e898a..f4059e3 100644 --- a/daemon/watchconnector.h +++ b/daemon/watchconnector.h @@ -71,6 +71,7 @@ public: watchNOTIFICATION = 3000, watchRESOURCE = 4000, watchAPP_MANAGER = 6000, + watchDATA_LOGGING = 6778, watchSCREENSHOT = 8000, watchPUTBYTES = 48879 }; @@ -86,6 +87,22 @@ public: callEND = 9 }; enum { + musicPLAY_PAUSE = 1, + musicPAUSE = 2, + musicPLAY = 3, + musicNEXT = 4, + musicPREVIOUS = 5, + musicVOLUME_UP = 6, + musicVOLUME_DOWN = 7, + musicGET_NOW_PLAYING = 8, + musicSEND_NOW_PLAYING = 9 + }; + enum { + leadEMAIL = 0, + leadSMS = 1, + leadNOW_PLAYING_DATA = 16 + }; + enum { sessionCapGAMMA_RAY = 0x80000000 }; enum { @@ -129,6 +146,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 sendMusicNowPlaying(QString track, QString album, QString artist); void sendPhoneVersion(); void buildData(QByteArray &res, QStringList data); |
