X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/64b687f8ec36a103865044613cb0f42f98aeda3a..8f8cc12362a05f4163db159c40579745b4b7aba6:/stglibs/srvconf.lib/parsers/base.h diff --git a/stglibs/srvconf.lib/parsers/base.h b/stglibs/srvconf.lib/parsers/base.h index 8d695a3a..4f84d874 100644 --- a/stglibs/srvconf.lib/parsers/base.h +++ b/stglibs/srvconf.lib/parsers/base.h @@ -22,6 +22,8 @@ #ifndef __STG_STGLIBS_SRVCONF_PARSER_H__ #define __STG_STGLIBS_SRVCONF_PARSER_H__ +#include + namespace STG { @@ -29,8 +31,9 @@ class PARSER { public: virtual ~PARSER() {} - virtual int ParseStart(const char *el, const char **attr) = 0; - virtual void ParseEnd(const char *el) = 0; + virtual int ParseStart(const char * el, const char ** attr) = 0; + virtual void ParseEnd(const char * el) = 0; + virtual void Failure(const std::string & reason) = 0; }; } // namespace STG