diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-17 02:29:28 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-17 02:29:28 +0200 |
commit | 9c44782c5eab5635ca6adf4717409bf2ffb6c694 (patch) | |
tree | 99f774bccb6e964864168b346155bbd5a52bf3b2 /nekowatchlet/nekowatchletplugin.h | |
parent | f9ac9d207025fb8d40d1be753cde78beb77aa202 (diff) | |
download | sowatch-9c44782c5eab5635ca6adf4717409bf2ffb6c694.tar.gz sowatch-9c44782c5eab5635ca6adf4717409bf2ffb6c694.zip |
new nekowatchlet and minor graphics/performance changes
Diffstat (limited to 'nekowatchlet/nekowatchletplugin.h')
-rw-r--r-- | nekowatchlet/nekowatchletplugin.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nekowatchlet/nekowatchletplugin.h b/nekowatchlet/nekowatchletplugin.h new file mode 100644 index 0000000..f7f1bdf --- /dev/null +++ b/nekowatchlet/nekowatchletplugin.h @@ -0,0 +1,25 @@ +#ifndef NEKOWATCHLETPLUGIN_H +#define NEKOWATCHLETPLUGIN_H + +#include <sowatch.h> + +namespace sowatch +{ + +class NekoWatchletPlugin : public QObject, public WatchletPluginInterface +{ + Q_OBJECT + Q_INTERFACES(sowatch::WatchletPluginInterface) + +public: + explicit NekoWatchletPlugin(QObject *parent = 0); + ~NekoWatchletPlugin(); + + QStringList watchlets(); + WatchletInfo describeWatchlet(const QString &id); + Watchlet* getWatchlet(const QString& id, ConfigKey *settings, WatchServer* server); +}; + +} + +#endif // NEKOWATCHLETPLUGIN_H |