1 #ifndef __INFO_METHODS_H__
2 #define __INFO_METHODS_H__
4 #include <xmlrpc-c/base.hpp>
5 #include <xmlrpc-c/registry.hpp>
7 #include "../../../users.h"
8 #include "../../../tariffs.h"
9 #include "../../../settings.h"
11 // Forward declaration
14 class METHOD_INFO : public xmlrpc_c::method
17 METHOD_INFO(TARIFFS * t,
26 void execute(xmlrpc_c::paramList const & paramList,
27 xmlrpc_c::value * const retvalP);
31 const SETTINGS * settings;
34 class METHOD_LOGIN : public xmlrpc_c::method
37 METHOD_LOGIN(RPC_CONFIG * c)
42 void execute(xmlrpc_c::paramList const & paramList,
43 xmlrpc_c::value * const retvalP);
48 class METHOD_LOGOUT : public xmlrpc_c::method
51 METHOD_LOGOUT(RPC_CONFIG * c)
56 void execute(xmlrpc_c::paramList const & paramList,
57 xmlrpc_c::value * const retvalP);