| 581 | |
| 582 | |
| 583 | CPartFile* CDownloadQueue::GetFileByIndex(unsigned int index) const |
| 584 | { |
| 585 | wxMutexLocker lock( m_mutex ); |
| 586 | |
| 587 | if ( index < m_filelist.size() ) { |
| 588 | return m_filelist[ index ]; |
| 589 | } |
| 590 | |
| 591 | wxFAIL; |
| 592 | return NULL; |
| 593 | } |
| 594 | |
| 595 | |
| 596 | bool CDownloadQueue::IsPartFile(const CKnownFile* file) const |
no test coverage detected