X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServerSocket.h;h=2b2ddd11d27e70c93c11937acbf30881beee900f;hb=e2982037d9f981a6070c3cf90148bde33edbfdc9;hp=0678d6dbfd06b35df1088f1ae4adf335ab4a9670;hpb=d079c908b371284bfb32f1c3f60781f34a99b3e5;p=lyx.git diff --git a/src/ServerSocket.h b/src/ServerSocket.h index 0678d6dbfd..2b2ddd11d2 100644 --- a/src/ServerSocket.h +++ b/src/ServerSocket.h @@ -4,9 +4,9 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * \author Jean-Marc Lasgouttes - * \author João Luis M. Assirati + * \author João Luis M. Assirati * * Full author contact details are available in file CREDITS. */ @@ -16,9 +16,8 @@ #include "support/FileName.h" #include "support/socktools.h" -#include "LyXFunc.h" -#include +#include "support/shared_ptr.h" #include #include @@ -41,7 +40,7 @@ class LyXDataSocket; class ServerSocket { public: /// - ServerSocket(LyXFunc *, support::FileName const &); + ServerSocket(support::FileName const &); /// ~ServerSocket(); /// Address of the local socket @@ -53,8 +52,6 @@ public: private: /// void writeln(std::string const &); - /// - LyXFunc * func; /// File descriptor for the server socket int fd_; /// Stores the socket filename @@ -64,7 +61,7 @@ private: MAX_CLIENTS = 10 }; /// All connections - std::map > clients; + std::map > clients; };