Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CDownload Class Reference

#include <Download.h>

Inheritance diagram for CDownload:

CDownloadWithExtras CDownloadWithSearch CDownloadWithTiger CDownloadWithTorrent CDownloadWithFile CDownloadWithTransfers CDownloadWithSources CDownloadBase List of all members.

Public Member Functions

 CDownload ()
virtual ~CDownload ()
virtual void Pause ()
virtual void Resume ()
virtual void Remove (BOOL bDelete=FALSE)
virtual void Boost ()
virtual void Share (BOOL bShared)
virtual BOOL Rename (LPCTSTR pszName)
virtual void StopTrying ()
virtual void SetStartTimer ()
virtual DWORD GetStartTimer () const
virtual BOOL IsStarted () const
virtual BOOL IsPaused () const
virtual BOOL IsDownloading () const
virtual BOOL IsMoving () const
virtual BOOL IsCompleted () const
virtual BOOL IsBoosted () const
virtual BOOL IsShared () const
virtual BOOL IsTrying () const
BOOL Load (LPCTSTR pszPath)
BOOL Save (BOOL bFlush=FALSE)
virtual void Serialize (CArchive &ar, int nVersion)
void OnRun ()
void OnTaskComplete (CDownloadTask *pTask)
BOOL OnVerify (LPCTSTR pszPath, BOOL bVerified)

Public Attributes

DWORD m_nSerID
BOOL m_bExpanded
BOOL m_bSelected
TRISTATE m_bVerify
DWORD m_tCompleted
int m_nRunCookie
int m_nSaveCookie
int m_nGroupCookie

Protected Member Functions

void OnDownloaded ()
void OnMoved (CDownloadTask *pTask)
void SerializeOld (CArchive &ar, int nVersion)

Protected Attributes

BOOL m_bPaused
BOOL m_bBoosted
BOOL m_bShared
BOOL m_bComplete
DWORD m_tSaved
DWORD m_tBegan
BOOL m_bDownloading

Friends

class CDownloadTask
class CDownloadTransfer
class CDownloadWithTorrent

Constructor & Destructor Documentation

CDownload::CDownload  ) 
 

Definition at line 50 of file Download.cpp.

References CSettings::sDownloads::AutoExpand, DownloadGroups, CSettings::Downloads, Downloads, CDownloads::GetFreeSID(), CDownloadGroups::Link(), m_bBoosted, m_bComplete, m_bDownloading, m_bExpanded, m_bPaused, m_bSelected, m_bShared, m_bVerify, m_nGroupCookie, m_nRunCookie, m_nSaveCookie, m_nSerID, m_tBegan, m_tCompleted, m_tSaved, Settings, CSettings::sUploads::SharePartials, TS_UNKNOWN, and CSettings::Uploads.

CDownload::~CDownload  )  [virtual]
 

Definition at line 74 of file Download.cpp.

References CDownloadTask::Abort(), CDownloadWithTorrent::CloseTorrentUploads(), CDownloadWithTransfers::CloseTransfers(), CDownloadWithFile::DeleteFile(), DownloadGroups, m_bComplete, CBTInfo::m_nFiles, CDownloadBase::m_pTask, CDownloadWithTorrent::m_pTorrent, CDownloadBase::m_sLocalName, NULL, CUploads::OnRename(), theApp, CDownloadGroups::Unlink(), and Uploads.


Member Function Documentation

void CDownload::Boost  )  [virtual]
 

Implements CDownloadBase.

Definition at line 178 of file Download.cpp.

References CDownloadWithFile::GetDisplayName(), CDownloadWithTransfers::GetFirstTransfer(), IDS_DOWNLOAD_BOOST, m_bBoosted, CDownloadWithFile::m_pFile, CShareazaApp::Message(), MSG_SYSTEM, NULL, CDownloadBase::SetModified(), and theApp.

Referenced by CDownloadsWnd::OnDownloadsBoost().

DWORD CDownload::GetStartTimer  )  const [virtual]
 

Definition at line 241 of file Download.cpp.

References m_tBegan.

Referenced by OnRun().

BOOL CDownload::IsBoosted  )  const [virtual]
 

Definition at line 274 of file Download.cpp.

References m_bBoosted.

Referenced by CDownloadTransferHTTP::AcceptPush(), CDownloadTransferHTTP::Initiate(), CDownloadTransferFTP::Initiate(), CDownloadsWnd::OnDownloadsBoost(), and CDownloadsWnd::Prepare().

BOOL CDownload::IsCompleted  )  const [virtual]
 

Implements CDownloadBase.

Definition at line 269 of file Download.cpp.

References m_bComplete.

Referenced by CDownloads::CheckActive(), CDownloads::ClearCompleted(), CBTClient::Close(), CHomeDownloadsBox::ExecuteDownload(), CDownloads::FindByED2K(), CDownloads::GetActiveTorrentCount(), CDownloadsCtrl::GetClientStatus(), CDownloadsCtrl::GetDownloadStatus(), CDownloads::GetSeedCount(), CDownloads::GetTryingCount(), CDownloadTipCtrl::OnCalcSize(), CDownloadTransferBT::OnConnected(), CDownloadsWnd::OnContextMenu(), CDownloadsWnd::OnDownloadsClear(), CDownloadsWnd::OnDownloadsClearComplete(), CDownloadsWnd::OnDownloadsClearIncomplete(), CDownloadsWnd::OnDownloadsFileDelete(), CDownloadsWnd::OnDownloadsHelp(), CDownloadsWnd::OnDownloadsLaunch(), CDownloadsWnd::OnDownloadsRate(), CDownloadTipCtrl::OnPaint(), CDownloadsWnd::OnTimer(), CDownloadMonitorDlg::OnTimer(), CDownloadsWnd::Prepare(), Remove(), CHomeDownloadsBox::Update(), and CQuerySearch::WriteHashesToEDPacket().

BOOL CDownload::IsDownloading  )  const [virtual]
 

Definition at line 259 of file Download.cpp.

References m_bDownloading.

Referenced by CDownloads::GetActiveTorrentCount(), CDownloadsCtrl::GetDownloadStatus(), and CDownloadsWnd::OnDownloadsHelp().

BOOL CDownload::IsMoving  )  const [virtual]
 

Implements CDownloadBase.

Definition at line 264 of file Download.cpp.

References CDownloadWithFile::m_pFile, and NULL.

Referenced by CDownloadEditDlg::Commit(), CHomeDownloadsBox::ExecuteDownload(), CDownloads::GetActiveTorrentCount(), CDownloads::GetCount(), CDownloadsCtrl::GetDownloadStatus(), CDownloadWithTransfers::OnAcceptPush(), CDownloadWithTransfers::OnDonkeyCallback(), CDownloadMonitorDlg::OnDownloadLaunch(), CDownloadsWnd::OnDownloadsEdit(), CDownloadsWnd::OnDownloadsHelp(), CDownloadsWnd::OnDownloadsLaunch(), CDownloadsWnd::OnDownloadsLaunchCopy(), CDownloadsWnd::OnDownloadsMonitor(), CDownloadsWnd::OnDownloadsPause(), CDownloadsWnd::OnDownloadsSources(), CDownloadsWnd::OnDownloadsUrl(), CDownloadEditDlg::OnErase(), CBTClient::OnHandshake2(), CDownloadEditDlg::OnInitDialog(), CDownloadEditDlg::OnLButtonUp(), CDownloadTipCtrl::OnPaint(), CDownloads::OnQueryHits(), CDownloadMonitorDlg::OnTimer(), CDownloadsWnd::Prepare(), CBTTrackerRequest::Process(), CUploadTransferHTTP::RequestPartialFile(), and CEDNeighbour::SendSharedFiles().

BOOL CDownload::IsPaused  )  const [virtual]
 

Implements CDownloadBase.

Definition at line 254 of file Download.cpp.

References m_bPaused.

Referenced by CDownloads::CheckActive(), CDownloads::ClearPaused(), CDownloads::GetActiveTorrentCount(), CDownloads::GetCount(), CDownloadsCtrl::GetDownloadStatus(), CDownloads::GetTryingCount(), CDownloadWithTransfers::OnAcceptPush(), CDownloadWithTransfers::OnDonkeyCallback(), CDownloadsWnd::OnDownloadsHelp(), CDownloadsWnd::OnDownloadsPause(), CBTClient::OnHandshake2(), CDownloadTipCtrl::OnPaint(), CDownloadMonitorDlg::OnTimer(), CDownloadsWnd::Prepare(), and CHomeDownloadsBox::Update().

BOOL CDownload::IsShared  )  const [virtual]
 

Definition at line 284 of file Download.cpp.

References CSettings::eDonkey, CSettings::seDonkey::EnableToday, CDownloadBase::m_bBTH, m_bShared, and Settings.

Referenced by CLocalSearch::ExecutePartialFiles(), CDownloads::FindByBTH(), CDownloads::FindByED2K(), CDownloads::FindBySHA1(), CDownloads::FindByTiger(), CDownloadsWnd::OnDownloadsClear(), CDownloadsWnd::OnDownloadsClearIncomplete(), CDownloadsWnd::OnDownloadsShare(), CBTClient::OnHandshake1(), CUploadTransferHTTP::OnHeadersComplete(), CDownloadsWnd::Prepare(), and CDownloadTransferHTTP::SendRequest().

BOOL CDownload::IsStarted  )  const [virtual]
 

Definition at line 249 of file Download.cpp.

References CDownloadWithFile::GetVolumeComplete().

Referenced by CFragmentBar::DrawDownload(), CFragmentBar::DrawDownloadSimple(), CHomeDownloadsBox::ExecuteDownload(), CLocalSearch::ExecutePartialFiles(), CDownloads::FindByED2K(), CDownloads::FindBySHA1(), CDownloads::FindByTiger(), CDownloadsCtrl::GetDownloadStatus(), CDownloadsWnd::OnDownloadsClear(), CDownloadsWnd::OnDownloadsClearIncomplete(), CDownloadsWnd::OnDownloadsEnqueue(), CDownloadsWnd::OnDownloadsHelp(), CDownloadsWnd::OnDownloadsLaunch(), CDownloadsWnd::OnDownloadsLaunchCopy(), CDownloadMonitorDlg::OnDownloadStop(), CUploadTransferHTTP::OnHeadersComplete(), CDownloadTipCtrl::OnPaint(), CDownloadMonitorDlg::OnTimer(), CDownloadsWnd::Prepare(), CUploadTransferHTTP::RequestPartialFile(), CDownloadTransferHTTP::SendRequest(), and CEDNeighbour::SendSharedFiles().

BOOL CDownload::IsTrying  )  const [virtual]
 

Implements CDownloadBase.

Definition at line 279 of file Download.cpp.

References m_tBegan.

Referenced by CDownloadsCtrl::GetDownloadStatus(), CDownloads::GetTryingCount(), CDownloadsWnd::OnDownloadsHelp(), CBTClient::OnHandshake1(), OnRun(), CDownloadsWnd::Prepare(), and CQuerySearch::WriteHashesToEDPacket().

BOOL CDownload::Load LPCTSTR  pszPath  ) 
 

Definition at line 524 of file Download.cpp.

References CDownloadBase::m_nCookie, m_nSaveCookie, CDownloadBase::m_sLocalName, Save(), and Serialize().

Referenced by CDownloads::Load().

void CDownload::OnDownloaded  )  [protected]
 

Definition at line 402 of file Download.cpp.

References CDownloadWithFile::AppendMetadata(), CDownloadTask, CFragmentedFile::Close(), CDownloadWithTransfers::CloseTransfers(), CDownloadTask::dtaskCopySimple, CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_COMPLETED, m_bComplete, m_bDownloading, CDownloadWithFile::m_pFile, CDownloadBase::m_pTask, m_tCompleted, CShareazaApp::Message(), MSG_DOWNLOAD, NULL, CDownloadBase::SetModified(), and theApp.

Referenced by OnRun().

void CDownload::OnMoved CDownloadTask pTask  )  [protected]
 

Definition at line 449 of file Download.cpp.

References CLibraryHistory::Add(), CDownloadWithSources::ClearSources(), CDownloadWithFile::DeleteFile(), CSettings::Downloads, CDownloadWithFile::GetDisplayName(), CDownloadWithSources::GetSourceURLs(), IDS_DOWNLOAD_CANT_MOVE, IDS_DOWNLOAD_MOVED, CBTInfo::IsAvailable(), CDownloadWithTiger::IsFullyVerified(), LibraryBuilder, LibraryHistory, m_bComplete, CDownloadWithFile::m_bDiskFull, CDownloadBase::m_bED2K, CDownloadBase::m_bSHA1, CDownloadTask::m_bSuccess, CDownloadWithTorrent::m_nTorrentBlock, CDownloadWithTorrent::m_nTorrentSuccess, CDownloadBase::m_pED2K, CDownloadWithFile::m_pFile, CDownloadBase::m_pSHA1, CDownloadWithTorrent::m_pTorrent, CDownloadWithSources::m_pXML, CDownloadTask::m_sFilename, CDownloadBase::m_sLocalName, CDownloadTask::m_sPath, m_tCompleted, CShareazaApp::Message(), CSettings::sDownloads::Metadata, MSG_DOWNLOAD, MSG_ERROR, NULL, OnVerify(), PROTOCOL_NULL, CLibraryBuilder::RequestPriority(), CBTTrackerRequest::SendCompleted(), CDownloadBase::SetModified(), Settings, theApp, and CDownloadWithFile::WriteMetadata().

Referenced by OnTaskComplete().

void CDownload::OnRun  ) 
 

Definition at line 292 of file Download.cpp.

References CSettings::BitTorrent, CDownloadWithTorrent::CheckTorrentRatio(), Downloads, CSettings::Downloads, CSettings::sBitTorrent::DownloadTorrents, CFragmentedFile::Flush(), CDownloadWithSources::GetSourceCount(), GetStartTimer(), CDownloadWithTransfers::GetTransferCount(), CDownloads::GetTryingCount(), IsTrying(), CDownloadBase::m_bBTH, m_bComplete, CDownloadWithFile::m_bDiskFull, m_bDownloading, m_bPaused, CDownloadWithTorrent::m_bSeeding, CDownloadBase::m_nCookie, m_nSaveCookie, CDownloadWithSources::m_nSourceCount, CDownloadWithFile::m_pFile, CDownloadBase::m_pTask, CDownloadWithFile::m_tReceived, m_tSaved, CSettings::sDownloads::MaxFiles, CSettings::sDownloads::MaxFileSearches, NULL, OnDownloaded(), Pause(), CDownloadWithFile::RunFile(), CDownloadWithSearch::RunSearch(), CDownloadWithTorrent::RunTorrent(), CDownloadWithTiger::RunValidation(), Save(), CSettings::sDownloads::SaveInterval, SetStartTimer(), Settings, CDownloadWithTransfers::StartTransfersIfNeeded(), CSettings::sDownloads::StarveGiveUp, StopTrying(), and CDownloadWithTiger::ValidationCanFinish().

Referenced by CDownloads::OnRun().

void CDownload::OnTaskComplete CDownloadTask pTask  ) 
 

Definition at line 429 of file Download.cpp.

References CDownloadTask::dtaskAllocate, CDownloadTask::m_nTask, CDownloadBase::m_pTask, NULL, OnMoved(), and CDownloadTask::WasAborted().

Referenced by CDownloadTask::~CDownloadTask().

BOOL CDownload::OnVerify LPCTSTR  pszPath,
BOOL  bVerified
 

Definition at line 507 of file Download.cpp.

References m_bVerify, CDownloadWithFile::m_pFile, CDownloadBase::m_sLocalName, NULL, CDownloadBase::SetModified(), TS_FALSE, TS_TRUE, and TS_UNKNOWN.

Referenced by OnMoved().

void CDownload::Pause  )  [virtual]
 

Implements CDownloadBase.

Definition at line 92 of file Download.cpp.

References CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_PAUSED, m_bComplete, m_bPaused, CShareazaApp::Message(), MSG_DOWNLOAD, StopTrying(), and theApp.

Referenced by CEDPartImporter::ImportFile(), CDownloadsWnd::OnDownloadsPause(), and OnRun().

void CDownload::Remove BOOL  bDelete = FALSE  )  [virtual]
 

Implements CDownloadBase.

Definition at line 150 of file Download.cpp.

References CDownloadTask::Abort(), CDownloadWithFile::CloseFile(), CDownloadWithTorrent::CloseTorrentUploads(), CDownloadWithTransfers::CloseTransfers(), CDownloadWithFile::DeleteFile(), CDownloadWithExtras::DeletePreviews(), Downloads, CDownloadWithFile::GetDisplayName(), IDS_DOWNLOAD_REMOVE, IsCompleted(), CDownloadBase::m_pTask, CDownloadBase::m_sLocalName, CShareazaApp::Message(), MSG_DOWNLOAD, NULL, CDownloads::Remove(), and theApp.

Referenced by CDownloads::ClearCompleted(), CDownloads::ClearPaused(), CDownloadsWnd::OnDownloadsClear(), CDownloadsWnd::OnDownloadsClearComplete(), and CDownloadsWnd::OnTimer().

BOOL CDownload::Rename LPCTSTR  pszName  )  [virtual]
 

Definition at line 205 of file Download.cpp.

References CDownloadBase::m_sRemoteName, and CDownloadBase::SetModified().

Referenced by CDownloadEditDlg::Commit().

void CDownload::Resume  )  [virtual]
 

Implements CDownloadBase.

Definition at line 106 of file Download.cpp.

References CSettings::BitTorrent, CDownloadWithTorrent::CloseTorrentUploads(), CSettings::Downloads, Downloads, CSettings::sBitTorrent::DownloadTorrents, CDownloadWithSearch::FindMoreSources(), CDownloadWithFile::GetDisplayName(), CDownloadWithSources::GetFirstSource(), CDownloadWithSources::GetSourceCount(), CDownloads::GetTryingCount(), IDS_DOWNLOAD_RESUMED, CDownloadBase::m_bBTH, m_bComplete, CDownloadWithFile::m_bDiskFull, m_bPaused, CDownloadWithTorrent::m_bTorrentTrackerError, CDownloadWithTorrent::m_nTorrentTrackerErrors, CDownloadWithFile::m_pFile, m_tBegan, CDownloadWithFile::m_tReceived, CSettings::sDownloads::MaxFiles, CSettings::sDownloads::MaxFileSearches, CShareazaApp::Message(), MSG_DOWNLOAD, NULL, CDownloadBase::SetModified(), SetStartTimer(), Settings, and theApp.

Referenced by CDownloads::Add(), and CDownloadsWnd::OnDownloadsResume().

BOOL CDownload::Save BOOL  bFlush = FALSE  ) 
 

Definition at line 570 of file Download.cpp.

References CDownloadWithFile::DeleteFile(), CSettings::Downloads, CSettings::sDownloads::FlushSD, CDownloadBase::GenerateLocalName(), m_bComplete, CDownloadBase::m_nCookie, m_nSaveCookie, CDownloadBase::m_sLocalName, m_tSaved, Serialize(), and Settings.

Referenced by CEDPartImporter::ImportFile(), Load(), OnRun(), and CDownloads::Save().

void CDownload::Serialize CArchive &  ar,
int  nVersion
[virtual]
 

Reimplemented from CDownloadWithExtras.

Definition at line 616 of file Download.cpp.

References DOWNLOAD_SER_VERSION, DownloadGroups, CDownloadGroups::Link(), m_bBoosted, m_bComplete, m_bExpanded, m_bPaused, m_bShared, m_nSerID, CDownloadWithExtras::Serialize(), and SerializeOld().

Referenced by Load(), Save(), and CDownloads::SerializeCompound().

void CDownload::SerializeOld CArchive &  ar,
int  nVersion
[protected]
 

Definition at line 667 of file Download.cpp.

References CDownloadWithSources::AddSourceInternal(), CDownloadWithSources::CDownloadSource, CDownloadBase::GenerateLocalName(), m_bBoosted, m_bExpanded, m_bPaused, CDownloadBase::m_bSHA1, CDownloadBase::m_nSize, CDownloadWithFile::m_pFile, CDownloadBase::m_pSHA1, CDownloadWithSources::m_pXML, CDownloadBase::m_sLocalName, CDownloadBase::m_sRemoteName, CDownloadSource::Serialize(), and CFragmentedFile::Serialize().

Referenced by Serialize().

void CDownload::SetStartTimer  )  [virtual]
 

Definition at line 232 of file Download.cpp.

References m_tBegan, and CDownloadBase::SetModified().

Referenced by OnRun(), and Resume().

void CDownload::Share BOOL  bShared  )  [virtual]
 

Definition at line 196 of file Download.cpp.

References m_bShared, and CDownloadBase::SetModified().

Referenced by CDownloads::Add(), and CDownloadsWnd::OnDownloadsShare().

void CDownload::StopTrying  )  [virtual]
 

Definition at line 216 of file Download.cpp.

References CDownloadWithFile::CloseFile(), CDownloadWithTorrent::CloseTorrent(), CDownloadWithTransfers::CloseTransfers(), CDownloadBase::m_bBTH, m_bComplete, m_bDownloading, m_tBegan, CDownloadBase::SetModified(), and CDownloadWithSearch::StopSearch().

Referenced by OnRun(), and Pause().


Friends And Related Function Documentation

friend class CDownloadTask [friend]
 

Definition at line 90 of file Download.h.

Referenced by OnDownloaded().

friend class CDownloadTransfer [friend]
 

Reimplemented from CDownloadWithFile.

Definition at line 91 of file Download.h.

friend class CDownloadWithTorrent [friend]
 

Definition at line 92 of file Download.h.


Member Data Documentation

BOOL CDownload::m_bBoosted [protected]
 

Definition at line 49 of file Download.h.

Referenced by Boost(), CDownload(), IsBoosted(), Serialize(), and SerializeOld().

BOOL CDownload::m_bComplete [protected]
 

Definition at line 51 of file Download.h.

Referenced by CDownload(), IsCompleted(), OnDownloaded(), OnMoved(), OnRun(), Pause(), Resume(), Save(), CDownloadWithTorrent::SeedTorrent(), Serialize(), StopTrying(), and ~CDownload().

BOOL CDownload::m_bDownloading [protected]
 

Definition at line 55 of file Download.h.

Referenced by CDownload(), IsDownloading(), OnDownloaded(), OnRun(), and StopTrying().

BOOL CDownload::m_bExpanded
 

Definition at line 40 of file Download.h.

Referenced by CDownload(), CDownloadsCtrl::GetAt(), CDownloadsCtrl::GetRect(), CDownloadsCtrl::HitTest(), CDownloadsCtrl::OnKeyDown(), CDownloadsCtrl::OnLButtonDblClk(), CDownloadsCtrl::OnLButtonDown(), CDownloadsCtrl::OnPaint(), CDownloadsCtrl::OnSize(), Serialize(), and SerializeOld().

BOOL CDownload::m_bPaused [protected]
 

Definition at line 48 of file Download.h.

Referenced by CDownload(), IsPaused(), OnRun(), Pause(), Resume(), Serialize(), and SerializeOld().

BOOL CDownload::m_bSelected
 

Definition at line 41 of file Download.h.

Referenced by CDownload(), CDownloadsCtrl::DeselectAll(), CDownloadsCtrl::GetSelectedCount(), CDownloadsCtrl::MoveSelected(), CDownloadsCtrl::OnBeginDrag(), CDownloadsWnd::OnDownloadsBoost(), CDownloadsWnd::OnDownloadsClear(), CDownloadsWnd::OnDownloadsClearComplete(), CDownloadsWnd::OnDownloadsClearIncomplete(), CDownloadsWnd::OnDownloadsCopy(), CDownloadsWnd::OnDownloadsEdit(), CDownloadsWnd::OnDownloadsEnqueue(), CDownloadsWnd::OnDownloadsFileDelete(), CDownloadsWnd::OnDownloadsHelp(), CDownloadsWnd::OnDownloadsLaunch(), CDownloadsWnd::OnDownloadsLaunchCopy(), CDownloadsWnd::OnDownloadsMonitor(), CDownloadsWnd::OnDownloadsPause(), CDownloadsWnd::OnDownloadsRate(), CDownloadsWnd::OnDownloadsResume(), CDownloadsWnd::OnDownloadsShare(), CDownloadsWnd::OnDownloadsSources(), CDownloadsWnd::OnDownloadsTorrentInfo(), CDownloadsWnd::OnDownloadsUrl(), CDownloadsWnd::OnDownloadsViewReviews(), CDownloadsCtrl::OnLButtonDown(), CDownloadsCtrl::OnSize(), CDownloadsCtrl::PaintDownload(), CDownloadsWnd::Prepare(), CDownloadsWnd::Select(), CDownloadsCtrl::SelectAll(), and CDownloadsCtrl::SelectTo().

BOOL CDownload::m_bShared [protected]
 

Definition at line 50 of file Download.h.

Referenced by CDownload(), IsShared(), Serialize(), and Share().

TRISTATE CDownload::m_bVerify
 

Definition at line 42 of file Download.h.

Referenced by CDownload(), CHomeDownloadsBox::ExecuteDownload(), CDownloadsWnd::OnDownloadsLaunch(), OnVerify(), and CDownloadsCtrl::PaintDownload().

int CDownload::m_nGroupCookie
 

Definition at line 46 of file Download.h.

Referenced by CDownload(), CDownloadsCtrl::GetAt(), CDownloadsCtrl::GetRect(), CDownloadsCtrl::HitTest(), CDownloadsCtrl::OnPaint(), and CDownloadsCtrl::OnSize().

int CDownload::m_nRunCookie
 

Definition at line 44 of file Download.h.

Referenced by CDownload(), and CDownloads::OnRun().

int CDownload::m_nSaveCookie
 

Definition at line 45 of file Download.h.

Referenced by CDownload(), Load(), OnRun(), CDownloads::Save(), and Save().

DWORD CDownload::m_nSerID
 

Definition at line 39 of file Download.h.

Referenced by CDownload(), CDownloads::FindBySID(), CDownloads::GetFreeSID(), and Serialize().

DWORD CDownload::m_tBegan [protected]
 

Definition at line 53 of file Download.h.

Referenced by CDownload(), GetStartTimer(), IsTrying(), Resume(), SetStartTimer(), and StopTrying().

DWORD CDownload::m_tCompleted
 

Definition at line 43 of file Download.h.

Referenced by CDownload(), OnDownloaded(), OnMoved(), CDownloadsWnd::OnTimer(), CUploadTransferHTTP::RequestPartialFile(), and CDownloadWithTorrent::SeedTorrent().

DWORD CDownload::m_tSaved [protected]
 

Definition at line 52 of file Download.h.

Referenced by CDownload(), OnRun(), and Save().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:05 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2