From 140c6bfafe91007c7e24ebf59270c8ad8060e875 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 9 Dec 2011 02:26:31 +0100 Subject: 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. --- metawatch/metawatch.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'metawatch/metawatch.h') diff --git a/metawatch/metawatch.h b/metawatch/metawatch.h index 7ea835f..5a42b8d 100644 --- a/metawatch/metawatch.h +++ b/metawatch/metawatch.h @@ -26,6 +26,10 @@ public: explicit MetaWatch(const QBluetoothAddress& address, QSettings* settings = 0, QObject *parent = 0); ~MetaWatch(); + static const int DelayBetweenMessages = 10; + static const int DelayBetweenRings = 2500; + static const int RingLength = 500; + enum MessageType { NoMessage = 0, GetDeviceType = 0x01, @@ -109,9 +113,6 @@ public: void queryCharging(); bool charging() const; - void grabButton(int button); - void ungrabButton(int button); - void updateNotificationCount(Notification::Type type, int count); void updateWeather(WeatherNotification *weather); -- cgit v1.2.3