mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-19 00:41:49 +03:00
Added file transmission started notification for server #4745
This commit is contained in:
parent
d1ca021002
commit
bfe616eebe
@ -83,6 +83,10 @@ ClientProxy1_5::fileChunkReceived()
|
||||
if (result == kFinish) {
|
||||
m_events->addEvent(Event(m_events->forIScreen().fileRecieveCompleted(), server));
|
||||
}
|
||||
else if (result == kStart) {
|
||||
String filename = server->getDragFileList().at(0).getFilename();
|
||||
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s", filename.c_str()));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -175,6 +175,9 @@ public:
|
||||
//! Return received file data
|
||||
String& getReceivedFileData() { return m_receivedFileData; }
|
||||
|
||||
//! Return drag file list
|
||||
DragFileList getDragFileList() { return m_dragFileList; }
|
||||
|
||||
//@}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user