]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.h
Include algorithm in divert_cap.cpp for find
[stg.git] / projects / stargazer / user_impl.h
index ad5b451601a7aa05cac07aa3a01bea994e91aa6d..7019c3c9d0aa7cd2010a6ffd3c46ef4fd4b6bb48 100644 (file)
@@ -48,6 +48,7 @@ class TARIFF;
 class TARIFFS;
 class ADMIN;
 class USER_IMPL;
+class SETTINGS_IMPL;
 //-----------------------------------------------------------------------------
 class USER_ID_GENERATOR {
 friend class USER_IMPL;
@@ -102,10 +103,10 @@ friend class CHG_TARIFF_NOTIFIER;
 friend class CHG_CASH_NOTIFIER;
 friend class CHG_IP_NOTIFIER;
 public:
-    USER_IMPL(const SETTINGS * settings,
+    USER_IMPL(const SETTINGS_IMPL * settings,
               const STORE * store,
               const TARIFFS * tariffs,
-              const ADMIN & sysAdmin,
+              const ADMIN * sysAdmin,
               const USERS * u);
     USER_IMPL(const USER_IMPL & u);
     virtual ~USER_IMPL();
@@ -221,7 +222,7 @@ private:
 
     time_t          pingTime;
 
-    const ADMIN &   sysAdmin;
+    const ADMIN *   sysAdmin;
     const STORE *   store;
 
     const TARIFFS * tariffs;
@@ -230,7 +231,7 @@ private:
     TRAFF_STAT      traffStat;
     std::pair<time_t, TRAFF_STAT> traffStatSaved;
 
-    const SETTINGS * settings;
+    const SETTINGS_IMPL * settings;
 
     std::set<const AUTH *> authorizedBy;