summaryrefslogtreecommitdiff
path: root/libsowatch/watchletplugininterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchletplugininterface.h')
-rw-r--r--libsowatch/watchletplugininterface.h9
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;
};