diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-04-26 01:36:20 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-04-26 01:36:20 +0200 |
commit | 93f3acd128d6b349efe14e97b12c2703ca4f81f3 (patch) | |
tree | 937f3de2307444f0c28d6d21f26f1580e789b074 /sowatchd/daemonadaptor.h | |
parent | 1375a26b135547fdd8e07db62acf8116a8482560 (diff) | |
download | sowatch-93f3acd128d6b349efe14e97b12c2703ca4f81f3.tar.gz sowatch-93f3acd128d6b349efe14e97b12c2703ca4f81f3.zip |
Moved the core framework to GConf & D-Bus
Diffstat (limited to 'sowatchd/daemonadaptor.h')
-rw-r--r-- | sowatchd/daemonadaptor.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sowatchd/daemonadaptor.h b/sowatchd/daemonadaptor.h new file mode 100644 index 0000000..d16cb99 --- /dev/null +++ b/sowatchd/daemonadaptor.h @@ -0,0 +1,51 @@ +/* + * This file was generated by qdbusxml2cpp version 0.7 + * Command line was: qdbusxml2cpp -c DaemonAdaptor -a daemonadaptor daemon.xml + * + * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation 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 DAEMONADAPTOR_H_1335395583 +#define DAEMONADAPTOR_H_1335395583 + +#include <QtCore/QObject> +#include <QtDBus/QtDBus> +class QByteArray; +template<class T> class QList; +template<class Key, class Value> class QMap; +class QString; +class QStringList; +class QVariant; + +/* + * Adaptor class for interface com.javispedro.sowatch.Daemon + */ +class DaemonAdaptor: public QDBusAbstractAdaptor +{ + Q_OBJECT + Q_CLASSINFO("D-Bus Interface", "com.javispedro.sowatch.Daemon") + Q_CLASSINFO("D-Bus Introspection", "" +" <interface name=\"com.javispedro.sowatch.Daemon\">\n" +" <method name=\"GetWatchStatus\">\n" +" <arg direction=\"in\" type=\"s\" name=\"watch\"/>\n" +" <arg direction=\"out\" type=\"s\" name=\"status\"/>\n" +" </method>\n" +" <method name=\"Terminate\"/>\n" +" </interface>\n" + "") +public: + DaemonAdaptor(QObject *parent); + virtual ~DaemonAdaptor(); + +public: // PROPERTIES +public Q_SLOTS: // METHODS + QString GetWatchStatus(const QString &watch); + void Terminate(); +Q_SIGNALS: // SIGNALS +}; + +#endif |