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