git.stg.codes
/
stg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
More std::jthread stuff.
[stg.git]
/
projects
/
stargazer
/
plugins
/
configuration
/
rpcconfig
/
tariff_helper.h
1
#pragma once
2
3
#include <xmlrpc-c/base.hpp>
4
5
namespace STG
6
{
7
8
struct TariffData;
9
10
}
11
12
class TARIFF_HELPER
13
{
14
public:
15
explicit TARIFF_HELPER(STG::TariffData & td)
16
: data(td)
17
{}
18
19
void GetTariffInfo(xmlrpc_c::value * info) const;
20
bool SetTariffInfo(const xmlrpc_c::value & info);
21
private:
22
STG::TariffData & data;
23
};