summaryrefslogtreecommitdiff
path: root/qmapwatchlet/qmapwatchletplugin.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-09-27 20:22:49 +0200
committerJavier S. Pedro <maemo@javispedro.com>2011-09-27 20:22:49 +0200
commit64662ecc6ea6b5296ea77d83eac6eb1372afac01 (patch)
treec32745b57e9f65c9aff83717ea930de06c853577 /qmapwatchlet/qmapwatchletplugin.h
parent754d02ae6f8d19e64a36cee970a7e364b5b295de (diff)
downloadsowatch-64662ecc6ea6b5296ea77d83eac6eb1372afac01.tar.gz
sowatch-64662ecc6ea6b5296ea77d83eac6eb1372afac01.zip
new crappy map watchlet
Diffstat (limited to 'qmapwatchlet/qmapwatchletplugin.h')
-rw-r--r--qmapwatchlet/qmapwatchletplugin.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/qmapwatchlet/qmapwatchletplugin.h b/qmapwatchlet/qmapwatchletplugin.h
new file mode 100644
index 0000000..e594209
--- /dev/null
+++ b/qmapwatchlet/qmapwatchletplugin.h
@@ -0,0 +1,24 @@
+#ifndef QMAPWATCHLETPLUGIN_H
+#define QMAPWATCHLETPLUGIN_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class QMapWatchletPlugin : public QObject, public WatchletPluginInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(sowatch::WatchletPluginInterface)
+
+public:
+ explicit QMapWatchletPlugin(QObject *parent = 0);
+ ~QMapWatchletPlugin();
+
+ QStringList watchlets();
+ Watchlet* getWatchlet(const QString& driver, QSettings& settings, WatchServer* server);
+};
+
+}
+
+#endif // QMAPWATCHLETPLUGIN_H