/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-api-proxy/file/dbus/v0/session/com.deepin.daemon.Mime.xml -a ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.MimeAdaptor -i ./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.Mime.h
 *
 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * This file may have been hand-edited. Look for HAND-EDIT comments
 * before re-generating it.
 */

#ifndef COM_DEEPIN_DAEMON_MIMEADAPTOR_H
#define COM_DEEPIN_DAEMON_MIMEADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "./dde-api-proxy/toolGenerate/qdbusxml2cpp/com.deepin.daemon.Mime.h"
QT_BEGIN_NAMESPACE
class QByteArray;
template<class T> class QList;
template<class Key, class Value> class QMap;
class QString;
class QStringList;
class QVariant;
QT_END_NAMESPACE

/*
 * Adaptor class for interface com.deepin.daemon.Mime
 */
class MimeAdaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "com.deepin.daemon.Mime")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"com.deepin.daemon.Mime\">\n"
"    <method name=\"AddUserApp\">\n"
"      <arg direction=\"in\" type=\"as\" name=\"mimeTypes\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"desktopId\"/>\n"
"    </method>\n"
"    <method name=\"DeleteApp\">\n"
"      <arg direction=\"in\" type=\"as\" name=\"mimeTypes\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"desktopId\"/>\n"
"    </method>\n"
"    <method name=\"DeleteUserApp\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"desktopId\"/>\n"
"    </method>\n"
"    <method name=\"GetDefaultApp\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"mimeType\"/>\n"
"      <arg direction=\"out\" type=\"s\" name=\"defaultApp\"/>\n"
"    </method>\n"
"    <method name=\"ListApps\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"mimeType\"/>\n"
"      <arg direction=\"out\" type=\"s\" name=\"apps\"/>\n"
"    </method>\n"
"    <method name=\"ListUserApps\">\n"
"      <arg direction=\"in\" type=\"s\" name=\"mimeType\"/>\n"
"      <arg direction=\"out\" type=\"s\" name=\"userApps\"/>\n"
"    </method>\n"
"    <method name=\"SetDefaultApp\">\n"
"      <arg direction=\"in\" type=\"as\" name=\"mimeTypes\"/>\n"
"      <arg direction=\"in\" type=\"s\" name=\"desktopId\"/>\n"
"    </method>\n"
"    <signal name=\"Change\"/>\n"
"  </interface>\n"
        "")
public:
    MimeAdaptor(QObject *parent);
    virtual ~MimeAdaptor();

public: // PROPERTIES
public Q_SLOTS: // METHODS
    void AddUserApp(const QStringList &mimeTypes, const QString &desktopId);
    void DeleteApp(const QStringList &mimeTypes, const QString &desktopId);
    void DeleteUserApp(const QString &desktopId);
    QString GetDefaultApp(const QString &mimeType);
    QString ListApps(const QString &mimeType);
    QString ListUserApps(const QString &mimeType);
    void SetDefaultApp(const QStringList &mimeTypes, const QString &desktopId);
Q_SIGNALS: // SIGNALS
    void Change();
};

#endif
