/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Metadata -p generated/com_deepin_appstore_metadata /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-1.0.6/xml/com.deepin.appstore.Metadata.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_APPSTORE_METADATA_H
#define COM_DEEPIN_APPSTORE_METADATA_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.AppStore
 */
class __MetadataPrivate;
class __Metadata : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Metadata();

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



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



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

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

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



Q_SIGNALS: // SIGNALS
    // begin property changed signals

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

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __MetadataPrivate *d_ptr;
};

namespace com {
  namespace deepin {
    typedef ::__Metadata AppStore;
  }
}
#endif
