/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Bluetooth -p generated/com_deepin_daemon_bluetooth /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-5.0.1/xml/com.deepin.daemon.Bluetooth.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 COM_DEEPIN_DAEMON_BLUETOOTH_H
#define COM_DEEPIN_DAEMON_BLUETOOTH_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>


/*
 * Proxy class for interface com.deepin.daemon.Bluetooth
 */
class __BluetoothPrivate;
class __Bluetooth : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.deepin.daemon.Bluetooth"; }

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

    ~__Bluetooth();

    Q_PROPERTY(uint State READ state NOTIFY StateChanged)
    uint state();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> ClearUnpairedDevice()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ClearUnpairedDevice"), argumentList);
    }

    inline void ClearUnpairedDeviceQueued()
    {
        QList<QVariant> argumentList;

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


    inline QDBusPendingReply<> Confirm(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("Confirm"), argumentList);
    }

    inline void ConfirmQueued(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


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

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

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


    inline QDBusPendingReply<QString> DebugInfo()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("DebugInfo"), argumentList);
    }



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

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

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


    inline QDBusPendingReply<> FeedPasskey(const QDBusObjectPath &in0, bool in1, uint in2)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2);
        return asyncCallWithArgumentList(QStringLiteral("FeedPasskey"), argumentList);
    }

    inline void FeedPasskeyQueued(const QDBusObjectPath &in0, bool in1, uint in2)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2);

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


    inline QDBusPendingReply<> FeedPinCode(const QDBusObjectPath &in0, bool in1, const QString &in2)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2);
        return asyncCallWithArgumentList(QStringLiteral("FeedPinCode"), argumentList);
    }

    inline void FeedPinCodeQueued(const QDBusObjectPath &in0, bool in1, const QString &in2)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2);

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


    inline QDBusPendingReply<QString> GetAdapters()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("GetAdapters"), argumentList);
    }



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



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

    inline void RemoveDeviceQueued(const QDBusObjectPath &in0, const QDBusObjectPath &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


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

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

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


    inline QDBusPendingReply<> SetAdapterAlias(const QDBusObjectPath &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetAdapterAlias"), argumentList);
    }

    inline void SetAdapterAliasQueued(const QDBusObjectPath &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


    inline QDBusPendingReply<> SetAdapterDiscoverable(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetAdapterDiscoverable"), argumentList);
    }

    inline void SetAdapterDiscoverableQueued(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


    inline QDBusPendingReply<> SetAdapterDiscoverableTimeout(const QDBusObjectPath &in0, uint in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetAdapterDiscoverableTimeout"), argumentList);
    }

    inline void SetAdapterDiscoverableTimeoutQueued(const QDBusObjectPath &in0, uint in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


    inline QDBusPendingReply<> SetAdapterDiscovering(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetAdapterDiscovering"), argumentList);
    }

    inline void SetAdapterDiscoveringQueued(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


    inline QDBusPendingReply<> SetAdapterPowered(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetAdapterPowered"), argumentList);
    }

    inline void SetAdapterPoweredQueued(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


    inline QDBusPendingReply<> SetDeviceAlias(const QDBusObjectPath &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetDeviceAlias"), argumentList);
    }

    inline void SetDeviceAliasQueued(const QDBusObjectPath &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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


    inline QDBusPendingReply<> SetDeviceTrusted(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("SetDeviceTrusted"), argumentList);
    }

    inline void SetDeviceTrustedQueued(const QDBusObjectPath &in0, bool in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);

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



Q_SIGNALS: // SIGNALS
    void AdapterAdded(const QString &in0);
    void AdapterPropertiesChanged(const QString &in0);
    void AdapterRemoved(const QString &in0);
    void Cancelled(const QDBusObjectPath &device);
    void DeviceAdded(const QString &in0);
    void DevicePropertiesChanged(const QString &in0);
    void DeviceRemoved(const QString &in0);
    void DisplayPasskey(const QDBusObjectPath &in0, uint in1, uint in2);
    void DisplayPinCode(const QDBusObjectPath &in0, const QString &in1);
    void RequestAuthorization(const QDBusObjectPath &in0);
    void RequestConfirmation(const QDBusObjectPath &in0, const QString &in1);
    void RequestPasskey(const QDBusObjectPath &in0);
    void RequestPinCode(const QDBusObjectPath &in0);
    // begin property changed signals
    void StateChanged(uint  value) const;

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

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);
    void onPropertyChanged(const QString &propName, const QVariant &value);

private:
    __BluetoothPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      typedef ::__Bluetooth Bluetooth;
    }
  }
}
#endif
