MCPcopy Create free account
hub / github.com/amule-project/amule / DownloadCtrlAddFile

Function DownloadCtrlAddFile

src/GuiEvents.cpp:494–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492
493
494 void DownloadCtrlAddFile(CPartFile* file)
495 {
496 // See DownloadCtrlUpdateItem above for the rationale; the
497 // notifier can be NULL during init or shutdown.
498 if (theApp->ECServerHandler && theApp->ECServerHandler->m_ec_notifier) {
499 theApp->ECServerHandler->m_ec_notifier->DownloadFile_AddFile(file);
500 }
501#ifndef AMULE_DAEMON
502 if (theApp->amuledlg->m_transferwnd && theApp->amuledlg->m_transferwnd->downloadlistctrl ) {
503 theApp->amuledlg->m_transferwnd->downloadlistctrl->AddFile(file);
504 }
505#endif
506 }
507
508 void DownloadCtrlRemoveFile(CPartFile* file)
509 {

Callers

nothing calls this directly

Calls 2

DownloadFile_AddFileMethod · 0.80
AddFileMethod · 0.45

Tested by

no test coverage detected