summaryrefslogtreecommitdiff
path: root/app/pebbledinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/pebbledinterface.cpp')
-rw-r--r--app/pebbledinterface.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/pebbledinterface.cpp b/app/pebbledinterface.cpp
index e7fcb2e..28f0581 100644
--- a/app/pebbledinterface.cpp
+++ b/app/pebbledinterface.cpp
@@ -304,6 +304,18 @@ QVariantMap PebbledInterface::appInfoByUuid(const QString &uuid) const
}
}
+void PebbledInterface::uploadFirmware(const QString &file)
+{
+ qDebug() << Q_FUNC_INFO << file;
+ QDBusPendingReply<> reply = watch->UploadFirmware(false, file);
+ reply.waitForFinished();
+}
+
+void PebbledInterface::notifyFirmware(const QString &version)
+{
+ qDebug() << Q_FUNC_INFO << version;
+}
+
void PebbledInterface::onWatchConnectedChanged()
{
qDebug() << Q_FUNC_INFO;