feat: change message and contac list attribute

This commit is contained in:
semenov
2025-08-04 09:23:03 +03:00
parent 4e1592575e
commit 501b84b13a
25 changed files with 134 additions and 41 deletions

View File

@@ -48,6 +48,12 @@ enum TypeClientAutorization{
TYPE_GUI = 10
};
enum UserType
{
INSTRUCTOR,
TRAINEE
};
class ClientAutorization
{
public:
@@ -101,13 +107,15 @@ public:
QString From;
QString To;
QString Text;
QString Type; //ТИП ЮЗЕРА К КОТОРОМУ ПРИХОДИТ СООБЩЕНИЕ
ClientMessage(){}
ClientMessage(QString from,QString to,QString text)
ClientMessage(QString from,QString to,QString text,QString userType)
{
From = from;
To = to;
Text = text;
Type = userType;
}
};