diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-14 01:13:41 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-14 01:13:41 +0200 |
commit | 80c58c124caf17f670d8efc120f5ae4bfd9aa09f (patch) | |
tree | c6d036f06437e54f80afd65e1a700a018cab994b /libsowatch/watchletplugininterface.h | |
parent | c3392e5d539e87f4720b3d107aaefffdc9579f4d (diff) | |
download | sowatch-80c58c124caf17f670d8efc120f5ae4bfd9aa09f.tar.gz sowatch-80c58c124caf17f670d8efc120f5ae4bfd9aa09f.zip |
added liveview watchlet menu (API break)
Diffstat (limited to 'libsowatch/watchletplugininterface.h')
-rw-r--r-- | libsowatch/watchletplugininterface.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libsowatch/watchletplugininterface.h b/libsowatch/watchletplugininterface.h index ed90467..4c135b3 100644 --- a/libsowatch/watchletplugininterface.h +++ b/libsowatch/watchletplugininterface.h @@ -22,17 +22,18 @@ public: struct WatchletInfo { QString name; QUrl icon; - bool hidden; + QUrl phoneIcon; + bool visible; QUrl configQmlUrl; - inline WatchletInfo() : - hidden(false) + inline WatchletInfo() : visible(false) { + } }; virtual QStringList watchlets() = 0; - virtual WatchletInfo describeWatchlet(const QString& id) = 0; + virtual WatchletInfo describeWatchlet(const QString& id, const QString& watchModel) = 0; virtual Watchlet* getWatchlet(const QString& id, ConfigKey *settings, Watch *watch) = 0; }; |