X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..ce4df22d851ab9ba93374415363809aba1f43b59:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h index 37bbb40d..60a2b319 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h @@ -1,25 +1,30 @@ #ifndef __INFO_METHODS_H__ #define __INFO_METHODS_H__ +#include +#include + #include #include -#include "../../../users.h" -#include "../../../tariffs.h" -#include "../../../settings.h" +#include "stg/users.h" +#include "stg/tariffs.h" // Forward declaration class RPC_CONFIG; +class SETTINGS; class METHOD_INFO : public xmlrpc_c::method { public: METHOD_INFO(TARIFFS * t, USERS * u, - const SETTINGS * s) + size_t df, + const std::vector & dn) : tariffs(t), users(u), - settings(s) + dayFee(df), + dirNames(dn) { } @@ -28,7 +33,8 @@ public: private: TARIFFS * tariffs; USERS * users; - const SETTINGS * settings; + size_t dayFee; + const std::vector & dirNames; }; class METHOD_LOGIN : public xmlrpc_c::method