X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/afcbfd1a09e22ff4839ba5db42047c96f355506c..2196a3a0cdc5384c082febb7f4aa5994cc7d80db:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h?ds=inline diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h index f781b9be..10f484d1 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; +class Users; +class 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