X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c65b73de5dfbbb54f7b977a9fcd72d1abbb1e827..a9b057b8c963da58cd4b40ed2cb5cc4b89bc203e:/projects/stargazer/plugins/configuration/sgconfig/parser.h

diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser.h b/projects/stargazer/plugins/configuration/sgconfig/parser.h
index 035dae8f..af77158d 100644
--- a/projects/stargazer/plugins/configuration/sgconfig/parser.h
+++ b/projects/stargazer/plugins/configuration/sgconfig/parser.h
@@ -22,12 +22,19 @@
 #define PARSER_H
 
 #include <string>
+#include <map>
 
 class ADMIN;
 
 class BASE_PARSER
 {
     public:
+        struct FACTORY
+        {
+            virtual BASE_PARSER * create(const ADMIN & admin) = 0;
+        };
+        typedef std::map<std::string, FACTORY *> REGISTRY;
+
         BASE_PARSER(const ADMIN & admin, const std::string & t)
             : m_currAdmin(admin),
               m_depth(0),