X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a8689998a9b2cfc17dc260b423cce8ff2e407adb..61b5cf35c82a5850ceb07fca5232a409e249444c:/stglibs/srvconf.lib/include/stg/parser_get_user.h?ds=sidebyside diff --git a/stglibs/srvconf.lib/include/stg/parser_get_user.h b/stglibs/srvconf.lib/include/stg/parser_get_user.h index 8fc894a4..7b6032e0 100644 --- a/stglibs/srvconf.lib/include/stg/parser_get_user.h +++ b/stglibs/srvconf.lib/include/stg/parser_get_user.h @@ -22,9 +22,10 @@ #ifndef __STG_STGLIBS_SRVCONF_PARSER_GET_USER_H__ #define __STG_STGLIBS_SRVCONF_PARSER_GET_USER_H__ -#include "stg/parser.h" +#include "parser.h" #include "stg/os_int.h" +#include "stg/const.h" #include #include @@ -34,11 +35,12 @@ class BASE_PROPERTY_PARSER { public: - virtual bool Parse(const char ** attr) = 0; -} + virtual ~BASE_PROPERTY_PARSER() {} + virtual void Parse(const char ** attr) = 0; +}; template -class PROPERTY_PARSER +class PROPERTY_PARSER : public BASE_PROPERTY_PARSER { public: typedef T (* FUNC)(const char **);