From 66fcda8bf06abcc557d2d435b5dc0562de3a9566 Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Sun, 6 Jul 2014 02:56:39 +0200 Subject: Implemented org.pebbled DBus service --- daemon/dbusadaptor.h | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 daemon/dbusadaptor.h (limited to 'daemon/dbusadaptor.h') 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 +#include +QT_BEGIN_NAMESPACE +class QByteArray; +template class QList; +template 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", "" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \n" +" \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 -- cgit v1.2.3