X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d28e882282cf154bc39a70dee731711b19073eee..47b9e5ee87451a8a701e40cc1c027118ff309d72:/projects/stargazer/user_impl.h diff --git a/projects/stargazer/user_impl.h b/projects/stargazer/user_impl.h index 30b6aa78..75f02a0e 100644 --- a/projects/stargazer/user_impl.h +++ b/projects/stargazer/user_impl.h @@ -125,13 +125,15 @@ public: const STORE * store, const TARIFFS * tariffs, const ADMIN * sysAdmin, - const USERS * u); + const USERS * u, + const SERVICES & svcs); #else USER_IMPL(const SETTINGS_IMPL * settings, const STORE * store, const TARIFFS * tariffs, const ADMIN * sysAdmin, - const USERS * u); + const USERS * u, + const SERVICES & svcs); #endif USER_IMPL(const USER_IMPL & u); virtual ~USER_IMPL(); @@ -217,6 +219,7 @@ public: void ProcessDayFeeSpread(); void ProcessNewMonth(); void ProcessDailyFee(); + void ProcessServices(); bool IsInetable(); std::string GetEnabledDirs() const; @@ -269,6 +272,8 @@ private: const TARIFFS * tariffs; const TARIFF * tariff; + const SERVICES & m_services; + TRAFF_STAT traffStat; std::pair traffStatSaved;