X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/76fb825a64343da7a8aa9b16c5dbcab709504832..baaffcbb18847d38ac7413c91abc361eaad8007b:/stglibs/srvconf.lib/parsers/get_user.h diff --git a/stglibs/srvconf.lib/parsers/get_user.h b/stglibs/srvconf.lib/parsers/get_user.h index c8c371d7..519d67b6 100644 --- a/stglibs/srvconf.lib/parsers/get_user.h +++ b/stglibs/srvconf.lib/parsers/get_user.h @@ -22,8 +22,8 @@ #ifndef __STG_STGLIBS_SRVCONF_PARSER_GET_USER_H__ #define __STG_STGLIBS_SRVCONF_PARSER_GET_USER_H__ -#include "parser.h" -#include "property_parsers.h" +#include "base.h" +#include "property.h" #include "stg/servconf_types.h" @@ -37,11 +37,12 @@ namespace GET_USER class PARSER: public STG::PARSER { public: - PARSER(); + typedef GET_USER::INFO INFO; + + PARSER(CALLBACK f, void * data); virtual ~PARSER(); int ParseStart(const char * el, const char ** attr); void ParseEnd(const char * el); - void SetCallback(CALLBACK f, void * data); private: PROPERTY_PARSERS propertyParsers;