]> git.stg.codes - stg.git/blobdiff - projects/sgconf/tariffs.h
Make time-sensitive tests in local machine time.
[stg.git] / projects / sgconf / tariffs.h
index b3cd99e0edf9a215e10a926ee9bd439c750beea8..b6b896dd25271d7e48288a02fe6dd4240330fa13 100644 (file)
@@ -1,34 +1,11 @@
-#ifndef __STG_SGCONF_TARIFFS_H__
-#define __STG_SGCONF_TARIFFS_H__
-
-#include <string>
-#include <map>
+#pragma once
 
 namespace SGCONF
 {
 
 
 namespace SGCONF
 {
 
-struct 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*/);
+class OPTION_BLOCKS;
+class COMMANDS;
 
 
-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);
-
-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
 
 } // namespace SGCONF
-
-#endif