summaryrefslogtreecommitdiff
path: root/sowatchd/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchd/daemon.h')
-rw-r--r--sowatchd/daemon.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sowatchd/daemon.h b/sowatchd/daemon.h
index 9346a41..607e887 100644
--- a/sowatchd/daemon.h
+++ b/sowatchd/daemon.h
@@ -4,6 +4,7 @@
#include <QtCore/QObject>
#include <QtCore/QList>
#include <QtCore/QMap>
+#include <QtCore/QSettings>
#include <sowatch.h>
@@ -18,11 +19,15 @@ public:
protected:
QMap<QString, WatchPluginInterface*> _drivers;
- QList<Watch*> _watches;
+ QMap<QString, NotificationPluginInterface*> _providers;
+ QList<WatchServer*> _servers;
void loadDrivers();
- void loadWatches();
+ void loadProviders();
void loadWatchlets();
+
+ void initWatches();
+ void initWatch(Watch* watch, QSettings& settings);
};
}