]> git.lyx.org Git - lyx.git/blobdiff - src/support/SystemcallPrivate.h
prepare Qt 5.6 builds
[lyx.git] / src / support / SystemcallPrivate.h
index c8e3aa734c500c97be01555e419305922caba6ec..5aac5431ef703ad80fb533d4f3fef6da3b9cd833 100644 (file)
@@ -32,7 +32,8 @@ class SystemcallPrivate : public QObject
        Q_OBJECT
 
 public:
-       SystemcallPrivate(std::string const & outfile);
+       SystemcallPrivate(std::string const & infile, std::string const & outfile,
+                         std::string const & errfile);
        ~SystemcallPrivate();
 
        enum State {
@@ -44,7 +45,8 @@ public:
        State state;
 
        bool waitWhile(State, bool processEvents, int timeout = -1);
-       void startProcess(const QString& cmd);
+       void startProcess(QString const & cmd, std::string const & path,
+                         std::string const & lpath, bool detach);
        
        int exitCode();
 
@@ -73,7 +75,11 @@ private:
        /// Index to the standard error buffer.
        size_t err_index_;
        ///
+       std::string in_file_;
+       ///
        std::string out_file_;
+       ///
+       std::string err_file_;
 
        /// Size of buffers.
        static size_t const buffer_size_ = 200;