#include <DownloadWithFile.h>
Inheritance diagram for CDownloadWithFile:


Public Member Functions | |
| float | GetProgress () const |
| QWORD | GetVolumeComplete () const |
| QWORD | GetVolumeRemaining () const |
| DWORD | GetTimeRemaining () const |
| CString | GetDisplayName () const |
| const Fragments::List & | GetEmptyFragmentList () const |
| BOOL | GetFragment (CDownloadTransfer *pTransfer) |
| BOOL | IsPositionEmpty (QWORD nOffset) |
| BOOL | AreRangesUseful (const Fragments::List &oAvailable) |
| BOOL | IsRangeUseful (QWORD nOffset, QWORD nLength) |
| BOOL | IsRangeUsefulEnough (CDownloadTransfer *pTransfer, QWORD nOffset, QWORD nLength) |
| BOOL | ClipUploadRange (QWORD nOffset, QWORD &nLength) const |
| BOOL | PrepareFile () |
| BOOL | GetRandomRange (QWORD &nOffset, QWORD &nLength) const |
| BOOL | SubmitData (QWORD nOffset, LPBYTE pData, QWORD nLength) |
| QWORD | EraseRange (QWORD nOffset, QWORD nLength) |
| BOOL | MakeComplete () |
Public Attributes | |
| CFragmentedFile * | m_pFile |
| BOOL | m_bDiskFull |
| DWORD | m_tReceived |
Protected Member Functions | |
| CDownloadWithFile () | |
| virtual | ~CDownloadWithFile () |
| virtual CString | GetAvailableRanges () const |
| BOOL | OpenFile () |
| void | CloseFile () |
| void | DeleteFile (BOOL bForce=FALSE) |
| BOOL | RunFile (DWORD tNow) |
| BOOL | WriteMetadata (LPCTSTR pszPath) |
| BOOL | AppendMetadata () |
| virtual void | Serialize (CArchive &ar, int nVersion) |
Private Member Functions | |
| Fragments::List | GetPossibleFragments (const Fragments::List &oAvailable, Fragments::Fragment &oLargest) |
| BOOL | AppendMetadataID3v1 (HANDLE hFile, CXMLElement *pXML) |
| CDownloadWithFile::CDownloadWithFile | ( | ) | [protected] |
| CDownloadWithFile::~CDownloadWithFile | ( | ) | [protected, virtual] |
| float CDownloadWithFile::GetProgress | ( | ) | const |
| QWORD CDownloadWithFile::GetVolumeComplete | ( | ) | const |
| QWORD CDownloadWithFile::GetVolumeRemaining | ( | ) | const |
| DWORD CDownloadWithFile::GetTimeRemaining | ( | ) | const |
| CString CDownloadWithFile::GetDisplayName | ( | ) | const |
| const Fragments::List & CDownloadWithFile::GetEmptyFragmentList | ( | ) | const |
| BOOL CDownloadWithFile::GetFragment | ( | CDownloadTransfer * | pTransfer | ) |
| BOOL CDownloadWithFile::IsPositionEmpty | ( | QWORD | nOffset | ) |
| BOOL CDownloadWithFile::AreRangesUseful | ( | const Fragments::List & | oAvailable | ) |
| BOOL CDownloadWithFile::IsRangeUsefulEnough | ( | CDownloadTransfer * | pTransfer, | |
| QWORD | nOffset, | |||
| QWORD | nLength | |||
| ) |
| BOOL CDownloadWithFile::PrepareFile | ( | ) |
| BOOL CDownloadWithFile::MakeComplete | ( | ) |
| CString CDownloadWithFile::GetAvailableRanges | ( | ) | const [protected, virtual] |
Reimplemented in CDownloadWithTiger.
| BOOL CDownloadWithFile::OpenFile | ( | ) | [protected] |
| void CDownloadWithFile::CloseFile | ( | ) | [protected] |
| void CDownloadWithFile::DeleteFile | ( | BOOL | bForce = FALSE |
) | [protected] |
| BOOL CDownloadWithFile::RunFile | ( | DWORD | tNow | ) | [protected] |
| BOOL CDownloadWithFile::WriteMetadata | ( | LPCTSTR | pszPath | ) | [protected] |
| BOOL CDownloadWithFile::AppendMetadata | ( | ) | [protected] |
| void CDownloadWithFile::Serialize | ( | CArchive & | ar, | |
| int | nVersion | |||
| ) | [protected, virtual] |
Reimplemented from CDownloadWithSources.
Reimplemented in CDownload, CDownloadWithExtras, CDownloadWithTiger, and CDownloadWithTorrent.
| Fragments::List CDownloadWithFile::GetPossibleFragments | ( | const Fragments::List & | oAvailable, | |
| Fragments::Fragment & | oLargest | |||
| ) | [private] |
| BOOL CDownloadWithFile::AppendMetadataID3v1 | ( | HANDLE | hFile, | |
| CXMLElement * | pXML | |||
| ) | [private] |
1.5.2