summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchserver.h')
-rw-r--r--libsowatch/watchserver.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libsowatch/watchserver.h b/libsowatch/watchserver.h
index 78454d4..f8bed67 100644
--- a/libsowatch/watchserver.h
+++ b/libsowatch/watchserver.h
@@ -4,16 +4,20 @@
#include <QtCore/QObject>
#include <QtCore/QMap>
+#include "sowatch_global.h"
+
namespace sowatch
{
class Watch;
class Watchlet;
+class Notification;
-class WatchServer : public QObject
+class SOWATCH_EXPORT WatchServer : public QObject
{
Q_OBJECT
- Q_PROPERTY(Watch* watch READ watch)
+ Q_PROPERTY(Watch* watch READ watch CONSTANT)
+
public:
explicit WatchServer(Watch* watch, QObject* parent = 0);
@@ -25,6 +29,7 @@ public:
signals:
public slots:
+ void notification(const Notification& n);
protected:
Watch* _watch;