X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/b3139bf3f37b3b0244efea8b4b5e5a7d0bc90095..34d407f7df45b5faaa25a92a04e8582f95162f31:/stglibs/srvconf.lib/parsers/base.h?ds=inline 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