mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 18:37:08 +00:00
34 lines
481 B
C++
34 lines
481 B
C++
#ifndef CSM_DOC_RUNNER_H
|
|
#define CSM_DOC_RUNNER_H
|
|
|
|
#include <QObject>
|
|
#include <QProcess>
|
|
|
|
namespace CSMDoc
|
|
{
|
|
class Runner : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
QProcess mProcess;
|
|
|
|
public:
|
|
|
|
Runner();
|
|
|
|
void start();
|
|
|
|
void stop();
|
|
|
|
signals:
|
|
|
|
void runStateChanged (bool running);
|
|
|
|
private slots:
|
|
|
|
void finished (int exitCode, QProcess::ExitStatus exitStatus);
|
|
};
|
|
}
|
|
|
|
#endif
|