/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Miracast -p generated/com_deepin_daemon_miracast ../xml/com.deepin.daemon.Miracast.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_MIRACAST_H
#define COM_DEEPIN_DAEMON_MIRACAST_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/sinkinfolist.h"
#include "types/linkinfolist.h"

/*
 * Proxy class for interface com.deepin.daemon.Miracast
 */
class __MiracastPrivate;
class __Miracast : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Miracast();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> Connect(const QDBusObjectPath &in0, uint in1, uint in2, uint in3, uint in4)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1) << QVariant::fromValue(in2) << QVariant::fromValue(in3) << QVariant::fromValue(in4);
        return asyncCallWithArgumentList(QStringLiteral("Connect"), argumentList);
    }

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

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


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

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

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


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

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

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


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



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



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

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

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



Q_SIGNALS: // SIGNALS
    void Added(const QDBusObjectPath &in0, const QString &in1);
    void Event(uchar in0, const QDBusObjectPath &in1);
    void Removed(const QDBusObjectPath &in0, const QString &in1);
    // begin property changed signals

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

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __MiracastPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      typedef ::__Miracast Miracast;
    }
  }
}
#endif
