]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h
Ticket 37. The 'change_policy_timeout' field added. DROP DEFAULT added
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / tariff_helper.h
1 #ifndef __TARIFF_HELPER_H__
2 #define __TARIFF_HELPER_H__
3
4 #include <xmlrpc-c/base.hpp>
5 #include "stg/tariff_conf.h"
6
7 class TARIFF_HELPER
8 {
9 public:
10     TARIFF_HELPER(TARIFF_DATA & td)
11         : data(td)
12     {}
13
14     void GetTariffInfo(xmlrpc_c::value * info) const;
15     bool SetTariffInfo(const xmlrpc_c::value & info);
16 private:
17     TARIFF_DATA & data;
18 };
19
20 #endif
21
22