]> git.lyx.org Git - lyx.git/blobdiff - src/support/SystemcallPrivate.h
Fix 'Export As...' in non-English localizations
[lyx.git] / src / support / SystemcallPrivate.h
index c0a4c7755a66c016b902ff4bec941f178a23a235..6534d07faac0854043f79aab3c58c69517310ddd 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,7 @@ public:
        State state;
 
        bool waitWhile(State, bool processEvents, int timeout = -1);
-       void startProcess(QString const & cmd, std::string const & path);
+       void startProcess(QString const & cmd, std::string const & path, bool detach);
        
        int exitCode();
 
@@ -73,7 +74,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;