summaryrefslogtreecommitdiff
path: root/qmafwwatchlet/qmafwwatchlet.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmafwwatchlet/qmafwwatchlet.h')
-rw-r--r--qmafwwatchlet/qmafwwatchlet.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/qmafwwatchlet/qmafwwatchlet.h b/qmafwwatchlet/qmafwwatchlet.h
new file mode 100644
index 0000000..d3c2bd2
--- /dev/null
+++ b/qmafwwatchlet/qmafwwatchlet.h
@@ -0,0 +1,30 @@
+#ifndef QMAFWWATCHLET_H
+#define QMAFWWATCHLET_H
+
+#include <sowatch.h>
+
+#include <MafwRegistry.h>
+
+namespace sowatch
+{
+
+class QMafwWatchletPlayer;
+
+class QMafwWatchlet : public DeclarativeWatchlet
+{
+ Q_OBJECT
+public:
+ explicit QMafwWatchlet(WatchServer* server);
+
+private:
+ MafwRegistry* _registry;
+ QMafwWatchletPlayer* _player;
+
+private slots:
+ void handleRendererAdded(const QString & uuid);
+ void handleRendererRemoved(const QString & uuid);
+};
+
+}
+
+#endif // QMAFWWATCHLET_H