diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-12-09 02:26:31 +0100 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-12-09 02:26:31 +0100 |
commit | 140c6bfafe91007c7e24ebf59270c8ad8060e875 (patch) | |
tree | 59c23a95edb83736fb914ade8fc287c5490528fd /libsowatch/watch.h | |
parent | cbf8e3ad49917dc71e8c5f6413c55f266c1c4ad3 (diff) | |
download | sowatch-140c6bfafe91007c7e24ebf59270c8ad8060e875.tar.gz sowatch-140c6bfafe91007c7e24ebf59270c8ad8060e875.zip |
Removing the entire grabButton/ungrab mechanism
Applications&server no longer have to grab/ungrab buttons.
Also, LED button should now work everywhere in digital MetaWatch.
Diffstat (limited to 'libsowatch/watch.h')
-rw-r--r-- | libsowatch/watch.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libsowatch/watch.h b/libsowatch/watch.h index eb572eb..60a66bd 100644 --- a/libsowatch/watch.h +++ b/libsowatch/watch.h @@ -55,11 +55,6 @@ public: virtual void queryCharging() = 0; virtual bool charging() const = 0; - /** Grabs a button from whatever is default function is for the current mode. */ - virtual void grabButton(int button) = 0; - /** Restores a button to its default function. */ - virtual void ungrabButton(int button) = 0; - /** Tells the watch to update the unread notifications count, if visible. */ virtual void updateNotificationCount(Notification::Type type, int count) = 0; @@ -71,7 +66,7 @@ public slots: virtual void displayIdleScreen() = 0; /** A standard notification; it's up to the watch when to stop showing it. */ virtual void displayNotification(Notification* notification) = 0; - /** Enter application mode. */ + /** Enter application mode; after this, server can draw on the QPaintDevice. */ virtual void displayApplication() = 0; /** Vibrate for a while. The default implementation does nothing. */ |