X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bdd487e027c6f6c752eacc71aa75055e1323cd7f..cd0bf130b165970760884e279bb4301d3f6946ca:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h index b381d16c..cb72bbf7 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h +++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h @@ -1,11 +1,14 @@ #ifndef __INFO_METHODS_H__ #define __INFO_METHODS_H__ +#include +#include + #include #include -#include "users.h" -#include "tariffs.h" +#include "stg/users.h" +#include "stg/tariffs.h" // Forward declaration class RPC_CONFIG; @@ -16,19 +19,26 @@ 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) { } void execute(xmlrpc_c::paramList const & paramList, xmlrpc_c::value * const retvalP); + private: + METHOD_INFO(const METHOD_INFO & rvalue); + METHOD_INFO & operator=(const METHOD_INFO & rvalue); + TARIFFS * tariffs; USERS * users; - const SETTINGS * settings; + size_t dayFee; + const std::vector & dirNames; }; class METHOD_LOGIN : public xmlrpc_c::method @@ -41,7 +51,11 @@ public: void execute(xmlrpc_c::paramList const & paramList, xmlrpc_c::value * const retvalP); + private: + METHOD_LOGIN(const METHOD_LOGIN & rvalue); + METHOD_LOGIN & operator=(const METHOD_LOGIN & rvalue); + RPC_CONFIG * config; }; @@ -55,7 +69,11 @@ public: void execute(xmlrpc_c::paramList const & paramList, xmlrpc_c::value * const retvalP); + private: + METHOD_LOGOUT(const METHOD_LOGOUT & rvalue); + METHOD_LOGOUT & operator=(const METHOD_LOGOUT & rvalue); + RPC_CONFIG * config; };