]> git.stg.codes - stg.git/blobdiff - projects/sgconf/corps.h
stg-2.409 pre-merge.
[stg.git] / projects / sgconf / corps.h
index 58a65161b668426e1f717802362665cfefcdcbd7..de823b7b43c9c6bfa180c2d112cd8c6f24966657 100644 (file)
@@ -1,33 +1,13 @@
 #ifndef __STG_SGCONF_CORPS_H__
 #define __STG_SGCONF_CORPS_H__
 
-#include <string>
-#include <map>
-
 namespace SGCONF
 {
 
-struct CONFIG;
-
-bool GetCorpsFunction(const CONFIG & config,
-                      const std::string & /*arg*/,
-                      const std::map<std::string, std::string> & /*options*/);
-
-bool GetCorpFunction(const CONFIG & config,
-                     const std::string & arg,
-                     const std::map<std::string, std::string> & /*options*/);
-
-bool DelCorpFunction(const CONFIG & config,
-                     const std::string & arg,
-                     const std::map<std::string, std::string> & /*options*/);
-
-bool AddCorpFunction(const CONFIG & config,
-                     const std::string & arg,
-                     const std::map<std::string, std::string> & options);
+class OPTION_BLOCKS;
+class COMMANDS;
 
-bool ChgCorpFunction(const CONFIG & config,
-                     const std::string & arg,
-                     const std::map<std::string, std::string> & options);
+void AppendCorpsOptionBlock(COMMANDS & commands, OPTION_BLOCKS & blocks);
 
 } // namespace SGCONF