summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-06 01:11:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-06 01:11:40 +0200
commitd83093df7602aa2896de71292b47948540c22a44 (patch)
tree5f0b2c86f8a75124aaa4ae03547ec8b9f4bc4376 /libsowatch/watchserver.h
parent12cf6df3f1c90c6ccbab398f0ae03c946e4af638 (diff)
downloadsowatch-d83093df7602aa2896de71292b47948540c22a44.tar.gz
sowatch-d83093df7602aa2896de71292b47948540c22a44.zip
metawatch watchface in QML still a work in progress
Diffstat (limited to 'libsowatch/watchserver.h')
-rw-r--r--libsowatch/watchserver.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libsowatch/watchserver.h b/libsowatch/watchserver.h
index eafee7a..cc6c548 100644
--- a/libsowatch/watchserver.h
+++ b/libsowatch/watchserver.h
@@ -56,9 +56,15 @@ public slots:
void postNotification(Notification *notification);
void nextNotification();
+ /** Run the selected watchlet (set it as active, but not as current). */
void runWatchlet(Watchlet* watchlet);
- void runWatchlet(const QString& id);
+ /** Run the selected watchlet and set it as the current.
+ If the watch is disconnected, a notification arrives, etc. */
+ void openWatchlet(Watchlet* watchlet);
+ void openWatchlet(const QString& id);
+ /** Close the active watchlet (and return back to the current watc) */
void closeWatchlet();
+ /** Close the active watchlet, advance the current watchlet carousel and open it */
void nextWatchlet();
void syncTime();