#include <boost/signals/trackable.hpp>
+
+namespace lyx {
+
class LyXFunc;
class LyXServer;
private:
/// the filename of the in pipe
- std::string const inPipeName() {
- return pipename + ".in";
- }
+ std::string const inPipeName() const;
/// the filename of the out pipe
- std::string const outPipeName() {
- return pipename + ".out";
- }
+ std::string const outPipeName() const;
/// Open pipes
void openConnection();
LyXComm pipes;
};
+/// Implementation is in lyx_main.C
+extern LyXServer & theLyXServer();
+
#endif /* _LYXSERVER_H_ */
+
+} // namespace lyx
+
/* === End of File: lyxserver.h ========================================== */