X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8569ecdc2c9368dc0fe650b901cce7b37337ffec..b339e207d5ee50c2766c04eb71904f28875e50ce:/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