summaryrefslogtreecommitdiff
path: root/daemon/watchcommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/watchcommands.h')
-rw-r--r--daemon/watchcommands.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/daemon/watchcommands.h b/daemon/watchcommands.h
new file mode 100644
index 0000000..ee58cbe
--- /dev/null
+++ b/daemon/watchcommands.h
@@ -0,0 +1,25 @@
+#ifndef WATCHCOMMANDS_H
+#define WATCHCOMMANDS_H
+
+#include "watchconnector.h"
+
+#include <QObject>
+
+class WatchCommands : public QObject
+{
+ Q_OBJECT
+
+ watch::WatchConnector *watch;
+
+public:
+ explicit WatchCommands(watch::WatchConnector *watch, QObject *parent = 0);
+
+signals:
+ void hangup();
+
+public slots:
+ void processMessage(uint endpoint, uint datalen, QByteArray data);
+
+};
+
+#endif // WATCHCOMMANDS_H