]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/messages_methods.h
More jthreads.
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / messages_methods.h
index c82ad13edb7d89a085db5462db1264060642e80e..210ef693029f446156510d7c39ff0ee8e007695a 100644 (file)
@@ -1,17 +1,21 @@
-#ifndef __MESSAGES_METHODS_H__
-#define __MESSAGES_METHODS_H__
+#pragma once
 
 #include <xmlrpc-c/base.hpp>
 #include <xmlrpc-c/registry.hpp>
 
-#include "../../../users.h"
+namespace STG
+{
+
+struct 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