aboutsummaryrefslogtreecommitdiff
path: root/mservicemapper/mservicemapperadaptor.h
blob: 27a4f0f9a28681bef7c4c139fccbc2815b9eafb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -c MServiceMapperAdaptor -a mservicemapperadaptor.h:mservicemapperadaptor.cpp mservicefw.xml
 *
 * qdbusxml2cpp is Copyright (C) 2009 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.
 */
// Make doxygen skip this internal class
//! \cond

#ifndef MSERVICEMAPPERADAPTOR_H_1263907450
#define MSERVICEMAPPERADAPTOR_H_1263907450

#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.nokia.MServiceFwIf
 */
class MServiceMapperAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.nokia.MServiceFwIf")
    Q_CLASSINFO("D-Bus Introspection", ""
                "  <interface name=\"com.nokia.MServiceFwIf\" >\n"
                "    <!--\n"
                "            Returns a list of service names that implement the specified interface,\n"
                "            or, if none specified, all servicenames\n"
                "        -->\n"
                "    <method name=\"serviceNames\" >\n"
                "      <arg direction=\"in\" type=\"s\" name=\"interfaceName\" />\n"
                "      <arg direction=\"out\" type=\"as\" />\n"
                "    </method>\n"
                "    <!--\n"
                "            Returns a (preferred) service name that implements the specified interface\n"
                "        -->\n"
                "    <method name=\"serviceName\" >\n"
                "      <arg direction=\"in\" type=\"s\" name=\"interfaceName\" />\n"
                "      <arg direction=\"out\" type=\"s\" />\n"
                "    </method>\n"
                "    <!--\n"
                "            Returns the service path for the specified interface\n"
                "        -->\n"
                "    <method name=\"servicePath\" >\n"
                "      <arg direction=\"in\" type=\"s\" name=\"interfaceName\" />\n"
                "      <arg direction=\"out\" type=\"s\" />\n"
                "    </method>\n"
                "    <method name=\"interfaceName\" >\n"
                "      <arg direction=\"in\" type=\"s\" name=\"serviceName\" />\n"
                "      <arg direction=\"out\" type=\"s\" />\n"
                "    </method>\n"
                "    <signal name=\"serviceAvailable\" >\n"
                "      <arg direction=\"out\" type=\"s\" name=\"service\" />\n"
                "      <arg direction=\"out\" type=\"s\" name=\"interface\" />\n"
                "    </signal>\n"
                "    <signal name=\"serviceUnavailable\" >\n"
                "      <arg direction=\"out\" type=\"s\" name=\"service\" />\n"
                "    </signal>\n"
                "  </interface>\n"
                "")
public:
    MServiceMapperAdaptor(QObject *parent);
    virtual ~MServiceMapperAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    QString serviceName(const QString &interfaceName);
    QStringList serviceNames(const QString &interfaceName);
    QString servicePath(const QString &interfaceName);
    QString interfaceName(const QString &serviceName);
Q_SIGNALS: // SIGNALS
    void serviceAvailable(const QString &service, const QString &interface);
    void serviceUnavailable(const QString &service);
};

#endif
//! \endcond