summaryrefslogtreecommitdiff
path: root/app/pebbledinterface.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-03-31 13:35:29 +0200
committerTomasz Sterna <tomek@xiaoka.com>2015-03-31 13:37:04 +0200
commitc01b9da9f441d74578792ffeca2db25734b19704 (patch)
tree03201c4d40085e9f6547d227a5df29ba6206277a /app/pebbledinterface.h
parent435b5066f57ed0f0710dcc61ca927380e3916a7e (diff)
Expose Watch Info over DBus interface
Diffstat (limited to 'app/pebbledinterface.h')
-rw-r--r--app/pebbledinterface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/pebbledinterface.h b/app/pebbledinterface.h
index 50269ff..cba5416 100644
--- a/app/pebbledinterface.h
+++ b/app/pebbledinterface.h
@@ -18,6 +18,7 @@ class PebbledInterface : public QObject
Q_PROPERTY(bool connected READ connected NOTIFY connectedChanged)
Q_PROPERTY(QString name READ name NOTIFY nameChanged)
Q_PROPERTY(QString address READ address NOTIFY addressChanged)
+ Q_PROPERTY(QVariantMap info READ info NOTIFY infoChanged)
Q_PROPERTY(QString appUuid READ appUuid NOTIFY appUuidChanged)
Q_PROPERTY(QStringList appSlots READ appSlots NOTIFY appSlotsChanged)
@@ -31,6 +32,7 @@ public:
bool connected() const;
QString name() const;
QString address() const;
+ QVariantMap info() const;
QString appUuid() const;
QStringList appSlots() const;
@@ -52,6 +54,7 @@ signals:
void connectedChanged();
void nameChanged();
void addressChanged();
+ void infoChanged();
void appUuidChanged();
void appSlotsChanged();
void allAppsChanged();