X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..2574a28cbf000603bc31f61593dbf061ff56c1d5:/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h index e7b1c6df..9f68a74d 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h +++ b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h @@ -1,23 +1,23 @@ -#ifndef __TARIFF_HELPER_H__ -#define __TARIFF_HELPER_H__ +#pragma once #include -#include "../../../tariff.h" -#include "tariff_conf.h" + +namespace STG +{ + +struct TariffData; + +} class TARIFF_HELPER { public: - TARIFF_HELPER(TARIFF_DATA & td) + explicit TARIFF_HELPER(STG::TariffData & td) : data(td) {} void GetTariffInfo(xmlrpc_c::value * info) const; bool SetTariffInfo(const xmlrpc_c::value & info); private: - TARIFF_DATA & data; + STG::TariffData & data; }; - -#endif - -