ready: trans file ready code.
This commit is contained in:
19
ClientCore/FileTrans.cpp
Normal file
19
ClientCore/FileTrans.cpp
Normal 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)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user