#include <DownloadGroups.h>
Public Member Functions | |
CDownloadGroups () | |
virtual | ~CDownloadGroups () |
CDownloadGroup * | GetSuperGroup () |
CDownloadGroup * | Add (LPCTSTR pszName=NULL) |
void | Remove (CDownloadGroup *pGroup) |
void | Link (CDownload *pDownload) |
void | Unlink (CDownload *pDownload, BOOL bAndSuper=TRUE) |
void | CreateDefault () |
CString | GetCompletedPath (CDownload *pDownload) |
void | Clear () |
BOOL | Load () |
BOOL | Save (BOOL bForce=TRUE) |
POSITION | GetIterator () const |
CDownloadGroup * | GetNext (POSITION &pos) const |
int | GetCount () const |
BOOL | Check (CDownloadGroup *pGroup) const |
int | GetGroupCookie () const |
void | IncBaseCookie () |
Public Attributes | |
CCriticalSection | m_pSection |
Protected Member Functions | |
void | Serialize (CArchive &ar) |
Protected Attributes | |
CPtrList | m_pList |
CDownloadGroup * | m_pSuper |
int | m_nBaseCookie |
int | m_nSaveCookie |
int | m_nGroupCookie |
Friends | |
class | CDownloadGroup |
|
Definition at line 43 of file DownloadGroups.cpp. References m_nBaseCookie, m_nGroupCookie, m_nSaveCookie, m_pSuper, and NULL. |
|
Definition at line 51 of file DownloadGroups.cpp. References Clear(). |
|
Definition at line 71 of file DownloadGroups.cpp. References CDownloadGroup, m_nBaseCookie, m_nGroupCookie, m_pList, m_pSection, CDownloadGroup::m_sName, and NULL. Referenced by CreateDefault(), GetSuperGroup(), CDownloadTabBar::OnDownloadGroupNew(), and Serialize(). |
|
Definition at line 81 of file DownloadGroups.h. Referenced by CDownloadTabBar::DropObjects(), CDownloadTabBar::GetSelectedDownloads(), CDownloadTabBar::OnDownloadGroupNew(), CDownloadGroupDlg::OnInitDialog(), CDownloadGroupDlg::OnOK(), and CDownloadTabBar::UpdateStates(). |
|
Definition at line 187 of file DownloadGroups.cpp. References GetIterator(), GetNext(), m_nBaseCookie, m_nGroupCookie, m_pList, m_pSection, m_pSuper, and NULL. Referenced by Serialize(), and ~CDownloadGroups(). |
|
Definition at line 136 of file DownloadGroups.cpp. References Add(), CDownloadGroup::AddFilter(), GetSuperGroup(), m_pSection, CDownloadGroup::SetSchema(), CSchema::uriMusicAlbum, CSchema::uriROM, and CSchema::uriVideo. Referenced by CDownloads::Load(). |
|
Definition at line 167 of file DownloadGroups.cpp. References CSettings::sDownloads::CompletePath, CDownloadGroup::Contains(), CSettings::Downloads, GetIterator(), GetNext(), m_pSection, m_pSuper, CDownloadGroup::m_sFolder, and Settings. Referenced by CDownloadTask::CDownloadTask(), and CDownloadsWnd::OnDownloadsLaunch(). |
|
Definition at line 76 of file DownloadGroups.h. References m_pList. Referenced by Serialize(). |
|
Definition at line 86 of file DownloadGroups.h. References m_nGroupCookie. Referenced by CDownloadTabBar::Update(), and CDownloadTabBar::UpdateGroups(). |
|
Definition at line 66 of file DownloadGroups.h. References m_pList. Referenced by Clear(), GetCompletedPath(), Link(), CRemote::PageDownloads(), Serialize(), Unlink(), and CDownloadTabBar::UpdateGroups(). |
|
Definition at line 71 of file DownloadGroups.h. References m_pList. Referenced by Clear(), GetCompletedPath(), Link(), CRemote::PageDownloads(), Serialize(), Unlink(), and CDownloadTabBar::UpdateGroups(). |
|
Definition at line 59 of file DownloadGroups.cpp. References Add(), m_pSection, m_pSuper, and NULL. Referenced by CreateDefault(), Link(), CDownloadGroupDlg::OnInitDialog(), CDownloadTabBar::OnUpdateDownloadGroupRemove(), Serialize(), and CDownloadTabBar::TabItem::TabItem(). |
|
Definition at line 91 of file DownloadGroups.h. References m_nBaseCookie. Referenced by CDownloads::Move(), and CDownloads::Reorder(). |
|
Definition at line 106 of file DownloadGroups.cpp. References GetIterator(), GetNext(), GetSuperGroup(), CDownloadGroup::Link(), and m_pSection. Referenced by CDownloads::Add(), CDownload::CDownload(), and CDownload::Serialize(). |
|
Definition at line 202 of file DownloadGroups.cpp. References CSettings::General, m_nBaseCookie, m_nSaveCookie, m_pSection, Serialize(), Settings, and CSettings::sGeneral::UserPath. Referenced by CDownloads::Load(). |
|
Definition at line 88 of file DownloadGroups.cpp. References m_nBaseCookie, m_nGroupCookie, m_pList, m_pSection, and m_pSuper. Referenced by CDownloadTabBar::OnDownloadGroupNew(), and CDownloadTabBar::OnDownloadGroupRemove(). |
|
Definition at line 226 of file DownloadGroups.cpp. References CSettings::General, m_nBaseCookie, m_nSaveCookie, m_pSection, Serialize(), Settings, and CSettings::sGeneral::UserPath. Referenced by CShareazaApp::ExitInstance(), and CDownloads::OnRun(). |
|
Definition at line 268 of file DownloadGroups.cpp. References CDownloadGroup::Add(), Add(), Clear(), Downloads, CDownloads::FindBySID(), GetCount(), CDownloads::GetCount(), GetIterator(), CDownloads::GetIterator(), GetNext(), CDownloads::GetNext(), GetSuperGroup(), GROUPS_SER_VERSION, m_pSuper, NULL, CDownloads::Reorder(), and CDownloadGroup::Serialize(). |
|
Definition at line 122 of file DownloadGroups.cpp. References GetIterator(), GetNext(), m_pSection, m_pSuper, and CDownloadGroup::Remove(). Referenced by CDownloadTabBar::DropObjects(), and CDownload::~CDownload(). |
|
Definition at line 96 of file DownloadGroups.h. Referenced by Add(). |
|
Definition at line 44 of file DownloadGroups.h. Referenced by Add(), CDownloadGroup::Add(), CDownloadGroups(), Clear(), IncBaseCookie(), Load(), Remove(), CDownloadGroup::Remove(), and Save(). |
|
Definition at line 46 of file DownloadGroups.h. Referenced by Add(), CDownloadGroups(), Clear(), GetGroupCookie(), and Remove(). |
|
Definition at line 45 of file DownloadGroups.h. Referenced by CDownloadGroups(), Load(), and Save(). |
|
Definition at line 42 of file DownloadGroups.h. Referenced by Add(), Check(), Clear(), GetCount(), GetIterator(), GetNext(), and Remove(). |
|
Definition at line 40 of file DownloadGroups.h. Referenced by Add(), Clear(), CreateDefault(), CDownloadTabBar::DropObjects(), GetCompletedPath(), CDownloadTabBar::GetSelectedDownloads(), GetSuperGroup(), Link(), Load(), CDownloadGroupDlg::OnInitDialog(), CDownloadGroupDlg::OnOK(), CRemote::PageDownloads(), Remove(), Save(), Unlink(), and CDownloadTabBar::Update(). |
|
Definition at line 43 of file DownloadGroups.h. Referenced by CDownloadGroups(), Clear(), GetCompletedPath(), GetSuperGroup(), Remove(), Serialize(), and Unlink(). |