X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/76fb825a64343da7a8aa9b16c5dbcab709504832..6b29e16ef9b86fea7d629b23fc55eab3b58a297b:/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..12050752 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,10 @@ namespace GET_USER class PARSER: public STG::PARSER { public: - PARSER(); + 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;