X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ede91934442fd804d7b818971a44e3ad795cb01f..b6dc7c53f5374b1798d74fe752e962266645cca0:/projects/stargazer/users_impl.h?ds=inline diff --git a/projects/stargazer/users_impl.h b/projects/stargazer/users_impl.h index 966487df..7a2fc0f9 100644 --- a/projects/stargazer/users_impl.h +++ b/projects/stargazer/users_impl.h @@ -39,7 +39,7 @@ $Author: faust $ #include "os_int.h" #include "store.h" -#include "settings.h" +#include "settings_impl.h" #include "users.h" #include "user.h" #include "user_impl.h" @@ -92,7 +92,7 @@ class USERS_IMPL : private NONCOPYABLE, public USERS { friend class PROPERTY_NOTIFER_IP_AFTER; public: - USERS_IMPL(SETTINGS * s, STORE * store, TARIFFS * tariffs, const ADMIN & sysAdmin); + USERS_IMPL(SETTINGS_IMPL * s, STORE * store, TARIFFS * tariffs, const ADMIN * sysAdmin); virtual ~USERS_IMPL(); int FindByName(const std::string & login, USER_PTR * user); @@ -105,8 +105,8 @@ public: void AddNotifierUserDel(NOTIFIER_BASE *); void DelNotifierUserDel(NOTIFIER_BASE *); - int Add(const std::string & login, const ADMIN & admin); - void Del(const std::string & login, const ADMIN & admin); + int Add(const std::string & login, const ADMIN * admin); + void Del(const std::string & login, const ADMIN * admin); int ReadUsers(); int GetUserNum() const; @@ -151,10 +151,10 @@ private: std::map ipIndex; std::map loginIndex; - SETTINGS * settings; + SETTINGS_IMPL * settings; TARIFFS * tariffs; STORE * store; - const ADMIN & sysAdmin; + const ADMIN * sysAdmin; STG_LOGGER & WriteServLog; bool nonstop;