X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..c016156ebb870d9d81219b8c4165aa75703f1e85:/projects/stargazer/plugins/configuration/rpcconfig/users_methods.h?ds=inline diff --git a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.h index ee8e656e..04725804 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.h +++ b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.h @@ -4,10 +4,12 @@ #include #include -#include "../../../users.h" -#include "../../../user.h" - class RPC_CONFIG; +class ADMINS; +class TARIFFS; +class USERS; +class STORE; +struct IP_MASK; class METHOD_USER_GET : public xmlrpc_c::method { public: @@ -83,10 +85,12 @@ class METHOD_USER_CHG : public xmlrpc_c::method { public: METHOD_USER_CHG(RPC_CONFIG * c, ADMINS * a, - BASE_STORE * s, + TARIFFS * t, + STORE * s, USERS * u) : config(c), admins(a), + tariffs(t), store(s), users(u) { @@ -97,7 +101,8 @@ public: private: RPC_CONFIG * config; ADMINS * admins; - BASE_STORE * store; + TARIFFS * tariffs; + STORE * store; USERS * users; }; @@ -105,7 +110,7 @@ class METHOD_USER_CASH_ADD : public xmlrpc_c::method { public: METHOD_USER_CASH_ADD(RPC_CONFIG * c, ADMINS * a, - BASE_STORE * s, + STORE * s, USERS * u) : config(c), admins(a), @@ -119,7 +124,7 @@ public: private: RPC_CONFIG * config; ADMINS * admins; - BASE_STORE * store; + STORE * store; USERS * users; }; @@ -127,7 +132,7 @@ class METHOD_USER_CASH_SET : public xmlrpc_c::method { public: METHOD_USER_CASH_SET(RPC_CONFIG * c, ADMINS * a, - BASE_STORE * s, + STORE * s, USERS * u) : config(c), admins(a), @@ -141,7 +146,7 @@ public: private: RPC_CONFIG * config; ADMINS * admins; - BASE_STORE * store; + STORE * store; USERS * users; }; @@ -150,7 +155,7 @@ public: METHOD_USER_TARIFF_CHANGE(RPC_CONFIG * c, ADMINS * a, TARIFFS * t, - BASE_STORE * s, + STORE * s, USERS * u) : config(c), admins(a), @@ -166,7 +171,7 @@ private: RPC_CONFIG * config; ADMINS * admins; TARIFFS * tariffs; - BASE_STORE * store; + STORE * store; USERS * users; };