]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.h
partial framebox support
[lyx.git] / src / lyxserver.h
index 6b69392fe6890018f3e3dd8b99f76fac6a8bd25b..3a3c180776645a62becc439539e62da77a7c8afd 100644 (file)
@@ -17,6 +17,9 @@
 #endif
 
 #include "LString.h"
+
+#include <boost/signals/trackable.hpp>
 class LyXFunc;
 class LyXServer;
 
@@ -29,7 +32,7 @@ class LyXServer;
  This class encapsulates all the dirty communication and thus provides
  a clean string interface.
  */
-class LyXComm {
+class LyXComm : public boost::signals::trackable {
 public:
        /** When we receive a message, we send it to a client.
          This is one of the small things that would have been a lot
@@ -55,8 +58,8 @@ public:
        /// Send message
        void send(string const &);
 
-       /// We receive messages via XForms through this callback
-       static void callback(int fd, void *v);
+       /// asynch ready-to-be-read notification
+       void read_ready();
 
 private:
        /// the filename of the in pipe
@@ -79,7 +82,7 @@ private:
        int startPipe(string const &, bool);
 
        /// finish a pipe
-       void endPipe(int &, string const &);
+       void endPipe(int &, string const &, bool);
 
        /// This is -1 if not open
        int infd;