X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FServerSocket.h;h=c66658042ff38ca4d4da9dfda9d67cb9489567c0;hb=e694199837172dd4927eb64112e00f85a426eb8e;hp=1899e8b9ae82de30d2792252947b34a7b8982b10;hpb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;p=lyx.git diff --git a/src/ServerSocket.h b/src/ServerSocket.h index 1899e8b9ae..c66658042f 100644 --- a/src/ServerSocket.h +++ b/src/ServerSocket.h @@ -15,18 +15,15 @@ #define LYXSERVERSOCKET_H #include "support/FileName.h" -#include "support/socktools.h" - -#include #include #include +#include namespace lyx { class LyXDataSocket; -class LyXFunc; /** Sockets can be in two states: listening and connected. @@ -41,7 +38,7 @@ class LyXFunc; class ServerSocket { public: /// - ServerSocket(LyXFunc *, support::FileName const &); + ServerSocket(support::FileName const &); /// ~ServerSocket(); /// Address of the local socket @@ -53,8 +50,6 @@ public: private: /// void writeln(std::string const &); - /// - LyXFunc * func; /// File descriptor for the server socket int fd_; /// Stores the socket filename @@ -64,7 +59,7 @@ private: MAX_CLIENTS = 10 }; /// All connections - std::map > clients; + std::map> clients; };