#include <vmsDownloadMgrEx.h>

Definition at line 22 of file vmsDownloadMgrEx.h.
| vmsDownloadMgrEx::vmsDownloadMgrEx | ( | ) |
| vmsDownloadMgrEx::~vmsDownloadMgrEx | ( | ) | [virtual] |
| void vmsDownloadMgrEx::Do_OpenFolder | ( | ) |
Definition at line 464 of file vmsDownloadMgrEx.cpp.
References FALSE, fsGetPath(), vmsBtDownloadManager::get_FileCount(), get_OutputFilePathName(), vmsBtDownloadManager::get_RootFolderName(), fsDownloadMgr::IsFileInit(), m_pBtMgr, m_pMgr, MY_MAX_PATH, NULL, and ShellExecute.
| int vmsDownloadMgrEx::get_ReservingDiskSpaceProgress | ( | ) |
Definition at line 456 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::get_CurrentTaskProgress(), fsDownloadMgr::get_ReservingDiskSpaceProgress(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::IsReservingDiskSpace | ( | ) |
Definition at line 448 of file vmsDownloadMgrEx.cpp.
References BTDSE_ALLOCATING, DS_RESERVINGSPACE, vmsBtDownloadManager::get_State(), fsDownloadMgr::get_State(), m_pBtMgr, and m_pMgr.
| void vmsDownloadMgrEx::GetSplittedSectionsList | ( | std::vector< vmsSectionInfo > & | v | ) |
Definition at line 413 of file vmsDownloadMgrEx.cpp.
References GetNumberOfSections(), GetSectionInfo(), vmsBtDownloadManager::GetSectionsInfo(), m_pBtMgr, NULL, vmsSectionInfo::uDCurrent, vmsSectionInfo::uDEnd, and vmsSectionInfo::uDStart.
| BOOL vmsDownloadMgrEx::IsBittorrent | ( | ) |
Definition at line 369 of file vmsDownloadMgrEx.cpp.
References Attach(), BOOL, CHECK_BOUNDS, FALSE, fsDownloadMgr::LoadState(), vmsBtDownloadManager::LoadState(), m_pBtMgr, m_pMgr, and TRUE.
| BOOL vmsDownloadMgrEx::SaveState | ( | LPBYTE | pb, | |
| DWORD * | pdwSize | |||
| ) |
Definition at line 350 of file vmsDownloadMgrEx.cpp.
References BOOL, FALSE, m_pBtMgr, m_pMgr, NULL, vmsBtDownloadManager::SaveState(), and fsDownloadMgr::SaveState().
| int vmsDownloadMgrEx::GetConnectionCount | ( | ) |
Definition at line 342 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::get_ConnectionCount(), fsDownloadMgr::GetDownloader(), fsInternetDownloader::GetRunningSectionCount(), m_pBtMgr, and m_pMgr.
| fsInternetResult vmsDownloadMgrEx::SetToRestartState | ( | ) |
Definition at line 334 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr, m_pMgr, vmsBtDownloadManager::SetToRestartState(), and fsDownloadMgr::SetToRestartState().
| BOOL vmsDownloadMgrEx::IsDontConfirmLaunchWhenDone | ( | ) |
Definition at line 326 of file vmsDownloadMgrEx.cpp.
References BTDF_LAUNCH_WHEN_DONE_NO_CONFIRM, DPF_STARTWHENDONE_NOCONF, fsDownload_Properties::dwFlags, vmsBtDownloadManager::get_Flags(), fsDownloadMgr::GetDP(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::DeleteFile | ( | ) |
Definition at line 318 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::DeleteFile(), fsDownloadMgr::DeleteFile(), m_pBtMgr, and m_pMgr.
Referenced by fsDownloadsMgr::OnDldDone_CheckDownloadIsBittorrent().
| void vmsDownloadMgrEx::UseDetailedLog | ( | BOOL | b | ) |
Definition at line 310 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), m_pBtMgr, m_pMgr, vmsBtDownloadManager::UseDetailedLog(), and fsInternetDownloader::UseDetailedLog().
| UINT vmsDownloadMgrEx::GetTrafficLimit | ( | ) |
Definition at line 302 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetTrafficLimit(), fsInternetDownloader::GetTrafficLimit(), m_pBtMgr, and m_pMgr.
| void vmsDownloadMgrEx::LimitTraffic | ( | UINT | uLimit | ) |
Definition at line 294 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::LimitTraffic(), fsInternetDownloader::LimitTraffic(), m_pBtMgr, and m_pMgr.
| void vmsDownloadMgrEx::StopDownloading | ( | ) |
Definition at line 286 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr, m_pMgr, vmsBtDownloadManager::StopDownloading(), and fsDownloadMgr::StopDownloading().
| fsInternetResult vmsDownloadMgrEx::StartDownloading | ( | ) |
Definition at line 278 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr, m_pMgr, vmsBtDownloadManager::StartDownloading(), and fsDownloadMgr::StartDownloading().
| BOOL vmsDownloadMgrEx::IsHtmlSpiderDownload | ( | ) |
Definition at line 270 of file vmsDownloadMgrEx.cpp.
References DLD_USEDBYHTMLSPIDER, fsDownload_Properties::dwFlags, FALSE, fsDownloadMgr::GetDP(), and m_pMgr.
| BOOL vmsDownloadMgrEx::IsDescriptionFileShouldBeGenerated | ( | ) |
Definition at line 262 of file vmsDownloadMgrEx.cpp.
References BTDF_GENERATE_DESC_FILE, DPF_GENERATEDESCFILE, fsDownload_Properties::dwFlags, vmsBtDownloadManager::get_Flags(), fsDownloadMgr::GetDP(), m_pBtMgr, and m_pMgr.
| fsInternetResult vmsDownloadMgrEx::RestartDownloading | ( | ) |
Definition at line 254 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr, m_pMgr, vmsBtDownloadManager::RestartDownloading(), and fsDownloadMgr::RestartDownloading().
| BOOL vmsDownloadMgrEx::IsCantStart | ( | ) |
Definition at line 246 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::IsCantStart(), fsDownloadMgr::IsCantStart(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::IsStoppedByUser | ( | ) |
Definition at line 238 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::IsStoppedByUser(), fsInternetDownloader::IsStoppedByUser(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::MoveToFolder | ( | LPCSTR | pszPath | ) |
Definition at line 230 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr, m_pMgr, vmsBtDownloadManager::MoveToFolder(), and fsDownloadMgr::MoveToFolder().
| UINT vmsDownloadMgrEx::GetSpeed | ( | ) |
Definition at line 222 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetSpeed(), fsInternetDownloader::GetSpeed(), m_pBtMgr, and m_pMgr.
| UINT64 vmsDownloadMgrEx::GetBytesLeft | ( | ) |
Definition at line 214 of file vmsDownloadMgrEx.cpp.
References fsInternetDownloader::GetBytesLeft(), vmsBtDownloadManager::GetDownloadedBytesCount(), fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetTotalFilesSize(), m_pBtMgr, and m_pMgr.
| void vmsDownloadMgrEx::StopSection | ( | ) |
Definition at line 206 of file vmsDownloadMgrEx.cpp.
References ASSERT, GetBtDownloadMgr(), m_pMgr, NULL, and fsDownloadMgr::StopSection().
| void vmsDownloadMgrEx::CreateOneMoreSection | ( | ) |
Definition at line 198 of file vmsDownloadMgrEx.cpp.
References ASSERT, fsDownloadMgr::CreateOneMoreSection(), GetBtDownloadMgr(), m_pMgr, and NULL.
| int vmsDownloadMgrEx::GetDownloadingSectionCount | ( | ) |
Definition at line 190 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetDownloadingSectionCount(), fsInternetDownloader::GetDownloadingSectionCount(), m_pBtMgr, and m_pMgr.
| void vmsDownloadMgrEx::GetSectionInfo | ( | int | nIndex, | |
| vmsSectionInfo * | sect, | |||
| BOOL | bNoCacheAccounting = FALSE | |||
| ) |
Definition at line 174 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetSectionInfo(), fsInternetDownloader::GetSectionInfo(), m_pBtMgr, m_pMgr, simple_client::s, fsSection::uDCurrent, vmsSectionInfo::uDCurrent, fsSection::uDEnd, vmsSectionInfo::uDEnd, fsSection::uDStart, and vmsSectionInfo::uDStart.
Referenced by GetSplittedSectionsList().
| UINT64 vmsDownloadMgrEx::GetSSFileSize | ( | ) |
Definition at line 166 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), fsInternetDownloader::GetSSFileSize(), vmsBtDownloadManager::GetTotalFilesSize(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::IsDownloading | ( | ) |
Definition at line 158 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::IsDownloading(), fsInternetDownloader::IsDownloading(), m_pBtMgr, and m_pMgr.
| UINT64 vmsDownloadMgrEx::GetDownloadedBytesCount | ( | ) |
Definition at line 150 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::GetDownloadedBytesCount(), fsInternetDownloader::GetDownloadedBytesCount(), fsDownloadMgr::GetDownloader(), m_pBtMgr, and m_pMgr.
| UINT64 vmsDownloadMgrEx::GetLDFileSize | ( | ) |
Definition at line 142 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), fsInternetDownloader::GetLDFileSize(), vmsBtDownloadManager::GetTotalFilesSize(), m_pBtMgr, and m_pMgr.
| int vmsDownloadMgrEx::GetNumberOfSections | ( | ) |
Definition at line 134 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetNumberOfSections(), fsInternetDownloader::GetNumberOfSections(), m_pBtMgr, and m_pMgr.
Referenced by GetSplittedSectionsList().
| fsString vmsDownloadMgrEx::get_URL | ( | BOOL | bInclAuth = FALSE |
) |
Definition at line 126 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::get_URL(), fsInternetDownloader::get_URL(), fsDownloadMgr::GetDownloader(), m_pBtMgr, and m_pMgr.
| void vmsDownloadMgrEx::set_LaunchWhenDone | ( | BOOL | b | ) |
Definition at line 108 of file vmsDownloadMgrEx.cpp.
References BTDF_LAUNCH_WHEN_DONE, vmsBtDownloadManager::disable_Flags(), DPF_STARTWHENDONE, fsDownload_Properties::dwFlags, vmsBtDownloadManager::enable_Flags(), fsDownloadMgr::GetDP(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::IsFileInitializedOnDisk | ( | ) |
Definition at line 100 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::IsFileInit(), m_pMgr, and TRUE.
| BOOL vmsDownloadMgrEx::IsRunning | ( | ) |
Definition at line 92 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::IsRunning(), fsDownloadMgr::IsRunning(), m_pBtMgr, and m_pMgr.
| BOOL vmsDownloadMgrEx::IsDone | ( | ) |
Definition at line 84 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::IsDone(), fsDownloadMgr::IsDone(), m_pBtMgr, and m_pMgr.
| fsResumeSupportType vmsDownloadMgrEx::IsResumeSupported | ( | ) |
Definition at line 76 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), fsInternetDownloader::IsResumeSupported(), m_pMgr, and RST_PRESENT.
| BOOL vmsDownloadMgrEx::IsLaunchWhenDone | ( | ) |
Definition at line 68 of file vmsDownloadMgrEx.cpp.
References BTDF_LAUNCH_WHEN_DONE, DPF_STARTWHENDONE, fsDownload_Properties::dwFlags, vmsBtDownloadManager::get_Flags(), fsDownloadMgr::GetDP(), m_pBtMgr, and m_pMgr.
| float vmsDownloadMgrEx::GetPercentDone | ( | ) |
Definition at line 60 of file vmsDownloadMgrEx.cpp.
References fsDownloadMgr::GetDownloader(), vmsBtDownloadManager::GetPercentDone(), fsInternetDownloader::GetPercentDone(), m_pBtMgr, and m_pMgr.
| fsString vmsDownloadMgrEx::get_OutputFilePathName | ( | ) |
Definition at line 52 of file vmsDownloadMgrEx.cpp.
References vmsBtDownloadManager::get_OutputFilePathName(), fsDownloadMgr::GetDP(), m_pBtMgr, m_pMgr, and fsDownload_Properties::pszFileName.
Referenced by Do_OpenFolder().
| vmsBtDownloadManager * vmsDownloadMgrEx::GetBtDownloadMgr | ( | ) |
Definition at line 47 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr.
Referenced by CreateOneMoreSection(), and StopSection().
| fsDownloadMgr * vmsDownloadMgrEx::GetDownloadMgr | ( | ) |
| void vmsDownloadMgrEx::Attach | ( | vmsBtDownloadManager * | pBtMgr | ) |
Definition at line 35 of file vmsDownloadMgrEx.cpp.
References m_pBtMgr, m_pMgr, and SAFE_DELETE.
Referenced by LoadState(), and fsDownloadsMgr::OnDldDone_CheckDownloadIsBittorrent().
| void vmsDownloadMgrEx::Attach | ( | fsDownloadMgr * | pMgr | ) |
vmsBtDownloadManager* vmsDownloadMgrEx::m_pBtMgr [protected] |
Definition at line 78 of file vmsDownloadMgrEx.h.
Referenced by Attach(), DeleteFile(), Do_OpenFolder(), get_OutputFilePathName(), get_ReservingDiskSpaceProgress(), get_URL(), GetBtDownloadMgr(), GetBytesLeft(), GetConnectionCount(), GetDownloadedBytesCount(), GetDownloadingSectionCount(), GetLDFileSize(), GetNumberOfSections(), GetPercentDone(), GetSectionInfo(), GetSpeed(), GetSplittedSectionsList(), GetSSFileSize(), GetTrafficLimit(), IsBittorrent(), IsCantStart(), IsDescriptionFileShouldBeGenerated(), IsDone(), IsDontConfirmLaunchWhenDone(), IsDownloading(), IsLaunchWhenDone(), IsReservingDiskSpace(), IsRunning(), IsStoppedByUser(), LimitTraffic(), LoadState(), MoveToFolder(), RestartDownloading(), SaveState(), set_LaunchWhenDone(), SetToRestartState(), StartDownloading(), StopDownloading(), UseDetailedLog(), vmsDownloadMgrEx(), and ~vmsDownloadMgrEx().
fsDownloadMgr* vmsDownloadMgrEx::m_pMgr [protected] |
Definition at line 79 of file vmsDownloadMgrEx.h.
Referenced by Attach(), CreateOneMoreSection(), DeleteFile(), Do_OpenFolder(), get_OutputFilePathName(), get_ReservingDiskSpaceProgress(), get_URL(), GetBytesLeft(), GetConnectionCount(), GetDownloadedBytesCount(), GetDownloadingSectionCount(), GetDownloadMgr(), GetLDFileSize(), GetNumberOfSections(), GetPercentDone(), GetSectionInfo(), GetSpeed(), GetSSFileSize(), GetTrafficLimit(), IsCantStart(), IsDescriptionFileShouldBeGenerated(), IsDone(), IsDontConfirmLaunchWhenDone(), IsDownloading(), IsFileInitializedOnDisk(), IsHtmlSpiderDownload(), IsLaunchWhenDone(), IsReservingDiskSpace(), IsResumeSupported(), IsRunning(), IsStoppedByUser(), LimitTraffic(), LoadState(), MoveToFolder(), RestartDownloading(), SaveState(), set_LaunchWhenDone(), SetToRestartState(), StartDownloading(), StopDownloading(), StopSection(), UseDetailedLog(), vmsDownloadMgrEx(), and ~vmsDownloadMgrEx().
1.5.6