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) {
|
if (result == kFinish) {
|
||||||
m_events->addEvent(Event(m_events->forIScreen().fileRecieveCompleted(), server));
|
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
|
void
|
||||||
|
|
|
@ -175,6 +175,9 @@ public:
|
||||||
//! Return received file data
|
//! Return received file data
|
||||||
String& getReceivedFileData() { return m_receivedFileData; }
|
String& getReceivedFileData() { return m_receivedFileData; }
|
||||||
|
|
||||||
|
//! Return drag file list
|
||||||
|
DragFileList getDragFileList() { return m_dragFileList; }
|
||||||
|
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue