diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-10 16:06:14 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-10 16:06:14 +0200 |
commit | 39fa663cd08bd2b7d46ed170d49ac794c531c42e (patch) | |
tree | 92131388053eadbfca4b8917ab1e1f87ffe30fdd /libsowatch/watchletplugininterface.h | |
parent | b9082fda48bb026fc4e6148efeba9aabf608373a (diff) | |
download | sowatch-39fa663cd08bd2b7d46ed170d49ac794c531c42e.tar.gz sowatch-39fa663cd08bd2b7d46ed170d49ac794c531c42e.zip |
watchlet edit UI
Diffstat (limited to 'libsowatch/watchletplugininterface.h')
-rw-r--r-- | libsowatch/watchletplugininterface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsowatch/watchletplugininterface.h b/libsowatch/watchletplugininterface.h index ef03d81..31accb9 100644 --- a/libsowatch/watchletplugininterface.h +++ b/libsowatch/watchletplugininterface.h @@ -4,6 +4,7 @@ #include <QtPlugin> #include <QtCore/QSettings> #include <QtCore/QStringList> +#include <QtCore/QUrl> #include "sowatch_global.h" namespace sowatch @@ -18,7 +19,13 @@ class SOWATCH_EXPORT WatchletPluginInterface public: virtual ~WatchletPluginInterface(); + struct WatchletInfo { + QString name; + QUrl icon; + }; + virtual QStringList watchlets() = 0; + virtual WatchletInfo describeWatchlet(const QString& id) = 0; virtual Watchlet* getWatchlet(const QString& id, ConfigKey *settings, WatchServer *server) = 0; }; |