X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..83ce40b2a471b560ec7516efebcb5ddcf7519071:/stargazer/plugins/other/radius/conn.h diff --git a/stargazer/plugins/other/radius/conn.h b/stargazer/plugins/other/radius/conn.h index 96e74300..0f902e9a 100644 --- a/stargazer/plugins/other/radius/conn.h +++ b/stargazer/plugins/other/radius/conn.h @@ -18,27 +18,25 @@ * Author : Maxim Mamontov */ -#ifndef __STG_SGCONFIG_CONN_H__ -#define __STG_SGCONFIG_CONN_H__ - -#include +#pragma once #include +#include -class USER; -class USERS; -class PLUGIN_LOGGER; class RADIUS; namespace STG { +struct Users; +class PluginLogger; + struct Config; class Conn { public: - Conn(USERS& users, PLUGIN_LOGGER& logger, RADIUS& plugin, const Config& config, int fd, const std::string& remote); + Conn(Users& users, PluginLogger& logger, RADIUS& plugin, const Config& config, int fd, const std::string& remote); ~Conn(); int sock() const; @@ -50,9 +48,7 @@ class Conn private: class Impl; - boost::scoped_ptr m_impl; + std::unique_ptr m_impl; }; } - -#endif