summaryrefslogtreecommitdiff
path: root/daemon/dbusadaptor.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-06 02:56:39 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-09 01:57:32 +0200
commit66fcda8bf06abcc557d2d435b5dc0562de3a9566 (patch)
tree5b1b53ee834514178790a7a6ef87cdcf17d0ef1e /daemon/dbusadaptor.h
parent558e07f125eea64436e2097b8a35c9c348b5204e (diff)
Implemented org.pebbled DBus service
Diffstat (limited to 'daemon/dbusadaptor.h')
-rw-r--r--daemon/dbusadaptor.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/daemon/dbusadaptor.h b/daemon/dbusadaptor.h
new file mode 100644
index 0000000..9d8759a
--- /dev/null
+++ b/daemon/dbusadaptor.h
@@ -0,0 +1,68 @@
+/*
+ * This file was generated by qdbusxml2cpp version 0.8
+ * Command line was: qdbusxml2cpp -c DBusAdaptor -a dbusadaptor org.pebbled.xml
+ *
+ * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
+ *
+ * This is an auto-generated file.
+ * This file may have been hand-edited. Look for HAND-EDIT comments
+ * before re-generating it.
+ */
+
+#ifndef DBUSADAPTOR_H_1404605591
+#define DBUSADAPTOR_H_1404605591
+
+#include <QtCore/QObject>
+#include <QtDBus/QtDBus>
+QT_BEGIN_NAMESPACE
+class QByteArray;
+template<class T> class QList;
+template<class Key, class Value> class QMap;
+class QString;
+class QStringList;
+class QVariant;
+QT_END_NAMESPACE
+
+/*
+ * Adaptor class for interface org.pebbled
+ */
+class DBusAdaptor: public QDBusAbstractAdaptor
+{
+ Q_OBJECT
+ Q_CLASSINFO("D-Bus Interface", "org.pebbled")
+ Q_CLASSINFO("D-Bus Introspection", ""
+" <interface name=\"org.pebbled\">\n"
+" <property access=\"read\" type=\"a{sv}\" name=\"pebble\">\n"
+" <annotation value=\"QVariantMap\" name=\"org.qtproject.QtDBus.QtTypeName\"/>\n"
+" </property>\n"
+" <property access=\"read\" type=\"s\" name=\"name\"/>\n"
+" <property access=\"read\" type=\"s\" name=\"address\"/>\n"
+" <property access=\"read\" type=\"b\" name=\"connected\"/>\n"
+" <signal name=\"pebbleChanged\"/>\n"
+" <signal name=\"connectedChanged\"/>\n"
+" </interface>\n"
+ "")
+public:
+ DBusAdaptor(QObject *parent);
+ virtual ~DBusAdaptor();
+
+public: // PROPERTIES
+ Q_PROPERTY(QString address READ address)
+ QString address() const;
+
+ Q_PROPERTY(bool connected READ connected)
+ bool connected() const;
+
+ Q_PROPERTY(QString name READ name)
+ QString name() const;
+
+ Q_PROPERTY(QVariantMap pebble READ pebble)
+ QVariantMap pebble() const;
+
+public Q_SLOTS: // METHODS
+Q_SIGNALS: // SIGNALS
+ void connectedChanged();
+ void pebbleChanged();
+};
+
+#endif