X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/c4456f2cae7261f7263e3708ff995bade7da722f..61b5cf35c82a5850ceb07fca5232a409e249444c:/projects/stargazer/plugins/configuration/sgconfig/configproto.h?ds=sidebyside diff --git a/projects/stargazer/plugins/configuration/sgconfig/configproto.h b/projects/stargazer/plugins/configuration/sgconfig/configproto.h index ccb8a4d7..4adba097 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/configproto.h +++ b/projects/stargazer/plugins/configuration/sgconfig/configproto.h @@ -28,12 +28,8 @@ #ifndef CONFIGPROTO_H #define CONFIGPROTO_H -#include -#include -#include - -#include -#include +#include "parser_auth_by.h" +#include "parser_user_info.h" #include "stg/users.h" #include "stg/admins.h" @@ -41,7 +37,12 @@ #include "stg/logger.h" #include "parser.h" -#include "parser_auth_by.h" +#include +#include + +#include +#include +#include #define STG_HEADER "SG04" #define OK_HEADER "OKHD" @@ -57,7 +58,7 @@ public: CONFIGPROTO(PLUGIN_LOGGER & l); ~CONFIGPROTO(); - void SetPort(uint16_t port); + void SetPort(uint16_t p) { port = p; } void SetAdmins(ADMINS * a); void SetUsers(USERS * u); void SetTariffs(TARIFFS * t); @@ -110,6 +111,7 @@ private: PARSER_CHECK_USER parserCheckUser; PARSER_SEND_MESSAGE parserSendMessage; PARSER_AUTH_BY parserAuthBy; + PARSER_USER_INFO parserUserInfo; PARSER_GET_ADMINS parserGetAdmins; PARSER_ADD_ADMIN parserAddAdmin;