3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Asger Alstrup
9 * Interface cleaned up by
10 * \author Angus Leeming
12 * Full author contact details are available in file CREDITS.
17 #include "support/Systemcall.h"
18 #include "support/SystemcallPrivate.h"
19 #include "support/ProgressInterface.h"
24 static ProgressInterface* progress_impl = 0;
27 void Systemcall::registerProgressInterface(ProgressInterface* p)
33 ProgressInterface* Systemcall::progress()
39 int Systemcall::startscript(Starttype how, std::string const & what)
41 // TODO Reuse of instance?
42 SystemcallPrivate* process = new SystemcallPrivate;
44 return process->start(what, true);
45 return process->start(what, false);
49 } // namespace support