]> git.stg.codes - stg.git/blobdiff - projects/sgconf/tariffs.h
Minor changes.
[stg.git] / projects / sgconf / tariffs.h
index 28f25f9128b945070d431332bfd1a89146e86677..cde906bf9e3e045c88e7a1f00fa538d703afaa30 100644 (file)
@@ -1,33 +1,13 @@
 #ifndef __STG_SGCONF_TARIFFS_H__
 #define __STG_SGCONF_TARIFFS_H__
 
-#include <string>
-#include <map>
-
 namespace SGCONF
 {
 
-class CONFIG;
-
-bool GetTariffsFunction(const CONFIG & config,
-                        const std::string & /*arg*/,
-                        const std::map<std::string, std::string> & /*options*/);
-
-bool GetTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & /*options*/);
-
-bool DelTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & /*options*/);
-
-bool AddTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & options);
+class OPTION_BLOCKS;
+class COMMANDS;
 
-bool ChgTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & options);
+void AppendTariffsOptionBlock(COMMANDS & commands, OPTION_BLOCKS & blocks);
 
 } // namespace SGCONF