X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3df642f3d2537dc5531a8d91c6d85927b34b46c7..85f8f0b545228f3cffec62d8e2251e756a2fac15:/projects/stargazer/plugins/configuration/sgconfig/parser.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser.h b/projects/stargazer/plugins/configuration/sgconfig/parser.h index df3d7155..636fa542 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser.h +++ b/projects/stargazer/plugins/configuration/sgconfig/parser.h @@ -7,10 +7,6 @@ #ifndef PARSER_H #define PARSER_H -#include -#include -#include - #include "stg/resetable.h" #include "stg/const.h" #include "stg/store.h" @@ -19,6 +15,10 @@ #include "stg/users.h" #include "stg/message.h" +#include +#include +#include + class TARIFFS; class SETTINGS; @@ -236,9 +236,7 @@ public: PARSER_CHECK_USER() : BASE_PARSER(), result(false) {} int ParseStart(void *data, const char *el, const char **attr); int ParseEnd(void *data, const char *el); - void CreateAnswer(); -private: - bool result; + void CreateAnswer(const char * error); }; //----------------------------------------------------------------------------- class PARSER_SEND_MESSAGE: public BASE_PARSER {