/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Mime -p generated/com_deepin_daemon_mime /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-1.0.6/xml/com.deepin.daemon.Mime.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_MIME_H
#define COM_DEEPIN_DAEMON_MIME_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.Mime
 */
class __MimePrivate;
class __Mime : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Mime();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> AddUserApp(const QStringList &in0, const QString &in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("AddUserApp"), argumentList);
    }

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

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


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

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

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


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



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



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



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

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

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


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

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

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



Q_SIGNALS: // SIGNALS
    void Change();
    // begin property changed signals

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

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __MimePrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      typedef ::__Mime Mime;
    }
  }
}
#endif
