diff options
| author | Javier <dev.git@javispedro.com> | 2014-12-01 02:21:30 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2014-12-01 02:21:30 +0100 |
| commit | 1e3794c476caf5c41360c36cc13c8425ec0dd26c (patch) | |
| tree | f86693c5e17671f821871f95e462f299170277e0 /daemon/jskitmanager.h | |
| parent | cf405034b49e5e8ba7a8d22522878c8834b8d4ae (diff) | |
implement message passing around jskit apps and watch
Diffstat (limited to 'daemon/jskitmanager.h')
| -rw-r--r-- | daemon/jskitmanager.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon/jskitmanager.h b/daemon/jskitmanager.h index f25a96f..d09bf54 100644 --- a/daemon/jskitmanager.h +++ b/daemon/jskitmanager.h @@ -6,6 +6,7 @@ #include "appmsgmanager.h" class JSKitPebble; +class JSKitConsole; class JSKitLocalStorage; class JSKitManager : public QObject @@ -18,12 +19,14 @@ public: ~JSKitManager(); signals: + void appNotification(const QUuid &uuid, const QString &title, const QString &body); public slots: private slots: void handleAppStarted(const QUuid &uuid); void handleAppStopped(const QUuid &uuid); + void handleAppMessage(const QUuid &uuid, const QVariantMap &data); private: void startJsApp(); @@ -37,8 +40,8 @@ private: AppInfo _curApp; QJSEngine *_engine; QPointer<JSKitPebble> _jspebble; + QPointer<JSKitConsole> _jsconsole; QPointer<JSKitLocalStorage> _jsstorage; - }; #endif // JSKITMANAGER_H |
