X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxserver.h;h=18623578d81294a1bb72d0cfbdfcf0cadff38dc4;hb=a617e0d978b460f5529737da1f1c73088e45a6eb;hp=af08be2b5cf999fe443d0a3f596a4f377c1ac087;hpb=bb350c0cba7051bf9cd8e998c3ec70805d3496b4;p=lyx.git diff --git a/src/lyxserver.h b/src/lyxserver.h index af08be2b5c..18623578d8 100644 --- a/src/lyxserver.h +++ b/src/lyxserver.h @@ -15,6 +15,9 @@ #include + +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 ========================================== */