complex macros with ;

This commit is contained in:
2022-07-25 11:18:09 +03:00
parent a1b9b7e1d6
commit a4882dc054
49 changed files with 137 additions and 137 deletions

View File

@@ -76,19 +76,19 @@ public:
//! Disconneted event
EVENT1(disconnected, PIString, reason)
EVENT1(disconnected, PIString, reason);
//! Conneted event
EVENT1(connected, PIString, info)
EVENT1(connected, PIString, info);
//! Client event for authorize new server
EVENT2(authorize, PIByteArray, info, bool *, ok)
EVENT2(authorize, PIByteArray, info, bool *, ok);
//! Client event for input server password
EVENT1(passwordRequest, PIString *, pass)
EVENT1(passwordRequest, PIString *, pass);
//! Server event on check client password
EVENT1(passwordCheck, bool, result)
EVENT1(passwordCheck, bool, result);
private:
enum Role {Client, Server};