/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp ./dde-api-proxy/file/dbus/v1/session/org.deepin.dde.Mime1.xml -a ./dde-api-proxy/toolGenerate/qdbusxml2cpp/org.deepin.dde.Mime1Adaptor -i ./dde-api-proxy/toolGenerate/qdbusxml2cpp/org.deepin.dde.Mime1.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 ORG_DEEPIN_DDE_MIME1ADAPTOR_H
#define ORG_DEEPIN_DDE_MIME1ADAPTOR_H

#include <QtCore/QObject>
#include <QtDBus/QtDBus>
#include "./dde-api-proxy/toolGenerate/qdbusxml2cpp/org.deepin.dde.Mime1.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 org.deepin.dde.Mime1
 */
class Mime1Adaptor: public QDBusAbstractAdaptor
{
    Q_OBJECT
    Q_CLASSINFO("D-Bus Interface", "org.deepin.dde.Mime1")
    Q_CLASSINFO("D-Bus Introspection", ""
"  <interface name=\"org.deepin.dde.Mime1\">\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:
    Mime1Adaptor(QObject *parent);
    virtual ~Mime1Adaptor();

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
