3 * \file SystemcallPrivate.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef LYX_SUPPORT_SYSTEMCALLPRIVATE_H
13 #define LYX_SUPPORT_SYSTEMCALLPRIVATE_H
24 class ProgressInterface;
26 class SystemcallPrivate : public QObject
33 // When waitForFinished == true : returns the exit code of the process
34 // When waitForFinished == false: returns 0 if the process could be started
35 int start(const std::string& cmd, bool waitForFinished);
38 void newProcessOutput();
39 void processStarted();
40 void processError(QProcess::ProcessError);
41 void processFinished(int, QProcess::ExitStatus);
48 } // namespace support
51 #endif // LYX_SUPPORT_SYSTEMCALLPRIVATE_H