X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/4271ab433cd55bbd2612292bcf39e4dc3d7274f1..0907aa4037b12b6b88ee24495d4577a064d4f8db:/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h diff --git a/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h new file mode 100644 index 00000000..9f68a74d --- /dev/null +++ b/projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h @@ -0,0 +1,23 @@ +#pragma once + +#include + +namespace STG +{ + +struct TariffData; + +} + +class TARIFF_HELPER +{ +public: + explicit TARIFF_HELPER(STG::TariffData & td) + : data(td) + {} + + void GetTariffInfo(xmlrpc_c::value * info) const; + bool SetTariffInfo(const xmlrpc_c::value & info); +private: + STG::TariffData & data; +};