]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.h
fix starting up which binary is really a symlink; make sure insetinclude file browser...
[lyx.git] / src / lyxserver.h
index 866cda07e44f86aef9aa78e93c59c7b3970bfc6d..4952411b1fd1da8cbf1d9e9592d99ee719805d81 100644 (file)
@@ -59,6 +59,16 @@ public:
        static void callback(int fd, void *v);
 
 private:
+       /// the filename of the in pipe
+       string const inPipeName() {
+               return pipename + ".in";
+       }
+
+       /// the filename of the out pipe
+       string const outPipeName() {
+               return pipename + ".out";
+       }
+
        /// Open pipes
        void openConnection();
        
@@ -66,7 +76,7 @@ private:
        void closeConnection();
 
        /// start a pipe
-       int startPipe(string const &);
+       int startPipe(string const &, bool);
  
        /// finish a pipe
        void endPipe(int &, string const &);