summaryrefslogtreecommitdiff
path: root/app/pebbledinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/pebbledinterface.h')
-rw-r--r--app/pebbledinterface.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/pebbledinterface.h b/app/pebbledinterface.h
index e468505..51efa12 100644
--- a/app/pebbledinterface.h
+++ b/app/pebbledinterface.h
@@ -5,6 +5,7 @@
#include <QUrl>
#include <QHash>
#include <QUuid>
+#include <QImage>
#include <QDBusInterface>
class OrgPebbledWatchInterface;
@@ -39,7 +40,9 @@ public:
Q_INVOKABLE QUrl configureApp(const QString &uuid);
- Q_INVOKABLE bool isAppInstalled(const QString &uuid);
+ Q_INVOKABLE bool isAppInstalled(const QString &uuid) const;
+
+ QImage menuIconForApp(const QUuid &uuid) const;
signals:
void enabledChanged();
@@ -82,6 +85,7 @@ private:
QStringList _appSlots;
QVariantList _apps;
QHash<QUuid, int> _appsByUuid;
+ QHash<QUuid, QImage> _appMenuIcons;
};
#endif // PEBBLEDINTERFACE_H