X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0683126dc365b9ce34b517547ce27dcbd4805556..05e29980ab6ee71b0436f7ca58d109a79a512b0f:/stglibs/srvconf.lib/parsers/get_admin.h?ds=sidebyside diff --git a/stglibs/srvconf.lib/parsers/get_admin.h b/stglibs/srvconf.lib/parsers/get_admin.h index 04ed892c..06a451ae 100644 --- a/stglibs/srvconf.lib/parsers/get_admin.h +++ b/stglibs/srvconf.lib/parsers/get_admin.h @@ -37,10 +37,13 @@ namespace GET_ADMIN class PARSER: public STG::PARSER { public: + typedef GET_ADMIN::INFO INFO; + PARSER(CALLBACK f, void * data); 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; @@ -52,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