/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -N -m -c OfonoSimManagerInterface -p OfonoSimManagerInterface /home/odroid/lomiri/libqtdbusmock-git/src/libqtdbusmock/data/ofono-simmanager.xml
 *
 * qdbusxml2cpp is Copyright (C) 2020 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef OFONOSIMMANAGERINTERFACE_H
#define OFONOSIMMANAGERINTERFACE_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

/*
 * Proxy class for interface org.ofono.SimManager
 */
class OfonoSimManagerInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.ofono.SimManager"; }

public:
    OfonoSimManagerInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);

    ~OfonoSimManagerInterface();

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

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

    inline QDBusPendingReply<QByteArray> GetIcon(uchar id)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(id);
        return asyncCallWithArgumentList(QStringLiteral("GetIcon"), argumentList);
    }

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

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

    inline QDBusPendingReply<> ResetPin(const QString &type, const QString &puk, const QString &newpin)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(type) << QVariant::fromValue(puk) << QVariant::fromValue(newpin);
        return asyncCallWithArgumentList(QStringLiteral("ResetPin"), argumentList);
    }

    inline QDBusPendingReply<> SetProperty(const QString &name, const QDBusVariant &property)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(name) << QVariant::fromValue(property);
        return asyncCallWithArgumentList(QStringLiteral("SetProperty"), argumentList);
    }

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

Q_SIGNALS: // SIGNALS
    void PropertyChanged(const QString &name, const QDBusVariant &value);
};

#endif
