X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/df9f528d8ea5b3ba19bebcaf0324c3282edeffcc..1487578f4887f49661320e24e311074a9af36f80:/projects/stargazer/plugins/configuration/sgconfig/parser.h?ds=inline 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),