X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServerSocket.h;h=7364250e17b7174dfb791490706d2f48c7cfaaac;hb=99c5a46c68bd605c03d4e3a86811831ed7dd3d37;hp=170826345920826beb0db70177ff7eb5e3897b27;hpb=a287184d720bc57a5b248939f81cfd26276086c7;p=lyx.git diff --git a/src/ServerSocket.h b/src/ServerSocket.h index 1708263459..7364250e17 100644 --- a/src/ServerSocket.h +++ b/src/ServerSocket.h @@ -15,9 +15,9 @@ #define LYXSERVERSOCKET_H #include "support/FileName.h" -#include "support/socktools.h" -#include +#include "support/shared_ptr.h" + #include #include @@ -25,7 +25,6 @@ namespace lyx { class LyXDataSocket; -class LyXFunc; /** Sockets can be in two states: listening and connected. @@ -40,7 +39,7 @@ class LyXFunc; class ServerSocket { public: /// - ServerSocket(LyXFunc *, support::FileName const &); + ServerSocket(support::FileName const &); /// ~ServerSocket(); /// Address of the local socket @@ -52,8 +51,6 @@ public: private: /// void writeln(std::string const &); - /// - LyXFunc * func; /// File descriptor for the server socket int fd_; /// Stores the socket filename @@ -63,7 +60,7 @@ private: MAX_CLIENTS = 10 }; /// All connections - std::map > clients; + std::map > clients; };