communicate: basic server and client communicate.

This commit is contained in:
2025-06-15 20:37:25 +08:00
parent 7d123b2c06
commit 3538de7f4e
17 changed files with 147 additions and 62 deletions

View File

@@ -41,11 +41,14 @@ public:
public:
QMutex conMutex_;
QString ownID_;
QString remoteID_;
QTcpSocket* socket_;
QByteArray recvBuffer_;
std::function<void(const QString& path)> pathCall_;
std::function<void(const InfoClientVec& clients)> clientsCall_;
std::function<void(const DirFileInfoVec& files)> fileCall_;
};
#endif // CLIENTCORE_H