summaryrefslogtreecommitdiff
path: root/sysinfowatchlet/sysinfoplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysinfowatchlet/sysinfoplugin.h')
-rw-r--r--sysinfowatchlet/sysinfoplugin.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysinfowatchlet/sysinfoplugin.h b/sysinfowatchlet/sysinfoplugin.h
new file mode 100644
index 0000000..4e24b9e
--- /dev/null
+++ b/sysinfowatchlet/sysinfoplugin.h
@@ -0,0 +1,24 @@
+#ifndef CKITCALLPLUGIN_H
+#define CKITCALLPLUGIN_H
+
+#include <sowatch.h>
+
+namespace sowatch
+{
+
+class SysInfoPlugin : public QObject, public WatchletPluginInterface
+{
+ Q_OBJECT
+ Q_INTERFACES(sowatch::WatchletPluginInterface)
+
+public:
+ SysInfoPlugin(QObject *parent = 0);
+ ~SysInfoPlugin();
+
+ QStringList watchlets();
+ Watchlet* getWatchlet(const QString& driver, QSettings& settings, WatchServer* server);
+};
+
+}
+
+#endif // CKITCALLPLUGIN_H