]> git.lyx.org Git - lyx.git/blobdiff - src/Server.h
Account for old versions of Pygments
[lyx.git] / src / Server.h
index 4fc11faf957359e98c762553bba2a00dde7d415c..40021daa414c14bf82f15b36bc2ab1c60f48e3e5 100644 (file)
@@ -14,7 +14,9 @@
 #ifndef SERVER_H
 #define SERVER_H
 
-#include <boost/signals/trackable.hpp>
+#include "support/signals.h"
+
+#include <vector>
 
 #ifdef _WIN32
 #include <windows.h>
@@ -28,7 +30,7 @@ namespace lyx {
 class Server;
 
 
-/** This class managed the pipes used for communicating with clients.
+/** This class manages the pipes used for communicating with clients.
  Usage: Initialize with pipe-filename-base, client class to receive
  messages, and callback-function that will be called with the messages.
  When you want to send, use "send()".
@@ -36,7 +38,7 @@ class Server;
  a clean string interface.
  */
 #ifndef _WIN32
-class LyXComm : public boost::signals::trackable {
+class LyXComm {
 #else
 class LyXComm : public QObject {
        Q_OBJECT
@@ -187,6 +189,9 @@ private:
 
        /// Did we defer loading of files to another instance?
        bool deferred_loading_;
+
+       /// Track object's liveness
+       support::Trackable tracker_;
 };