X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8c6fa3fbaccc22127280bf77a48fab5a3ee0716e..46b0747592074017ff0ea4b33d4a7194235886e5:/stargazer/plugins/configuration/rpcconfig/tariff_helper.h diff --git a/stargazer/plugins/configuration/rpcconfig/tariff_helper.h b/stargazer/plugins/configuration/rpcconfig/tariff_helper.h new file mode 100644 index 00000000..a30b992a --- /dev/null +++ b/stargazer/plugins/configuration/rpcconfig/tariff_helper.h @@ -0,0 +1,22 @@ +#ifndef __TARIFF_HELPER_H__ +#define __TARIFF_HELPER_H__ + +#include +#include "stg/tariff_conf.h" + +class TARIFF_HELPER +{ +public: + explicit TARIFF_HELPER(TARIFF_DATA & td) + : data(td) + {} + + void GetTariffInfo(xmlrpc_c::value * info) const; + bool SetTariffInfo(const xmlrpc_c::value & info); +private: + TARIFF_DATA & data; +}; + +#endif + +