]> git.lyx.org Git - lyx.git/blobdiff - src/support/ForkedCalls.h
listerrors.lyx : Update a link.
[lyx.git] / src / support / ForkedCalls.h
index caeba526e0eaf9a9afe703635fbc12ae651f9259..529f5c6861082a56b763108818d028939626d0b0 100644 (file)
 #define FORKEDCALLS_H
 
 #include "support/shared_ptr.h"
+#include "support/strfwd.h"
 #include <boost/signal.hpp>
 
 #ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>
 #endif
 
-#include <string>
-
 namespace lyx {
 namespace support {
 
@@ -150,6 +149,8 @@ private:
 
 class ForkedCall : public ForkedProcess {
 public:
+       ///
+       ForkedCall(std::string const & path = empty_string());
        ///
        virtual shared_ptr<ForkedProcess> clone() const {
                return shared_ptr<ForkedProcess>(new ForkedCall(*this));
@@ -175,6 +176,8 @@ public:
 private:
        ///
        virtual int generateChild();
+       ///
+       std::string cmd_prefix_;
 };