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

@@ -66,8 +66,10 @@ QString DirFileHelper::GetErr() const
void DirFileHelper::registerPathCall(const std::function<void(const QString& path)>& call)
{
pathCall_ = call;
}
void DirFileHelper::registerFileCall(const std::function<void(const DirFileInfoVec& vec)>& call)
{
fileCall_ = call;
}