1 #ifndef CSM_DOC_RUNNER_H
2 #define CSM_DOC_RUNNER_H
7 #include <boost/filesystem/path.hpp>
11 #include <QTextDocument>
19 class OperationHolder;
36 Runner (
const boost::filesystem::path& projectPath);
42 void start (
bool delayed =
false);
51 const std::vector<std::string>& contentFiles,
52 const std::string& startupInstruction);
62 void finished (
int exitCode, QProcess::ExitStatus exitStatus);
83 void saveDone (
int type,
bool failed);
void saveDone(int type, bool failed)
Definition: runner.cpp:153
static const struct @2 signals[]
Definition: operation.hpp:22
Watch for end of save operation and restart or stop runner.
Definition: runner.hpp:70
void configure(const ESM::DebugProfile &profile, const std::vector< std::string > &contentFiles, const std::string &startupInstruction)
Definition: runner.cpp:121
boost::filesystem::path mProjectPath
Definition: runner.hpp:32
std::vector< std::string > mContentFiles
Definition: runner.hpp:28
void readyReadStandardOutput()
Definition: runner.cpp:140
QTextDocument * getLog()
Definition: runner.cpp:135
QTemporaryFile * mStartup
Definition: runner.hpp:30
ESM::DebugProfile mProfile
Definition: runner.hpp:27
void start(bool delayed=false)
Definition: runner.cpp:34
SaveWatcher(Runner *runner, OperationHolder *operation)
*this attaches itself to runner
Definition: runner.cpp:147
std::string mStartupInstruction
Definition: runner.hpp:29
~Runner()
Definition: runner.cpp:24
void stop()
Definition: runner.cpp:102
QTextDocument mLog
Definition: runner.hpp:31
Definition: debugprofile.hpp:11
QProcess mProcess
Definition: runner.hpp:25
Definition: runner.hpp:21
void finished(int exitCode, QProcess::ExitStatus exitStatus)
Definition: runner.cpp:129
Definition: operationholder.hpp:18
Runner(const boost::filesystem::path &projectPath)
Definition: runner.cpp:10
bool isRunning() const
Definition: runner.cpp:116
Runner * mRunner
Definition: runner.hpp:74
bool mRunning
Definition: runner.hpp:26