diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-18 04:26:20 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-18 04:26:20 +0200 |
commit | c42d5abff1f5f51facc169dd593725d819c4c868 (patch) | |
tree | 9aa8bdef88bf89561c7726948541a1ba3906b81e /libsowatch/watchserver.h | |
parent | f225345d4de3b198a557fe3566f9630163e76d51 (diff) | |
download | sowatch-c42d5abff1f5f51facc169dd593725d819c4c868.tar.gz sowatch-c42d5abff1f5f51facc169dd593725d819c4c868.zip |
separation into lib and plugins complete
Diffstat (limited to 'libsowatch/watchserver.h')
-rw-r--r-- | libsowatch/watchserver.h | 9 |
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; |