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

CDownloadGroup Class Reference

#include <DownloadGroup.h>

List of all members.

Public Member Functions

 CDownloadGroup ()
virtual ~CDownloadGroup ()
void Add (CDownload *pDownload)
void Remove (CDownload *pDownload)
void SetCookie (int nCookie)
void CopyList (CPtrList *pList)
BOOL Link (CDownload *pDownload)
int LinkAll ()
void AddFilter (LPCTSTR pszFilter)
void SetSchema (LPCTSTR pszURI)
void Serialize (CArchive &ar, int nVersion)
POSITION GetIterator () const
CDownloadGetNext (POSITION &pos) const
BOOL Contains (CDownload *pDownload) const
int GetCount () const

Public Attributes

CString m_sName
CString m_sSchemaURI
CString m_sFolder
CStringList m_pFilters
int m_nImage
BOOL m_bRemoteSelected

Protected Attributes

CPtrList m_pDownloads


Constructor & Destructor Documentation

CDownloadGroup::CDownloadGroup  ) 
 

Definition at line 44 of file DownloadGroup.cpp.

References m_bRemoteSelected, m_nImage, and SHI_FOLDER_OPEN.

CDownloadGroup::~CDownloadGroup  )  [virtual]
 

Definition at line 50 of file DownloadGroup.cpp.


Member Function Documentation

void CDownloadGroup::Add CDownload pDownload  ) 
 

Definition at line 57 of file DownloadGroup.cpp.

References DownloadGroups, CDownloadGroups::m_nBaseCookie, m_pDownloads, and NULL.

Referenced by CDownloadTabBar::DropObjects(), Link(), CDownloadGroups::Serialize(), and Serialize().

void CDownloadGroup::AddFilter LPCTSTR  pszFilter  ) 
 

Definition at line 139 of file DownloadGroup.cpp.

References m_pFilters.

Referenced by CDownloadGroups::CreateDefault().

BOOL CDownloadGroup::Contains CDownload pDownload  )  const [inline]
 

Definition at line 70 of file DownloadGroup.h.

References m_pDownloads, and NULL.

Referenced by CDownloadGroups::GetCompletedPath(), and CRemote::PageDownloads().

void CDownloadGroup::CopyList CPtrList *  pList  ) 
 

Definition at line 89 of file DownloadGroup.cpp.

References GetIterator(), and GetNext().

Referenced by CDownloadTabBar::GetSelectedDownloads().

int CDownloadGroup::GetCount  )  const [inline]
 

Definition at line 75 of file DownloadGroup.h.

References m_pDownloads.

Referenced by Serialize(), and CDownloadTabBar::TabItem::Update().

POSITION CDownloadGroup::GetIterator  )  const [inline]
 

Definition at line 60 of file DownloadGroup.h.

References m_pDownloads.

Referenced by CopyList(), Serialize(), and SetCookie().

CDownload* CDownloadGroup::GetNext POSITION &  pos  )  const [inline]
 

Definition at line 65 of file DownloadGroup.h.

References m_pDownloads.

Referenced by CopyList(), Serialize(), and SetCookie().

BOOL CDownloadGroup::Link CDownload pDownload  ) 
 

Definition at line 100 of file DownloadGroup.cpp.

References Add(), m_pFilters, and CQuerySearch::WordMatch().

Referenced by CDownloadGroups::Link(), and LinkAll().

int CDownloadGroup::LinkAll  ) 
 

Definition at line 122 of file DownloadGroup.cpp.

References Downloads, CDownloads::GetIterator(), CDownloads::GetNext(), Link(), and m_pFilters.

Referenced by CDownloadTabBar::OnDownloadGroupNew().

void CDownloadGroup::Remove CDownload pDownload  ) 
 

Definition at line 66 of file DownloadGroup.cpp.

References DownloadGroups, CDownloadGroups::m_nBaseCookie, and m_pDownloads.

Referenced by CDownloadGroups::Unlink().

void CDownloadGroup::Serialize CArchive &  ar,
int  nVersion
 

Definition at line 164 of file DownloadGroup.cpp.

References Add(), Downloads, CDownloads::FindBySID(), GetCount(), GetIterator(), GetNext(), m_pFilters, m_sFolder, m_sName, m_sSchemaURI, and SetSchema().

Referenced by CDownloadGroups::Serialize().

void CDownloadGroup::SetCookie int  nCookie  ) 
 

Definition at line 78 of file DownloadGroup.cpp.

References GetIterator(), and GetNext().

Referenced by CDownloadTabBar::TabItem::Update().

void CDownloadGroup::SetSchema LPCTSTR  pszURI  ) 
 

Definition at line 147 of file DownloadGroup.cpp.

References CSchemaCache::Get(), m_nImage, m_sSchemaURI, SchemaCache, and SHI_FOLDER_OPEN.

Referenced by CDownloadGroups::CreateDefault(), CDownloadGroupDlg::OnOK(), and Serialize().


Member Data Documentation

BOOL CDownloadGroup::m_bRemoteSelected
 

Definition at line 44 of file DownloadGroup.h.

Referenced by CDownloadGroup(), and CRemote::PageDownloads().

int CDownloadGroup::m_nImage
 

Definition at line 43 of file DownloadGroup.h.

Referenced by CDownloadGroup(), SetSchema(), and CDownloadTabBar::TabItem::Update().

CPtrList CDownloadGroup::m_pDownloads [protected]
 

Definition at line 36 of file DownloadGroup.h.

Referenced by Add(), Contains(), GetCount(), GetIterator(), GetNext(), and Remove().

CStringList CDownloadGroup::m_pFilters
 

Definition at line 41 of file DownloadGroup.h.

Referenced by AddFilter(), Link(), LinkAll(), CDownloadGroupDlg::OnInitDialog(), CDownloadGroupDlg::OnOK(), and Serialize().

CString CDownloadGroup::m_sFolder
 

Definition at line 40 of file DownloadGroup.h.

Referenced by CDownloadGroups::GetCompletedPath(), CDownloadGroupDlg::OnInitDialog(), CDownloadGroupDlg::OnOK(), and Serialize().

CString CDownloadGroup::m_sName
 

Definition at line 38 of file DownloadGroup.h.

Referenced by CDownloadGroups::Add(), CDownloadGroupDlg::OnInitDialog(), CDownloadGroupDlg::OnOK(), CRemote::PageDownloads(), Serialize(), and CDownloadTabBar::TabItem::Update().

CString CDownloadGroup::m_sSchemaURI
 

Definition at line 39 of file DownloadGroup.h.

Referenced by CDownloadGroupDlg::OnInitDialog(), Serialize(), and SetSchema().


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