/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Command line was: qdbusxml2cpp -m -p rserver_interface /usr/src/ports/cantor/cantor-17.12.3-1.i686/src/cantor-17.12.3/src/backends/R/rserver/org.kde.Cantor.R.xml
 *
 * qdbusxml2cpp is Copyright (C) 2017 The Qt Company Ltd.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef RSERVER_INTERFACE_H
#define RSERVER_INTERFACE_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.kde.Cantor.R
 */
class OrgKdeCantorRInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.kde.Cantor.R"; }

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

    ~OrgKdeCantorRInterface();

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

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

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

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

Q_SIGNALS: // SIGNALS
    void completionFinished(const QString &token, const QStringList &options);
    void expressionFinished(int returnCode, const QString &text);
    void inputRequested(const QString &prompt);
    void ready();
    void requestAnswered();
    void showFilesNeeded(const QStringList &files);
    void statusChanged(int status);
    void symbolList(const QStringList &variables, const QStringList &functions);
};

namespace org {
  namespace kde {
    namespace Cantor {
      typedef ::OrgKdeCantorRInterface R;
    }
  }
}
#endif
