#include <FDMDownloadsStat.h>
Public Member Functions | |
| CFDMDownloadsStat () | |
| STDMETHOD() | BuildListOfDownloads (BOOL bIncludeCompleted, BOOL bIncludeRunning) |
| STDMETHOD() | get_Download (long nIndex, IFDMDownload **pVal) |
| STDMETHOD() | get_DownloadCount (long *pVal) |
Protected Member Functions | |
| void | AddDownloadToList (vmsDownloadSmartPtr dld) |
Protected Attributes | |
| fs::list< IFDMDownloadPtr > | m_vDownloads |
Definition at line 14 of file FDMDownloadsStat.h.
| CFDMDownloadsStat::CFDMDownloadsStat | ( | ) | [inline] |
Definition at line 20 of file FDMDownloadsStat.h.
| STDMETHODIMP CFDMDownloadsStat::BuildListOfDownloads | ( | BOOL | bIncludeCompleted, | |
| BOOL | bIncludeRunning | |||
| ) |
Definition at line 41 of file FDMDownloadsStat.cpp.
References _DldsMgr, AddDownloadToList(), fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), m_vDownloads, and S_OK.
| STDMETHODIMP CFDMDownloadsStat::get_Download | ( | long | nIndex, | |
| IFDMDownload ** | pVal | |||
| ) |
Definition at line 29 of file FDMDownloadsStat.cpp.
References ASSERT, E_INVALIDARG, m_vDownloads, and S_OK.
| STDMETHODIMP CFDMDownloadsStat::get_DownloadCount | ( | long * | pVal | ) |
| void CFDMDownloadsStat::AddDownloadToList | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 17 of file FDMDownloadsStat.cpp.
References FAILED, hr, HRESULT, and m_vDownloads.
Referenced by BuildListOfDownloads().
fs::list<IFDMDownloadPtr> CFDMDownloadsStat::m_vDownloads [protected] |
Definition at line 42 of file FDMDownloadsStat.h.
Referenced by AddDownloadToList(), BuildListOfDownloads(), get_Download(), and get_DownloadCount().
1.5.6