X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/393d6e8e0a108dbca6a0ef2dde96f23be2ce2987..76dfa1976656bc8a0781050b675d9ea5875f8b1b:/projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h b/projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h new file mode 100644 index 00000000..91b022f1 --- /dev/null +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_user_info.h @@ -0,0 +1,39 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* + * Author : Maxim Mamontov + */ + +#ifndef __STG_PARSER_USER_INFO_H__ +#define __STG_PARSER_USER_INFO_H__ + +#include + +#include "parser.h" + +class PARSER_USER_INFO : public BASE_PARSER { +public: + int ParseStart(void *data, const char *el, const char **attr); + int ParseEnd(void *data, const char *el); + +private: + std::string login; + + void CreateAnswer(); +}; + +#endif