X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/afcbfd1a09e22ff4839ba5db42047c96f355506c..90b793eb07dc190eeb1144a1da079de760d17c36:/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 f781b9be..709a0666 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h +++ b/projects/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