X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServer.h;h=40021daa414c14bf82f15b36bc2ab1c60f48e3e5;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=2c1162d8d0c084c62a564d59beffd0a24c19bd43;hpb=e8b15b5f0cd216a342dbcaef7b9e90722bc99fc3;p=lyx.git diff --git a/src/Server.h b/src/Server.h index 2c1162d8d0..40021daa41 100644 --- a/src/Server.h +++ b/src/Server.h @@ -14,10 +14,9 @@ #ifndef SERVER_H #define SERVER_H -#include +#include "support/signals.h" #include -#include #ifdef _WIN32 #include @@ -31,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()". @@ -39,7 +38,7 @@ class Server; a clean string interface. */ #ifndef _WIN32 -class LyXComm : public boost::signals2::trackable { +class LyXComm { #else class LyXComm : public QObject { Q_OBJECT @@ -190,6 +189,9 @@ private: /// Did we defer loading of files to another instance? bool deferred_loading_; + + /// Track object's liveness + support::Trackable tracker_; };