/*
 * This file was generated by qdbusxml2cpp-fix version 0.8
 * Command line was: qdbusxml2cpp-fix -c ocr -p generated/com_iflytek_aiservice_ocr ../xml/com.iflytek.aiservice.ocr.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_IFLYTEK_AISERVICE_OCR_H
#define COM_IFLYTEK_AISERVICE_OCR_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.iflytek.aiservice.ocr
 */
class __ocrPrivate;
class __ocr : public DBusExtendedAbstractInterface
{
    Q_OBJECT

public:
    static inline const char *staticInterfaceName()
    { return "com.iflytek.aiservice.ocr"; }

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

    ~__ocr();

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<int> sendpicture(const QByteArray &array, bool isSync)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(array) << QVariant::fromValue(isSync);
        return asyncCallWithArgumentList(QStringLiteral("sendpicture"), argumentList);
    }



    inline QDBusPendingReply<int> sendpictureByPath(const QString &path, bool isSync)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(path) << QVariant::fromValue(isSync);
        return asyncCallWithArgumentList(QStringLiteral("sendpictureByPath"), argumentList);
    }




Q_SIGNALS: // SIGNALS
    void signalOCRResult(const QString &result);
    // begin property changed signals

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

private Q_SLOTS:
    void onPendingCallFinished(QDBusPendingCallWatcher *w);

private:
    __ocrPrivate *d_ptr;
};

namespace com {
  namespace iflytek {
    namespace aiservice {
      typedef ::__ocr ocr;
    }
  }
}
#endif
