summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.h
diff options
context:
space:
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();