From e99e0f6d456e86be244ed3baa022088ec859944a Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Sun, 13 Jul 2014 04:09:47 +0200 Subject: Implemented WatchConnector::sendMusicNowPlaying --- daemon/watchconnector.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'daemon/watchconnector.h') 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 }; @@ -85,6 +86,22 @@ public: callSTART = 8, 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 }; @@ -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); -- cgit v1.2.3