/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Client1 -p generated/org_bluez_obex_client1 ../xml/org.bluez.obex.Client1.xml
 *
 * qdbusxml2cpp-fix is Copyright (C) 2016 Deepin Technology Co., Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef ORG_BLUEZ_OBEX_CLIENT1_H
#define ORG_BLUEZ_OBEX_CLIENT1_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>

#include <DBusExtendedAbstractInterface>
#include <QtDBus/QtDBus>

#include "types/qvariantmap.h"

/*
 * Proxy class for interface org.bluez.obex.Client1
 */
class __Client1Private;
class __Client1 : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "org.bluez.obex.Client1"; }

public:
    explicit __Client1(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    ~__Client1();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<QDBusObjectPath> CreateSession(const QString &destination, const QVariantMap &args)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(destination) << QVariant::fromValue(args);
        return asyncCallWithArgumentList(QStringLiteral("CreateSession"), argumentList);
    }



    inline QDBusPendingReply<> RemoveSession(const QDBusObjectPath &session)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(session);
        return asyncCallWithArgumentList(QStringLiteral("RemoveSession"), argumentList);
    }

    inline void RemoveSessionQueued(const QDBusObjectPath &session)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(session);

        CallQueued(QStringLiteral("RemoveSession"), argumentList);
    }



Q_SIGNALS: // SIGNALS
    // begin property changed signals

public Q_SLOTS:
    void CallQueued(const QString &callName, const QList<QVariant> &args);

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __Client1Private *d_ptr;
};

namespace org {
  namespace bluez {
    namespace obex {
      typedef ::__Client1 Client1;
    }
  }
}
#endif
