X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8b2d407ef1f52d42ca30d8f5e23c7a4277a2acd5..0a2687358e50cb8950667f050455281af6d1e1ae:/stglibs/srvconf.lib/include/stg/parser_send_message.h diff --git a/stglibs/srvconf.lib/include/stg/parser_send_message.h b/stglibs/srvconf.lib/include/stg/parser_send_message.h index d14153e0..912d507e 100644 --- a/stglibs/srvconf.lib/include/stg/parser_send_message.h +++ b/stglibs/srvconf.lib/include/stg/parser_send_message.h @@ -24,10 +24,15 @@ #include "parser.h" +#include + +namespace STG +{ + class PARSER_SEND_MESSAGE: public PARSER { public: - typedef int (* CALLBACK)(const char * answer, void * data); + typedef void (* CALLBACK)(bool result, const std::string& reason, void * data); PARSER_SEND_MESSAGE(); int ParseStart(const char * el, const char ** attr); @@ -41,4 +46,6 @@ private: void ParseAnswer(const char * el, const char ** attr); }; +} // namespace STG + #endif