]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.h
* languages: use nb_NO instead of no_NO for norwegian (bug 2850).
[lyx.git] / src / lyxserver.h
index af08be2b5cf999fe443d0a3f596a4f377c1ac087..18623578d81294a1bb72d0cfbdfcf0cadff38dc4 100644 (file)
@@ -15,6 +15,9 @@
 
 #include <boost/signals/trackable.hpp>
 
+
+namespace lyx {
+
 class LyXFunc;
 class LyXServer;
 
@@ -58,14 +61,10 @@ public:
 
 private:
        /// the filename of the in pipe
-       std::string const inPipeName() const {
-               return pipename + std::string(".in");
-       }
+       std::string const inPipeName() const;
 
        /// the filename of the out pipe
-       std::string const outPipeName() const {
-               return pipename + std::string(".out");
-       }
+       std::string const outPipeName() const;
 
        /// Open pipes
        void openConnection();
@@ -144,6 +143,12 @@ private:
        LyXComm pipes;
 };
 
+/// Implementation is in lyx_main.C
+extern LyXServer & theLyXServer();
+
+
+} // namespace lyx
+
 #endif /* _LYXSERVER_H_ */
 
 /* === End of File: lyxserver.h ========================================== */