diff options
Diffstat (limited to 'server/include/server.h')
-rw-r--r-- | server/include/server.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/include/server.h b/server/include/server.h index 699fb01..046628a 100644 --- a/server/include/server.h +++ b/server/include/server.h @@ -26,6 +26,7 @@ #include <boost/asio/ssl.hpp> #include "config.h" #include "client.h" +#include "download_internal.h" //TODO ssl @@ -35,7 +36,7 @@ class server_session; class server { public: - server(boost::asio::io_service& io_service, runtime_config_s &config, std::map<std::string, client*> &clients, short port); + server(boost::asio::io_service& io_service, runtime_config_s &config, std::map<std::string, client*> &clients, std::map<int, download_internal_s> &downloads, short port); private: void start_accept(); @@ -46,6 +47,7 @@ private: boost::asio::ssl::context *context_; runtime_config_s &runtime_config; std::map<std::string, client*> &clients; + std::map<int, download_internal_s> &downloads; }; |