From 50b5c0ab8de1a6fdd81a8bdfac992d2978c07832 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Wed, 4 Jan 2012 05:02:50 +0100 Subject: properly send deactivation signals if a notification arrives in application mode --- libsowatch/watchserver.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libsowatch/watchserver.h') 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(); -- cgit v1.2.3