20 lines
413 B
C++
20 lines
413 B
C++
#ifndef LIBKIEXECUTOR_H
|
|
#define LIBKIEXECUTOR_H
|
|
|
|
#include <QObject>
|
|
#include <QString>
|
|
|
|
class LibKiExecutor : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LibKiExecutor(QObject *parent = nullptr);
|
|
|
|
public slots:
|
|
QString execute(const QString &toolName, const QString &args);
|
|
|
|
signals:
|
|
void resultReady(const QString &requestId, const QString &resultJson, bool success);
|
|
};
|
|
|
|
#endif // LIBKIEXECUTOR_H
|