]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/configuration/rpcconfig/tariff_helper.h
Добавление исходников
[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 "../../../tariff.h"
6 #include "tariff_conf.h"
7
8 class TARIFF_HELPER
9 {
10 public:
11     TARIFF_HELPER(TARIFF_DATA & td)
12         : data(td)
13     {}
14
15     void GetTariffInfo(xmlrpc_c::value * info) const;
16     bool SetTariffInfo(const xmlrpc_c::value & info);
17 private:
18     TARIFF_DATA & data;
19 };
20
21 #endif
22
23