summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-04 05:02:50 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-04 05:02:50 +0100
commit50b5c0ab8de1a6fdd81a8bdfac992d2978c07832 (patch)
tree18d97268bae541dbee1288e9eb17b6dba87b0b11 /libsowatch/watchserver.h
parent105e48fcb2e8498a383447ac60f31677d2bb1b7d (diff)
downloadsowatch-50b5c0ab8de1a6fdd81a8bdfac992d2978c07832.tar.gz
sowatch-50b5c0ab8de1a6fdd81a8bdfac992d2978c07832.zip
properly send deactivation signals
if a notification arrives in application mode
Diffstat (limited to 'libsowatch/watchserver.h')
-rw-r--r--libsowatch/watchserver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libsowatch/watchserver.h b/libsowatch/watchserver.h
index 523efd5..d73b56b 100644
--- a/libsowatch/watchserver.h
+++ b/libsowatch/watchserver.h
@@ -71,10 +71,12 @@ private:
/** Current watchlet. */
Watchlet* _currentWatchlet;
+ /** Is the current watchlet active? */
+ bool _currentWatchletActive;
/** The current watchlet index if any, for use by nextWatchlet() */
int _currentWatchletIndex;
- /** Used for periodic time syncing. */
+ /** Used for periodic watch time syncing. */
QTimer* _syncTimeTimer;
/** Called by Watchlet constructor to register itself as a child. */
@@ -83,6 +85,7 @@ private:
/** Counts all notifications from a given type. */
uint getNotificationCount(Notification::Type type);
+ void deactivateCurrentWatchlet();
void reactivateCurrentWatchlet();
void goToIdle();