summaryrefslogtreecommitdiff
path: root/daemon/watchconnector.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/watchconnector.h')
-rw-r--r--daemon/watchconnector.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon/watchconnector.h b/daemon/watchconnector.h
index 8d78356..18f5fba 100644
--- a/daemon/watchconnector.h
+++ b/daemon/watchconnector.h
@@ -169,7 +169,7 @@ public:
QString hw_string;
quint8 metadata_version;
- QVariantMap toMap();
+ QVariantMap toMap() const;
};
struct WatchVersions {
@@ -180,7 +180,9 @@ public:
QString serialNumber;
QByteArray address;
- QVariantMap toMap();
+ QVariantMap toMap() const;
+ void clear();
+ bool isEmpty() const;
};
typedef QMap<int, QVariant> Dict;