X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/bdd487e027c6f6c752eacc71aa75055e1323cd7f..3271a865ea0cf4a74d41b97148ccc2356be756b7:/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
index b381d16c..60a2b319 100644
--- a/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h
+++ b/projects/stargazer/plugins/configuration/rpcconfig/info_methods.h
@@ -1,11 +1,14 @@
 #ifndef __INFO_METHODS_H__
 #define __INFO_METHODS_H__
 
+#include <string>
+#include <vector>
+
 #include <xmlrpc-c/base.hpp>
 #include <xmlrpc-c/registry.hpp>
 
-#include "users.h"
-#include "tariffs.h"
+#include "stg/users.h"
+#include "stg/tariffs.h"
 
 // Forward declaration
 class RPC_CONFIG;
@@ -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