X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6171920df2f880303b54c19d7c5169c64b485585..02c7f0f453d4237a6cf6bec885863a32addb6d75:/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 0cda75b6..af77158d 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser.h +++ b/projects/stargazer/plugins/configuration/sgconfig/parser.h @@ -22,6 +22,7 @@ #define PARSER_H #include +#include class ADMIN; @@ -30,8 +31,9 @@ class BASE_PARSER public: struct FACTORY { - virtual BASE_PARSER * create() = 0; + virtual BASE_PARSER * create(const ADMIN & admin) = 0; }; + typedef std::map REGISTRY; BASE_PARSER(const ADMIN & admin, const std::string & t) : m_currAdmin(admin),