X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d8845c7819caac09b95c4cdf1e8d48cc1cb1b7a6..1c324d5b2380a68f209e65969079677dbaf1c511:/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 a30b992a..9f68a74d 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h +++ b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h @@ -1,22 +1,23 @@ -#ifndef __TARIFF_HELPER_H__ -#define __TARIFF_HELPER_H__ +#pragma once #include -#include "stg/tariff_conf.h" + +namespace STG +{ + +struct TariffData; + +} class TARIFF_HELPER { public: - explicit 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 - -