X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8569ecdc2c9368dc0fe650b901cce7b37337ffec..e8755e448558202feb64092ef8b1d91569ecc7db:/stglibs/srvconf.lib/parsers/get_admin.h diff --git a/stglibs/srvconf.lib/parsers/get_admin.h b/stglibs/srvconf.lib/parsers/get_admin.h index d8e2fe9e..06a451ae 100644 --- a/stglibs/srvconf.lib/parsers/get_admin.h +++ b/stglibs/srvconf.lib/parsers/get_admin.h @@ -43,6 +43,7 @@ public: virtual ~PARSER(); int ParseStart(const char * el, const char ** attr); void ParseEnd(const char * el); + void Failure(const std::string & reason) { callback(false, reason, info, data); } private: PROPERTY_PARSERS propertyParsers; @@ -54,7 +55,7 @@ private: std::string error; void ParseAdmin(const char * el, const char ** attr); - void ParseAdminParams(const char * el, const char ** attr); + //void ParseAdminParams(const char * el, const char ** attr); }; } // namespace GET_ADMIN