ready: trans file ready code.

This commit is contained in:
2025-06-16 23:41:35 +08:00
parent 02d163ccb7
commit 33b8a37719
11 changed files with 169 additions and 58 deletions

19
ClientCore/FileTrans.cpp Normal file
View File

@@ -0,0 +1,19 @@
#include "FileTrans.h"
FileTrans::FileTrans(ClientCore* clientCore) : clientCore_(clientCore)
{
}
void FileTrans::SetTasks(const QVector<TransTask>& tasks)
{
tasks_ = tasks;
}
void FileTrans::RegisterFrameCall()
{
clientCore_->SetFrameCall(FBT_CLI_REQ_SEND, [this](QSharedPointer<FrameBuffer> frame) { fbtReqSend(frame); });
}
void FileTrans::fbtReqSend(QSharedPointer<FrameBuffer> frame)
{
}