X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bdd487e027c6f6c752eacc71aa75055e1323cd7f..46b0747592074017ff0ea4b33d4a7194235886e5:/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h diff --git a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h deleted file mode 100644 index b381d16c..00000000 --- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef __INFO_METHODS_H__ -#define __INFO_METHODS_H__ - -#include -#include - -#include "users.h" -#include "tariffs.h" - -// Forward declaration -class RPC_CONFIG; -class SETTINGS; - -class METHOD_INFO : public xmlrpc_c::method -{ -public: - METHOD_INFO(TARIFFS * t, - USERS * u, - const SETTINGS * s) - : tariffs(t), - users(u), - settings(s) - { - } - - void execute(xmlrpc_c::paramList const & paramList, - xmlrpc_c::value * const retvalP); -private: - TARIFFS * tariffs; - USERS * users; - const SETTINGS * settings; -}; - -class METHOD_LOGIN : public xmlrpc_c::method -{ -public: - METHOD_LOGIN(RPC_CONFIG * c) - : config(c) - { - } - - void execute(xmlrpc_c::paramList const & paramList, - xmlrpc_c::value * const retvalP); -private: - RPC_CONFIG * config; -}; - -class METHOD_LOGOUT : public xmlrpc_c::method -{ -public: - METHOD_LOGOUT(RPC_CONFIG * c) - : config(c) - { - } - - void execute(xmlrpc_c::paramList const & paramList, - xmlrpc_c::value * const retvalP); -private: - RPC_CONFIG * config; -}; - -#endif