X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServer.h;h=40021daa414c14bf82f15b36bc2ab1c60f48e3e5;hb=c8230ab0d0a919530c43c29395f4d9961498bf15;hp=1a46c892817a5d6380c172d388bb8ad92d5eb29a;hpb=a80e0cacb909878f63b4f9ec3af0fad5a3b9ff4e;p=lyx.git diff --git a/src/Server.h b/src/Server.h index 1a46c89281..40021daa41 100644 --- a/src/Server.h +++ b/src/Server.h @@ -14,7 +14,7 @@ #ifndef SERVER_H #define SERVER_H -#include +#include "support/signals.h" #include @@ -30,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()". @@ -38,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 @@ -189,6 +189,9 @@ private: /// Did we defer loading of files to another instance? bool deferred_loading_; + + /// Track object's liveness + support::Trackable tracker_; };