/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c Device -p generated/com_deepin_daemon_fprintd_device /build/deepin-qt-dbus-factory/src/dde-qt-dbus-factory-5.0.1/xml/com.deepin.daemon.Fprintd.Device.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_FPRINTD_DEVICE_H
#define COM_DEEPIN_DAEMON_FPRINTD_DEVICE_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.Fprintd.Device
 */
class __DevicePrivate;
class __Device : public DBusExtendedAbstractInterface
{
    Q_OBJECT

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

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

    ~__Device();

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

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

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


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

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

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


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

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

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


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

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

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


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



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

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

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


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

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

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


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

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

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



Q_SIGNALS: // SIGNALS
    void EnrollStatus(const QString &in0, bool in1);
    void VerifyFingerSelected(const QString &in0);
    void VerifyStatus(const QString &in0, bool in1);
    // begin property changed signals

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

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __DevicePrivate *d_ptr;
};

namespace com {
  namespace deepin {
    namespace daemon {
      namespace fprintd {
        typedef ::__Device Device;
      }
    }
  }
}
#endif
