]> git.lyx.org Git - lyx.git/blobdiff - src/support/SystemcallPrivate.h
add generic helper class for calling functions in gui thread
[lyx.git] / src / support / SystemcallPrivate.h
index 958fae1e704af5b39fbdbab509eb93df29e2b210..c8e3aa734c500c97be01555e419305922caba6ec 100644 (file)
@@ -51,8 +51,6 @@ public:
        QString errorMessage() const;
        QString exitStatusMessage() const;
 
-       void flush();
-
        QProcess* releaseProcess();
        
        static void killProcess(QProcess * p);
@@ -78,14 +76,11 @@ private:
        std::string out_file_;
 
        /// Size of buffers.
-       static size_t const max_buffer_size_ = 200;
+       static size_t const buffer_size_ = 200;
        /// Standard output buffer.
-       char out_data_[max_buffer_size_];
+       char out_data_[buffer_size_];
        /// Standard error buffer.
-       char err_data_[max_buffer_size_];
-
-       bool terminal_err_exists_;
-       bool terminal_out_exists_;
+       char err_data_[buffer_size_];
 
        QString cmd_;
        bool process_events_;