#include <DownloadBase.h>
Inheritance diagram for CDownloadBase:
Public Member Functions | |
CDownloadBase () | |
virtual | ~CDownloadBase () |
virtual void | Pause ()=0 |
virtual void | Resume ()=0 |
virtual void | Remove (BOOL bDelete=FALSE)=0 |
virtual void | Boost ()=0 |
virtual BOOL | IsPaused () const =0 |
virtual BOOL | IsMoving () const =0 |
virtual BOOL | IsCompleted () const =0 |
virtual BOOL | IsTasking () |
virtual BOOL | IsTrying () const =0 |
void | SetModified () |
Public Attributes | |
int | m_nCookie |
CString | m_sRemoteName |
CString | m_sLocalName |
QWORD | m_nSize |
BOOL | m_bSHA1 |
SHA1 | m_pSHA1 |
BOOL | m_bSHA1Trusted |
BOOL | m_bTiger |
TIGEROOT | m_pTiger |
BOOL | m_bTigerTrusted |
BOOL | m_bMD5 |
MD5 | m_pMD5 |
BOOL | m_bMD5Trusted |
BOOL | m_bED2K |
MD4 | m_pED2K |
BOOL | m_bED2KTrusted |
BOOL | m_bBTH |
SHA1 | m_pBTH |
BOOL | m_bBTHTrusted |
Protected Member Functions | |
void | GenerateLocalName () |
virtual void | Serialize (CArchive &ar, int nVersion) |
Protected Attributes | |
CDownloadTask * | m_pTask |
|
Definition at line 47 of file DownloadBase.cpp. References m_bBTH, m_bBTHTrusted, m_bED2K, m_bED2KTrusted, m_bMD5, m_bMD5Trusted, m_bSHA1, m_bSHA1Trusted, m_bTiger, m_bTigerTrusted, m_nCookie, m_nSize, m_pTask, NULL, and SIZE_UNKNOWN. |
|
Definition at line 64 of file DownloadBase.cpp. |
|
Implemented in CDownload. |
|
Definition at line 79 of file DownloadBase.cpp. References CSettings::Downloads, CED2K::HashToString(), CTigerNode::HashToString(), CSHA::HashToString(), CSettings::sDownloads::IncompletePath, m_bBTH, m_bED2K, m_bSHA1, m_bTiger, m_pBTH, m_pED2K, m_pSHA1, m_pTiger, m_sLocalName, m_sRemoteName, NULL, CDownloadTask::SafeFilename(), and Settings. Referenced by CDownloadWithFile::OpenFile(), CDownload::Save(), CDownloadWithFile::Serialize(), and CDownload::SerializeOld(). |
|
Implemented in CDownload. Referenced by CDownloadWithTorrent::ChokeTorrent(), CDownloadWithTorrent::RunTorrent(), and CDownloadWithTorrent::SeedTorrent(). |
|
Implemented in CDownload. Referenced by CDownloadWithTorrent::CreateTorrentTransfer(), CDownloadWithTorrent::RunTorrent(), and CDownloadWithTorrent::SeedTorrent(). |
|
Implemented in CDownload. Referenced by CDownloadWithTorrent::CreateTorrentTransfer(), CDownloadWithSearch::RunSearch(), and CDownloadWithTorrent::RunTorrent(). |
|
Definition at line 72 of file DownloadBase.h. Referenced by CDownloadsCtrl::GetDownloadStatus(), and CDownloadsWnd::OnDownloadsHelp(). |
|
Implemented in CDownload. Referenced by CDownloadWithTorrent::RunTorrent(). |
|
Implemented in CDownload. |
|
Implemented in CDownload. |
|
Implemented in CDownload. |
|
Reimplemented in CDownload, CDownloadWithExtras, CDownloadWithFile, CDownloadWithSources, CDownloadWithTiger, and CDownloadWithTorrent. Definition at line 106 of file DownloadBase.cpp. References CTigerNode::IsNull(), CSHA::IsNull(), m_bED2K, m_bED2KTrusted, m_bMD5, m_bMD5Trusted, m_bSHA1, m_bSHA1Trusted, m_bTiger, m_bTigerTrusted, m_nSize, m_pED2K, m_pMD5, m_pSHA1, m_pTiger, m_sRemoteName, and MD5. Referenced by CDownloadWithSources::Serialize(). |
|
|
|
Definition at line 59 of file DownloadBase.h. Referenced by CDownloads::Add(), CDownloadBase(), CDownloadTipCtrl::OnPaint(), and CDownloadWithTorrent::Serialize(). |
|
|
Definition at line 56 of file DownloadBase.h. Referenced by CDownloads::Add(), CDownloadBase(), CDownloadTipCtrl::OnPaint(), and Serialize(). |
|
Definition at line 51 of file DownloadBase.h. Referenced by CDownloads::Add(), CDownloadBase(), and Serialize(). |
|
Definition at line 53 of file DownloadBase.h. Referenced by CDownloads::Add(), CDownloadBase(), and Serialize(). |
|
|
Definition at line 47 of file DownloadBase.h. Referenced by CDownloads::Add(), CDownloadBase(), CDownloadTipCtrl::OnPaint(), and Serialize(). |
|
|
Definition at line 50 of file DownloadBase.h. Referenced by CDownloads::Add(), CDownloadBase(), CDownloadTipCtrl::OnPaint(), and Serialize(). |
|
Definition at line 39 of file DownloadBase.h. Referenced by CDownloadBase(), CDownload::Load(), CDownload::OnRun(), CDownloads::Save(), CDownload::Save(), and SetModified(). |
|
|
|
|
Definition at line 52 of file DownloadBase.h. Referenced by CDownloads::Add(), and Serialize(). |
|
|
Definition at line 61 of file DownloadBase.h. Referenced by CDownloadBase(), IsTasking(), CDownload::OnDownloaded(), CDownload::OnRun(), CDownload::OnTaskComplete(), CDownload::Remove(), CDownloadWithTorrent::RunTorrent(), CDownload::~CDownload(), and CDownloadTask::~CDownloadTask(). |
|
|
|