]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/users_methods.h
Readme for sgauth removed, CHANGES and TODO made empty
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / users_methods.h
index ee8e656ec1ad98d3dbf4dbf0a9e752f41716f9f5..956a2f190feabe552bf3a11a33384c27bd1490d7 100644 (file)
@@ -4,10 +4,13 @@
 #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 BASE_STORE;
+class IP_MASK;
 
 class METHOD_USER_GET : public xmlrpc_c::method {
 public:
@@ -83,10 +86,12 @@ class METHOD_USER_CHG : public xmlrpc_c::method {
 public:
     METHOD_USER_CHG(RPC_CONFIG * c,
                     ADMINS * a,
+                    TARIFFS * t,
                     BASE_STORE * s,
                     USERS * u)
         : config(c),
           admins(a),
+          tariffs(t),
           store(s),
           users(u)
     {
@@ -97,6 +102,7 @@ public:
 private:
     RPC_CONFIG * config;
     ADMINS * admins;
+    TARIFFS * tariffs;
     BASE_STORE * store;
     USERS * users;
 };