Added file transmission started notification for server #4745

This commit is contained in:
Jerry (Xinyu Hou) 2015-06-01 16:00:35 -07:00
parent d1ca021002
commit bfe616eebe
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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: