Lines Matching defs:toremove
760 bool CDownloadQueue::RemoveSource(CUpDownClient* toremove, bool WXUNUSED(updatewindow), bool bDoStatsUpdate)
763 toremove->DeleteAllFileRequests();
769 if ( cur_file->DelSource( toremove ) ) {
772 Notify_SourceCtrlRemoveSource(toremove->ECID(), cur_file);
774 cur_file->RemoveDownloadingSource(toremove);
782 cur_file->RemoveA4AFSource( toremove );
786 if ( !toremove->GetFileComment().IsEmpty() || toremove->GetFileRating()>0) {
787 toremove->GetRequestFile()->UpdateFileRatingCommentAvail();
790 toremove->SetRequestFile( NULL );
791 toremove->SetDownloadState(DS_NONE);
792 toremove->ResetFileStatusInfo();