mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
bugfix: segregate send and delete list to client
This commit is contained in:
@@ -19,7 +19,7 @@ public:
|
||||
this->port = port;
|
||||
this->fullName = "Name: " + name + " IP: " + address + " port : " + port + " login: " + login;
|
||||
};
|
||||
~Client();
|
||||
~Client(){};
|
||||
|
||||
public:
|
||||
QString getFullName()
|
||||
@@ -127,6 +127,28 @@ public:
|
||||
clientHash = value;
|
||||
}
|
||||
|
||||
QList<FileData> getFileSendList() const
|
||||
{
|
||||
return fileSendList;
|
||||
}
|
||||
|
||||
void setFileSendList(const QList<FileData> &value)
|
||||
{
|
||||
fileSendList = value;
|
||||
}
|
||||
|
||||
QList<FileData> getFileDeleteList() const
|
||||
{
|
||||
return fileDeleteList;
|
||||
}
|
||||
|
||||
void setFileDeleteList(const QList<FileData> &value)
|
||||
{
|
||||
fileDeleteList = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private:
|
||||
QString name;
|
||||
QString address;
|
||||
@@ -141,6 +163,10 @@ private:
|
||||
TypeClientAutorization typeClient;
|
||||
UserType userType;
|
||||
QByteArray clientHash;
|
||||
QList<FileData> fileSendList;
|
||||
QList<FileData> fileDeleteList;
|
||||
};
|
||||
|
||||
#endif // CLIENT_H
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user