X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..085c36723242f7bd1e0fd9bf49b950da6cb96039:/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.h b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.h index c82ad13e..58e32f5b 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.h +++ b/projects/stargazer/plugins/configuration/rpcconfig/messages_methods.h @@ -1,17 +1,21 @@ -#ifndef __MESSAGES_METHODS_H__ -#define __MESSAGES_METHODS_H__ +#pragma once #include #include -#include "../../../users.h" +namespace STG +{ + +class Users; + +} class RPC_CONFIG; class METHOD_MESSAGE_SEND : public xmlrpc_c::method { public: METHOD_MESSAGE_SEND(RPC_CONFIG * c, - USERS * u) + STG::Users * u) : config(c), users(u) { @@ -19,9 +23,11 @@ public: void execute(xmlrpc_c::paramList const & paramList, xmlrpc_c::value * const retvalPtr); + private: + METHOD_MESSAGE_SEND(const METHOD_MESSAGE_SEND & rvalue); + METHOD_MESSAGE_SEND & operator=(const METHOD_MESSAGE_SEND & rvalue); + RPC_CONFIG * config; - USERS * users; + STG::Users * users; }; - -#endif