]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/rpcconfig/info_methods.h
Make DEL_USER_NOTIFIER a friend class for AUTH_IA
[stg.git] / projects / stargazer / plugins / configuration / rpcconfig / info_methods.h
index b381d16ca24e92a978eb2a5dd16cd47b37f4ac40..a404839bb827010afef84efc5a0b74dca7405f2e 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef __INFO_METHODS_H__
 #define __INFO_METHODS_H__
 
+#include <string>
+#include <vector>
+
 #include <xmlrpc-c/base.hpp>
 #include <xmlrpc-c/registry.hpp>
 
@@ -16,10 +19,12 @@ class METHOD_INFO : public xmlrpc_c::method
 public:
     METHOD_INFO(TARIFFS * t,
                 USERS * u,
-                const SETTINGS * s)
+                size_t df,
+                const std::vector<std::string> & dn)
         : tariffs(t),
           users(u),
-          settings(s)
+          dayFee(df),
+          dirNames(dn)
     {
     }
 
@@ -28,7 +33,8 @@ public:
 private:
     TARIFFS * tariffs;
     USERS * users;
-    const SETTINGS * settings;
+    size_t dayFee;
+    const std::vector<std::string> & dirNames;
 };
 
 class METHOD_LOGIN : public xmlrpc_c::method