#include <xmlrpc-c/base.hpp>
#include <xmlrpc-c/registry.hpp>
-#include "../../../users.h"
-#include "../../../user.h"
-
class RPC_CONFIG;
+class ADMINS;
+class TARIFFS;
+class USERS;
+class STORE;
+class IP_MASK;
class METHOD_USER_GET : public xmlrpc_c::method {
public:
public:
METHOD_USER_CHG(RPC_CONFIG * c,
ADMINS * a,
- BASE_STORE * s,
+ TARIFFS * t,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
+ tariffs(t),
store(s),
users(u)
{
private:
RPC_CONFIG * config;
ADMINS * admins;
- BASE_STORE * store;
+ TARIFFS * tariffs;
+ STORE * store;
USERS * users;
};
public:
METHOD_USER_CASH_ADD(RPC_CONFIG * c,
ADMINS * a,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
private:
RPC_CONFIG * config;
ADMINS * admins;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};
public:
METHOD_USER_CASH_SET(RPC_CONFIG * c,
ADMINS * a,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
private:
RPC_CONFIG * config;
ADMINS * admins;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};
METHOD_USER_TARIFF_CHANGE(RPC_CONFIG * c,
ADMINS * a,
TARIFFS * t,
- BASE_STORE * s,
+ STORE * s,
USERS * u)
: config(c),
admins(a),
RPC_CONFIG * config;
ADMINS * admins;
TARIFFS * tariffs;
- BASE_STORE * store;
+ STORE * store;
USERS * users;
};