X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fserver%2FServer.hpp;fp=src%2Fserver%2FServer.hpp;h=cf4fc0433e889f5966bee3806eee1427d57c521c;hb=b066e776622f96e906600a0c4a08de392bd03676;hp=bf2399180111354191c2a922bfe6754c84464ac7;hpb=e1209ec25c4cc91e13889876106f56bd51aa96e2;p=blank.git diff --git a/src/server/Server.hpp b/src/server/Server.hpp index bf23991..cf4fc04 100644 --- a/src/server/Server.hpp +++ b/src/server/Server.hpp @@ -1,6 +1,8 @@ #ifndef BLANK_SERVER_SERVER_HPP #define BLANK_SERVER_SERVER_HPP +#include "../app/Config.hpp" + #include #include @@ -17,12 +19,7 @@ class ClientConnection; class Server { public: - struct Config { - Uint16 port = 12354; - }; - -public: - Server(const Config &, World &); + Server(const Config::Network &, World &); ~Server(); void Handle();