summaryrefslogtreecommitdiff
path: root/libsowatch/declarativewatchwrapper.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-12-03 00:00:07 +0100
committerJavier S. Pedro <maemo@javispedro.com>2011-12-03 00:00:07 +0100
commitcbf8e3ad49917dc71e8c5f6413c55f266c1c4ad3 (patch)
tree0c377c57192afdde1f5bf9ea7af5ce9f3fe25a03 /libsowatch/declarativewatchwrapper.h
parentd5b5cfc83e1247ebc18ef2024f07bdd37d41164b (diff)
downloadsowatch-cbf8e3ad49917dc71e8c5f6413c55f266c1c4ad3.tar.gz
sowatch-cbf8e3ad49917dc71e8c5f6413c55f266c1c4ad3.zip
change the way buttons work in declarativewatchlets
Diffstat (limited to 'libsowatch/declarativewatchwrapper.h')
-rw-r--r--libsowatch/declarativewatchwrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsowatch/declarativewatchwrapper.h b/libsowatch/declarativewatchwrapper.h
index 8d4fd7d..5a827ab 100644
--- a/libsowatch/declarativewatchwrapper.h
+++ b/libsowatch/declarativewatchwrapper.h
@@ -28,6 +28,7 @@ public:
QList<QObject*> notifications() const;
public slots:
+ void useButton(int button);
void vibrate(int msecs);
signals:
@@ -41,6 +42,7 @@ private:
WatchServer *_server;
Watch* _watch;
bool _active;
+ QSet<int> _usedButtons;
void activate();
void deactivate();