diff options
Diffstat (limited to 'watchserver.h')
-rw-r--r-- | watchserver.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/watchserver.h b/watchserver.h deleted file mode 100644 index 78454d4..0000000 --- a/watchserver.h +++ /dev/null @@ -1,46 +0,0 @@ -#ifndef WATCHSERVER_H -#define WATCHSERVER_H - -#include <QtCore/QObject> -#include <QtCore/QMap> - -namespace sowatch -{ - -class Watch; -class Watchlet; - -class WatchServer : public QObject -{ - Q_OBJECT - Q_PROPERTY(Watch* watch READ watch) -public: - explicit WatchServer(Watch* watch, QObject* parent = 0); - - Watch* watch(); - - void runWatchlet(const QString& id); - void closeWatchlet(); - -signals: - -public slots: - -protected: - Watch* _watch; - Watchlet* _currentWatchlet; - - QMap<QString, Watchlet*> watchlets; - - void registerWatchlet(Watchlet *watchlet); - -protected slots: - void watchConnected(); - void watchDisconnected(); - -friend class Watchlet; -}; - -} - -#endif // WATCHSERVER_H |