X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..611c8051a2ae58a1c306675c8250865e12563834:/stargazer/plugins/configuration/rpcconfig/info_methods.h?ds=sidebyside diff --git a/stargazer/plugins/configuration/rpcconfig/info_methods.h b/stargazer/plugins/configuration/rpcconfig/info_methods.h index f781b9be..709a0666 100644 --- a/stargazer/plugins/configuration/rpcconfig/info_methods.h +++ b/stargazer/plugins/configuration/rpcconfig/info_methods.h @@ -1,24 +1,28 @@ -#ifndef __INFO_METHODS_H__ -#define __INFO_METHODS_H__ +#pragma once + +#include +#include #include #include -#include -#include +namespace STG +{ -#include "stg/users.h" -#include "stg/tariffs.h" +struct Settings; +struct Users; +struct Tariffs; + +} // Forward declaration class RPC_CONFIG; -class SETTINGS; class METHOD_INFO : public xmlrpc_c::method { public: - METHOD_INFO(TARIFFS * t, - USERS * u, + METHOD_INFO(STG::Tariffs * t, + STG::Users * u, size_t df, const std::vector & dn) : tariffs(t), @@ -35,8 +39,8 @@ private: METHOD_INFO(const METHOD_INFO & rvalue); METHOD_INFO & operator=(const METHOD_INFO & rvalue); - TARIFFS * tariffs; - USERS * users; + STG::Tariffs * tariffs; + STG::Users * users; size_t dayFee; const std::vector & dirNames; }; @@ -76,5 +80,3 @@ private: RPC_CONFIG * config; }; - -#endif