#include <fsDownloadsMgr.h>
Definition at line 131 of file fsDownloadsMgr.h.
| fsDownloadsMgr::fsDownloadsMgr | ( | ) |
Definition at line 49 of file fsDownloadsMgr.cpp.
References _HistoryMgrEvents(), FALSE, fsInternetSession::InitializeWinInet(), m_bAllowStart, m_bDeletingDeletedNow, m_bDeletingNow, m_bDisablePD, m_bRestoringNow, m_bSkip1Cicle, m_csQSection, m_csSave, m_cThreadsRunning, m_histmgr, m_nID, m_pfnEvents, NULL, fsDownloadsHistoryMgr::SetEventFunc(), and TRUE.
| fsDownloadsMgr::~fsDownloadsMgr | ( | ) | [virtual] |
Definition at line 73 of file fsDownloadsMgr.cpp.
| BOOL fsDownloadsMgr::AllowStartNewDownloads | ( | ) |
Definition at line 3993 of file fsDownloadsMgr.cpp.
References m_bAllowStart.
Referenced by vmsBtDownloadManager::_threadBtDownloadManager(), and CDownloadsWnd::OnAppExit().
| vmsDownloadSmartPtr fsDownloadsMgr::get_HighestPriorityDownload | ( | ) |
Definition at line 3958 of file fsDownloadsMgr.cpp.
References fsDownloadsMgr::_inc_GrantAllBandwidthInfo::dld, and m_gabInfo.
Referenced by CDownloads_Tasks::OnDldgrantbandwidthfordld(), and CDownloads_Tasks::UpdateMenu().
| void fsDownloadsMgr::AddEvent | ( | vmsDownloadSmartPtr | dld, | |
| LPCSTR | pszEvent, | |||
| fsDownloadMgr_EventDescType | enType = EDT_RESPONSE_S | |||
| ) |
Definition at line 3917 of file fsDownloadsMgr.cpp.
References Event().
Referenced by vmsMediaConvertMgr::_threadConvertMediaFile().
| void fsDownloadsMgr::DownloadStateChanged | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 3912 of file fsDownloadsMgr.cpp.
References DME_DOWNLOAD_STATE_CHANGED, and Event().
Referenced by vmsMediaConvertMgr::_threadConvertMediaFile().
| int fsDownloadsMgr::IsSuchUrlExistsAlready | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 3774 of file fsDownloadsMgr.cpp.
References fsDownload_NetworkProperties::enProtocol, FALSE, fsIsServersEqual(), GetCount(), GetDownload(), NULL, fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, and fsDownload_NetworkProperties::uServerPort.
Referenced by CDownloadsWnd::CreateDownload().
| void fsDownloadsMgr::set_HighestPriorityDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 3767 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimit(), fsDownloadsMgr::_inc_GrantAllBandwidthInfo::dld, m_gabInfo, and ResetDldHpManageState().
Referenced by CDownloads_Tasks::OnDldgrantbandwidthfordld().
| vmsDownloadSmartPtr fsDownloadsMgr::FindDownloadByBtDownload | ( | vmsBtDownload * | pDld | ) |
Definition at line 3363 of file fsDownloadsMgr.cpp.
References ASSERT, m_vDownloads, and NULL.
Referenced by _BtSessionEventsHandler().
| vmsDownloadSmartPtr fsDownloadsMgr::GetDownloadByBtDownloadMgr | ( | vmsBtDownloadManager * | pMgr | ) |
Definition at line 3348 of file fsDownloadsMgr.cpp.
References ASSERT, m_vDownloads, and NULL.
Referenced by _BtDownloadManagerEventHandler().
| void fsDownloadsMgr::AttachToBtSession | ( | ) |
Definition at line 3343 of file fsDownloadsMgr.cpp.
References _BT, _BtSessionEventsHandler(), vmsBtSupport::get_Session(), and vmsBtSession::set_EventsHandler().
Referenced by vmsBtSupport::get_Session().
| void fsDownloadsMgr::GetEventColors | ( | fsDownloadMgr_EventDescType | enType, | |
| COLORREF & | clrText, | |||
| COLORREF & | clrBg, | |||
| int & | iImage | |||
| ) | [static] |
Definition at line 3110 of file fsDownloadsMgr.cpp.
References ASSERT, CLR_DONE, CLR_INQUIRY, CLR_INQUIRY2, CLR_RESPONSE_E, CLR_RESPONSE_S, CLR_RESPONSE_S2, CLR_WARNING, EDT_DONE, EDT_INQUIRY, EDT_INQUIRY2, EDT_RESPONSE_E, EDT_RESPONSE_S, EDT_RESPONSE_S2, and EDT_WARNING.
Referenced by OnDownloadDescEventRcvd().
| BOOL fsDownloadsMgr::DeleteGroupsDownloads | ( | vmsDownloadsGroupSmartPtr | pGroup, | |
| BOOL | bInclSubgroups | |||
| ) |
Definition at line 3074 of file fsDownloadsMgr.cpp.
References _DldsGrps, DeleteDownloads(), FALSE, vmsDownloadsGroupsMgr::GetGroupWithSubgroups(), m_vDownloads, and TRUE.
Referenced by CDownloadsWnd::DeleteGroup().
| void fsDownloadsMgr::ReorderDownloads | ( | DLDS_LIST_REF | vDlds, | |
| DLDS_LIST_REF | vReqOrder, | |||
| bool | bDldsSorted = false | |||
| ) |
Definition at line 2732 of file fsDownloadsMgr.cpp.
References GetDownloadIndex(), LockList(), m_vDownloads, and UnlockList().
Referenced by CDownloads_Tasks::SortDownloads().
| void fsDownloadsMgr::MoveDownloads | ( | DLDS_LIST_REF | vDlds, | |
| vmsDownloadSmartPtr | pDldPosition, | |||
| bool | bUp | |||
| ) |
Definition at line 2701 of file fsDownloadsMgr.cpp.
References DownloadsList_Del(), DownloadsList_Insert(), GetDownloadIndex(), LockList(), m_vDownloads, n, and UnlockList().
Referenced by CDownloads_Tasks::MoveSelectedDownloads().
| void fsDownloadsMgr::LastFilesDownloaded_Clear | ( | ) |
Definition at line 2696 of file fsDownloadsMgr.cpp.
References vmsFileRecentList::Clear(), and m_LastFilesDownloaded.
Referenced by CMainFrame::OnLdfClear().
| const vmsFileRecentList * fsDownloadsMgr::get_LastFilesDownloaded | ( | ) | const |
Definition at line 2691 of file fsDownloadsMgr.cpp.
References m_LastFilesDownloaded.
Referenced by CMainFrame::OnLDF(), CMainFrame::OnUpdateLdf0(), CMainFrame::OnUpdateLdfClear(), and CMainFrame::ShowTrayMenu().
| UINT fsDownloadsMgr::GetNextDownloadID | ( | ) |
| BOOL fsDownloadsMgr::GenerateDescriptionFile | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 2530 of file fsDownloadsMgr.cpp.
References FALSE, FileTimeToStr(), L_DATE, L_THISFILEWASDLDEDFROM, LS, NULL, and TRUE.
Referenced by OnDownloadStoppedOrDone().
| void fsDownloadsMgr::ApplyAER | ( | fsAlreadyExistReaction | enAER | ) |
Definition at line 2519 of file fsDownloadsMgr.cpp.
References LockList(), m_vDownloads, NULL, and UnlockList().
Referenced by fsDownloadMgr::ApplyAER().
| void fsDownloadsMgr::Shutdown | ( | ) |
Definition at line 2500 of file fsDownloadsMgr.cpp.
References _BT, vmsBtSupport::get_Session(), vmsBtSupport::is_Initialized(), m_bNeedExit, m_csQSection, m_csSave, m_cThreadsRunning, m_vDownloads, NULL, vmsBtSession::set_EventsHandler(), vmsBtSupport::Shutdown(), and TRUE.
Referenced by CDownloadsWnd::~CDownloadsWnd().
| void fsDownloadsMgr::LaunchDownload | ( | vmsDownloadSmartPtr | dld, | |
| UINT | nWaitForConfirmation = 0 | |||
| ) |
Definition at line 2472 of file fsDownloadsMgr.cpp.
References fsGetFileName(), CWaitForConfirmationDlg::Init(), L_DOYOUWANTTOLAUNCHIT, L_WASSCHEDULEDTOLAUNCH, LS, MY_MAX_PATH, NULL, and ShellExecute.
Referenced by _threadIntegrityCheckAndVirCheckAndLaunch(), CDownloads_Tasks::OnDldlaunch(), CFVDownloads_Tasks::OnFvdldLaunch(), and CDlg_Download::OnOpenfile().
| void fsDownloadsMgr::Initialize | ( | ) |
Definition at line 2461 of file fsDownloadsMgr.cpp.
References _threadDownloadsMgr(), m_cThreadsRunning, NULL, and ReadSettings().
Referenced by CDownloadsWnd::Create().
| void fsDownloadsMgr::MoveDownloadToEndOfList | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 2423 of file fsDownloadsMgr.cpp.
References DownloadsList_Add(), DownloadsList_Del(), GetDownloadIndex(), LockList(), and UnlockList().
Referenced by CDownloadsWnd::RestartDownload().
| BOOL fsDownloadsMgr::IsRestoringNow | ( | ) |
Definition at line 2355 of file fsDownloadsMgr.cpp.
References m_bRestoringNow.
Referenced by RestoreDownloads2().
| BOOL fsDownloadsMgr::PerformVirusCheck | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bCheckExtReqs, | |||
| BOOL | bWaitDone | |||
| ) |
Definition at line 1745 of file fsDownloadsMgr.cpp.
References EDT_INQUIRY, EDT_RESPONSE_E, EDT_RESPONSE_S, Event(), FALSE, fsErrorToStr(), fsGetFileName(), vmsRegisteredApp::GetFullPath(), GetLastError(), IsExtInExtsStr(), L_LAUNCHAVIR, L_SUCCESS, LPSTR, LS, m_strVirArgs, m_strVirExts, m_strVirName, MY_MAX_PATH, NULL, fsString::Replace(), ShellExecute, and TRUE.
Referenced by _threadIntegrityCheckAndVirCheckAndLaunch(), and CDownloads_Tasks::OnDldcheckvir().
| int fsDownloadsMgr::RestoreDownloads | ( | DLDS_LIST & | vDlds | ) |
Definition at line 2225 of file fsDownloadsMgr.cpp.
References _threadWaitRestoringDlds(), L_RESTORINGDLDS, LS, NULL, RestoreDownloads2(), CWaitDlg::StartWaiting(), and TRUE.
Referenced by CDownloads_Deleted::OnDeletedRestore().
| int fsDownloadsMgr::GetDeletedDownloadIndex | ( | vmsDownloadSmartPtr | dld | ) |
| BOOL fsDownloadsMgr::IsDeletingDeletedNow | ( | ) |
Definition at line 2194 of file fsDownloadsMgr.cpp.
References m_bDeletingDeletedNow.
Referenced by DeleteDeletedDownloads2().
| int fsDownloadsMgr::DeleteDeletedDownloads | ( | DLDS_LIST & | vDlds, | |
| BOOL | bNoCancel = FALSE | |||
| ) |
Definition at line 2042 of file fsDownloadsMgr.cpp.
References _threadWaitDelDeletingsDlds(), DeleteDeletedDownloads2(), L_DELETINGDLDS, LS, NULL, CWaitDlg::StartWaiting(), and TRUE.
Referenced by ClearDeleted(), CDownloads_Deleted::OnDeletedDelete(), and ReadDeletedSettings().
| void fsDownloadsMgr::ClearDeleted | ( | ) |
Definition at line 2028 of file fsDownloadsMgr.cpp.
References ASSERT, DeleteDeletedDownloads(), FALSE, m_vDeletedDownloads, and m_vDeletedDownloads_tmp.
Referenced by CDownloads_Groups::OnDeletedClear().
| void fsDownloadsMgr::ReadDeletedSettings | ( | ) |
Definition at line 1919 of file fsDownloadsMgr.cpp.
References _App, ASSERT, fsAppSettings::Deleted_Bypass(), fsAppSettings::Deleted_BypassCompleted(), fsAppSettings::Deleted_MaxCount(), DeleteDeletedDownloads(), m_bBypassCopleted, m_bBypassDeleted, m_cMaxDeleted, m_vDeletedDownloads, m_vDeletedDownloads_tmp, and TRUE.
Referenced by CDlgDeletedProperties::OnOK(), and ReadSettings().
| vmsDownloadSmartPtr fsDownloadsMgr::Get_DeletedDownload | ( | int | iIndex | ) |
Definition at line 1904 of file fsDownloadsMgr.cpp.
References asio::placeholders::iterator, m_vDeletedDownloads, and m_vDeletedDownloads_tmp.
Referenced by fsFindDownloadMgr::FindNext_InDeleted(), CDownloadsWnd::LoadDownloads(), and CDownloads_Deleted::Sort().
| int fsDownloadsMgr::Get_DeletedDownloadCount | ( | ) |
Definition at line 1898 of file fsDownloadsMgr.cpp.
References m_vDeletedDownloads, and m_vDeletedDownloads_tmp.
Referenced by fsFindDownloadMgr::FindNext_InDeleted(), fsFindDownloadMgr::GetElementCount(), CDownloadsWnd::LoadDownloads(), CDownloads_Groups::OnDeletedClear(), CDownloads_Groups::ShowDeletedContextMenu(), CDownloads_Deleted::Sort(), and CDownloads_Groups::UpdateDeletedIcon().
| void fsDownloadsMgr::Apply_MirrParameters | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 1851 of file fsDownloadsMgr.cpp.
References ASSERT, DLD_DONTUSEMIRRORS, FALSE, m_bMirrAutoSearch, m_bMirrCalcSpeed, m_bMirrDontSearchIfSizeUnk, m_cMaxMirrs, m_uMirrFileMinSize, m_uMirrRecalcSpeedTime, and NULL.
Referenced by CDownloaderProperties_MirrorsPage::OnApply(), and CCreateDownloadDlg::OnInitDialog().
| void fsDownloadsMgr::ReadMirrParameters | ( | ) |
Definition at line 1841 of file fsDownloadsMgr.cpp.
References _App, m_bMirrAutoSearch, m_bMirrCalcSpeed, m_bMirrDontSearchIfSizeUnk, m_cMaxMirrs, m_uMirrFileMinSize, m_uMirrRecalcSpeedTime, fsAppSettings::Mirr_AutoSearch(), fsAppSettings::Mirr_CalcSpeed(), fsAppSettings::Mirr_DontSearchIfSizeUnk(), fsAppSettings::Mirr_FileMinSize(), fsAppSettings::Mirr_MaxCount(), and fsAppSettings::Mirr_RecalcSpeedTime().
Referenced by CDownloaderProperties_MirrorsPage::OnApply(), and ReadSettings().
| void fsDownloadsMgr::Apply_MirrParameters | ( | ) |
Definition at line 1831 of file fsDownloadsMgr.cpp.
References m_vDownloads, and NULL.
Referenced by Add(), and LoadDownloads().
| void fsDownloadsMgr::StartDownloads | ( | DLDS_LIST & | vpDlds, | |
| BOOL | bByUser = FALSE | |||
| ) |
Definition at line 423 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimit(), DME_DLDSAUTOSTARTMDFD, Event(), FALSE, GetRunningDownloadCount(), LOG, m_aTUM, m_enTUM, nl, NULL, and TRUE.
Referenced by CCreateDownloadDlg::_CheckDownloadAlrExists(), CDownloads_Tasks::OnDldstart(), CFVDownloads_Tasks::OnFvdldStart(), CDlg_Download::OnStop(), ProcessDownloads(), StartAllDownloads(), fsWebPageDownloader::StartDownloading(), fsScheduleMgr::StartDownloads(), CDownloadsWnd::StartDownloadsInList(), and StartGroup().
| void fsDownloadsMgr::StopDownloads | ( | DLDS_LIST & | vDlds, | |
| BOOL | bByUser = FALSE | |||
| ) |
Definition at line 462 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimit(), DME_DLDSAUTOSTARTMDFD, Event(), FALSE, LOG, nl, and NULL.
Referenced by CDownloads_Tasks::OnDldstop(), CFVDownloads_Tasks::OnFvdldStop(), CDlg_Download::OnStop(), ProcessDownloads(), StopAllDownloads(), fsWebPageDownloader::StopDownloading(), fsScheduleMgr::StopDownloads(), CDownloadsWnd::StopDownloadsInList(), and StopGroup().
| void fsDownloadsMgr::ProcessDownloads | ( | ) |
Definition at line 274 of file fsDownloadsMgr.cpp.
References _SitesMgr, BOOL, BTDSE_QUEUED, fsSiteInfo::cConnsNow, fsSiteInfo::cMaxConns, fsDownload_NetworkProperties::enProtocol, FALSE, fsSitesMgr::FindSite2(), fsNPToSiteValidFor(), fsInternetDownloader::GetBytesLeft(), fsInternetDownloader::GetCreatingNowSectionCount(), fsDownloadMgr::GetDNP(), fsDownloadMgr::GetDownloader(), fsDownloadMgr::GetDP(), fsInternetDownloader::GetMirrorURLCount(), fsSitesMgr::GetSite(), fsSitesMgr::GetSiteCount(), fsInternetDownloader::GetSSFileSize(), fsArchive::fsMutex::Lock(), LOG, m_aTUM, m_bAllowStart, m_bDisablePD, m_enTUM, m_mxBuildConns, m_vDownloads, fsInternetDownloader::MirrorDNP(), nl, NULL, fsDownload_NetworkProperties::pszServerName, RebuildServerList(), RST_PRESENT, StartDownloads(), StopDownloads(), TRUE, fsTrafficUsageMode::uMaxConns, fsTrafficUsageMode::uMaxConnsPS, fsTrafficUsageMode::uMaxDlds, fsDownload_Properties::uMaxSections, fsArchive::fsMutex::Unlock(), and fsDownload_Properties::uSectionMinSize.
Referenced by _BtDownloadManagerEventHandler(), vmsBtDownloadManager::_threadBtDownloadManager(), CDownloadsWnd::CreateDownloads(), DeleteDownloads2(), CDownloads_Tasks::OnDldautostart(), CDownloadsWnd::OnDownloaderProperties(), CDownloadsWnd::OnDownloadProperties(), OnDownloadStoppedOrDone(), CFVDownloads_Tasks::OnFvdldAutostart(), CMainFrame::OnProceedFurherInitialization(), CDownloads_Tasks::OnTimer(), RestoreDownloads2(), fsWebPageDownloader::SetAutoStartDownloading(), and SetTUM().
| void fsDownloadsMgr::Download_CloneSettings | ( | vmsDownloadSmartPtr | dst, | |
| vmsDownloadSmartPtr | src | |||
| ) | [static] |
Definition at line 1731 of file fsDownloadsMgr.cpp.
Referenced by CCreateBatchDownload::GenerateAndAddDownloads(), and CCreateDownloadListDlg::GenerateDownloads().
| void fsDownloadsMgr::UseDetailedLog | ( | BOOL | b | ) |
Definition at line 1510 of file fsDownloadsMgr.cpp.
References m_bDetLog, and m_vDownloads.
Referenced by CDownloaderProperties_ListPage::OnApply().
| BOOL fsDownloadsMgr::IsDeletingNow | ( | ) |
Definition at line 1505 of file fsDownloadsMgr.cpp.
References m_bDeletingNow.
Referenced by DeleteDownloads2(), CDownloadsWnd::FilterDownloads2(), CMainFrame::OnAppAbout(), CMainFrame::OnDial(), and CMainFrame::OnDldCreate().
| fsTUMManage fsDownloadsMgr::GetTUMManage | ( | ) |
Definition at line 1500 of file fsDownloadsMgr.cpp.
References m_enTUMManage.
Referenced by CDownloaderProperties_NetworkPage::OnInitDialog().
| void fsDownloadsMgr::SetTUMManage | ( | fsTUMManage | enManage | ) |
Definition at line 1490 of file fsDownloadsMgr.cpp.
References m_enTUM, m_enTUMManage, m_enUserTUM, and TM_OFF.
Referenced by CDownloaderProperties_NetworkPage::OnApply().
| void fsDownloadsMgr::AttachToIECatchMgr | ( | fsIECatchMgr * | mgr | ) |
Definition at line 1485 of file fsDownloadsMgr.cpp.
References _IECatchMgrEvents(), and fsIECatchMgr::SetEventsFunc().
Referenced by CDownloadsWnd::CDownloadsWnd().
| int fsDownloadsMgr::GetRunningDownloadCount | ( | ) |
Definition at line 1432 of file fsDownloadsMgr.cpp.
References m_vDownloads.
Referenced by StartDownloads().
| void fsDownloadsMgr::ApplyTrafficLimit | ( | ) |
Definition at line 1008 of file fsDownloadsMgr.cpp.
References _App, _BT, ApplyTrafficLimit_HasHpDld(), ApplyTrafficLimit_NoHpDld(), fsAppSettings::Bittorrent_UploadConnectionLimit(), fsAppSettings::Bittorrent_UploadTrafficLimit(), fsDownloadsMgr::_inc_GrantAllBandwidthInfo::dld, FALSE, vmsBtSupport::get_Session(), vmsBtSupport::is_Initialized(), LOG, m_enTUM, m_gabInfo, m_vDownloads, nl, NULL, ResetDldHpManageState(), vmsBtSession::SetMaxUploads(), and vmsBtSession::SetUploadLimit().
Referenced by _DownloadMgrEvents(), vmsBtSupport::get_Session(), ManageTraffic(), OnSectionStop(), set_HighestPriorityDownload(), SetTUM(), StartDownloads(), StopDownloads(), and CMainFrame::UpdateSettings().
| void fsDownloadsMgr::ReadSettings | ( | ) |
Definition at line 1407 of file fsDownloadsMgr.cpp.
References _App, fsAppSettings::AutoDelCompleted(), fsAppSettings::AutosaveInterval(), fsAppSettings::Avir_Args(), fsAppSettings::Avir_Exts(), fsAppSettings::Avir_Name(), fsAppSettings::Avir_Perform(), fsAppSettings::CurrentTUM(), fsAppSettings::DDR(), fsAppSettings::DetLog(), FALSE, fsAppSettings::Get_TUM(), InitTUM(), m_aTUM, m_bAutoDelCompleted, m_bDetLog, m_bVirCheck, m_enDDR, m_enTUM, m_enTUMManage, m_enUserTUM, m_histmgr, m_strVirArgs, m_strVirExts, m_strVirName, m_uAutosaveInterval, ReadDeletedSettings(), ReadMirrParameters(), fsDownloadsHistoryMgr::ReadSettings(), TUM_HEAVY, fsAppSettings::TUMManage(), and fsTrafficUsageMode::uTrafficLimit.
Referenced by Initialize(), and CMainFrame::UpdateSettings().
| void fsDownloadsMgr::ApplyConnectionType | ( | fsConnectionType | enCT | ) |
Definition at line 1172 of file fsDownloadsMgr.cpp.
References _App, CT_CABLE_DSL_256, CT_CABLE_DSL_300, CT_CABLE_DSL_512, CT_DUAL_ISDN, CT_LAN_10, CT_MODEM_14_4, CT_MODEM_28_8, CT_MODEM_33_6, CT_MODEM_56_ISDN, CT_T1, fsAppSettings::FileWriteCacheSize(), m_aTUM, fsAppSettings::MaxSections(), fsAppSettings::NOW(), TUM_HEAVY, TUM_LIGHT, TUM_MEDIUM, fsTrafficUsageMode::uMaxConns, fsTrafficUsageMode::uMaxConnsPS, fsTrafficUsageMode::uMaxDlds, and fsTrafficUsageMode::uTrafficLimit.
Referenced by CDownloadsWnd::ApplyConnectionType(), and InitTUM().
| void fsDownloadsMgr::SaveSettings | ( | ) |
Definition at line 1156 of file fsDownloadsMgr.cpp.
References _App, fsAppSettings::AutoDelCompleted(), fsAppSettings::AutosaveInterval(), fsAppSettings::Avir_Args(), fsAppSettings::Avir_Exts(), fsAppSettings::Avir_Name(), fsAppSettings::Avir_Perform(), fsAppSettings::CurrentTUM(), fsAppSettings::DDR(), fsAppSettings::DetLog(), m_aTUM, m_bAutoDelCompleted, m_bDetLog, m_bVirCheck, m_enDDR, m_enTUMManage, m_enUserTUM, m_strVirArgs, m_strVirExts, m_strVirName, m_uAutosaveInterval, fsAppSettings::Set_TUM(), and fsAppSettings::TUMManage().
Referenced by CDownloadsWnd::OnDownloaderProperties(), and CDownloadsWnd::SaveAll().
| void fsDownloadsMgr::UnlockList | ( | ) |
Definition at line 1151 of file fsDownloadsMgr.cpp.
References m_mxDlList, and fsArchive::fsMutex::Unlock().
Referenced by ApplyAER(), CSchedule_WTSPage::BuildDownloadsList(), CDownloadsWnd::CreateDownloads(), DeleteDownloads2(), MoveDownloads(), MoveDownloadToEndOfList(), ReorderDownloads(), and CDownloadsWnd::ShowDownloads().
| void fsDownloadsMgr::LockList | ( | ) |
Definition at line 1146 of file fsDownloadsMgr.cpp.
References fsArchive::fsMutex::Lock(), and m_mxDlList.
Referenced by ApplyAER(), CSchedule_WTSPage::BuildDownloadsList(), CDownloadsWnd::CreateDownloads(), DeleteDownloads2(), MoveDownloads(), MoveDownloadToEndOfList(), ReorderDownloads(), and CDownloadsWnd::ShowDownloads().
| void fsDownloadsMgr::RebuildServerList | ( | BOOL | bUpdateSiteList = TRUE |
) |
Definition at line 804 of file fsDownloadsMgr.cpp.
References _App, _SitesMgr, fsSitesMgr::AddSite(), fsSiteInfo::bTemp, fsSiteInfo::cConnsNow, fsSiteInfo::cMaxConns, fsInternetDownloader::DNP(), fsDownload_NetworkProperties::dwFtpFlags, fsSiteInfo::dwFtpFlags, fsSiteInfo::dwValidFor, fsDownload_NetworkProperties::enProtocol, fsSitesMgr::FindSite2(), fsNPToSiteValidFor(), fsInternetDownloader::GetCreatingNowSectionCount(), fsDownloadMgr::GetDownloader(), fsInternetDownloader::GetNumberOfSections(), fsInternetDownloader::GetSectionInfo(), fsSitesMgr::GetSite(), fsSitesMgr::GetSiteCount(), fsArchive::fsMutex::Lock(), LOG, m_mxBuildConns, m_vDownloads, nl, fsSection::nMirrorURL, NULL, fsSiteInfo::pGroup, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, SITE_VALIDFOR_SUBDOMAINS, fsSitesMgr::SiteUpdated(), fsAppSettings::SM_KeepPasswords(), SS_DOWNLOADING, fsSection::state, fsSiteInfo::strName, fsSiteInfo::strPassword, fsSiteInfo::strUser, TRUE, and fsArchive::fsMutex::Unlock().
Referenced by _DownloadMgrEvents(), CSitesWnd::LoadSites(), and ProcessDownloads().
| void fsDownloadsMgr::AllowStartNewDownloads | ( | BOOL | bAllow | ) |
| vmsDownloadSmartPtr fsDownloadsMgr::GetDownloadByID | ( | UINT | nID | ) |
Definition at line 1127 of file fsDownloadsMgr.cpp.
References m_vDownloads, and NULL.
Referenced by vmsMediaConvertMgr::LoadState(), fsScheduleMgr::StartDownloads(), fsScheduleMgr::StopDownloads(), fsScheduleMgr::UpdateTaskDownloads(), and fsWebPageDownloader::WebPage_FindDownload().
| BOOL fsDownloadsMgr::IsRunning | ( | ) |
Definition at line 1109 of file fsDownloadsMgr.cpp.
References FALSE, m_vDownloads, and TRUE.
Referenced by _threadDownloadsMgr(), CheckNoActiveDownloads(), and fsScheduleMgr::ManageHalfEvents().
Definition at line 1087 of file fsDownloadsMgr.cpp.
References FALSE, m_vSummSpeed, and TRUE.
Referenced by fsScheduleMgr::ManageHalfEvents().
| void fsDownloadsMgr::StopAllDownloads | ( | BOOL | bByUser | ) |
Definition at line 1072 of file fsDownloadsMgr.cpp.
References m_vDownloads, and StopDownloads().
Referenced by CMainFrame::OnStopall(), and fsScheduleMgr::StartTask().
| void fsDownloadsMgr::StartAllDownloads | ( | BOOL | bByUser | ) |
Definition at line 1053 of file fsDownloadsMgr.cpp.
References FALSE, m_vDownloads, and StartDownloads().
Referenced by CMainFrame::OnStartall(), and fsScheduleMgr::StartTask().
| fsTUM fsDownloadsMgr::GetTUM | ( | ) |
Definition at line 1003 of file fsDownloadsMgr.cpp.
References m_enTUM.
Referenced by vmsBtSupport::ApplyRestrainAllDownloadsMode(), and CDownloadsWnd::GetTUM().
| void fsDownloadsMgr::SetTUM | ( | fsTUM | tum | ) |
Definition at line 995 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimit(), m_enTUM, m_enUserTUM, ProcessDownloads(), and ResetDldHpManageState().
Referenced by CDownloadsWnd::SetTUM().
| UINT fsDownloadsMgr::GetAmountConnections | ( | ) |
Definition at line 951 of file fsDownloadsMgr.cpp.
References _SitesMgr, fsSiteInfo::cConnsNow, fsSitesMgr::GetSite(), and fsSitesMgr::GetSiteCount().
Referenced by IsMaxConnsReached().
| fsTrafficUsageMode * fsDownloadsMgr::GetTUMs | ( | ) |
Definition at line 799 of file fsDownloadsMgr.cpp.
References m_aTUM.
Referenced by CDownloaderProperties_NetworkPage::OnApply(), and CDownloaderProperties_NetworkPage::OnInitDialog().
| void fsDownloadsMgr::SetAutosaveInterval | ( | UINT | uInterval | ) |
| void fsDownloadsMgr::StartGroup | ( | vmsDownloadsGroupSmartPtr | pGroup | ) |
Definition at line 719 of file fsDownloadsMgr.cpp.
References FALSE, m_vDownloads, StartDownloads(), and TRUE.
| void fsDownloadsMgr::StopGroup | ( | vmsDownloadsGroupSmartPtr | pGroup | ) |
Definition at line 704 of file fsDownloadsMgr.cpp.
References m_vDownloads, StopDownloads(), and TRUE.
| int fsDownloadsMgr::DeleteDownloads | ( | DLDS_LIST & | vDlds, | |
| BOOL | bByUser, | |||
| BOOL | bDontConfirmFileDeleting | |||
| ) |
Definition at line 632 of file fsDownloadsMgr.cpp.
References _threadWaitDelDlds(), DeleteDownloads2(), L_DELETINGDLDS, LS, CWaitDlg::StartWaiting(), and TRUE.
Referenced by fsWebPageDownloader::DeleteAllDownloads(), CDownloadsWnd::DeleteDeadDownloadsInList(), CDownloadsWnd::DeleteDownloads(), DeleteGroupsDownloads(), CDownloads_Tasks::DeleteSelected(), OnBeforeDownload(), and OnDldDoneCheckIfNeedDel().
| int fsDownloadsMgr::GetDownloadIndex | ( | vmsDownloadSmartPtr | dld, | |
| int | nFindStartPos = 0 | |||
| ) |
Definition at line 619 of file fsDownloadsMgr.cpp.
References ASSERT, and m_vDownloads.
Referenced by MoveDownloads(), MoveDownloadToEndOfList(), and ReorderDownloads().
| BOOL fsDownloadsMgr::Save | ( | ) |
Definition at line 597 of file fsDownloadsMgr.cpp.
References _BT, b, BOOL, FALSE, m_csSave, m_histmgr, m_saver, m_vDeletedDownloads, m_vDownloads, fsDownloadRegSaver::Save(), fsDownloadsHistoryMgr::SaveHistory(), vmsBtSupport::SaveState(), and SaveStateInformation().
Referenced by CDownloadsWnd::SaveAll().
| BOOL fsDownloadsMgr::LoadDownloads | ( | ) |
Definition at line 518 of file fsDownloadsMgr.cpp.
References _App, _BT, _BtDownloadManagerEventHandler(), _DownloadMgrEventDesc(), _DownloadMgrEvents(), _threadStartSeeding(), Apply_MirrParameters(), BOOL, fsAppSettings::CheckRecycleBinSize(), DLLR_TOOLARGESIZE, FALSE, CWaitForConfirmationDlg::Init(), vmsBtSupport::is_Initialized(), L_DONTCHECKAGAIN, L_RBTOOLARGE, fsDownloadRegSaver::Load(), fsDownloadsHistoryMgr::LoadHistory(), LoadStateInformation(), LS, m_bDetLog, CWaitForConfirmationDlg::m_bDontAsk, m_cThreadsRunning, m_histmgr, m_nID, CWaitForConfirmationDlg::m_pszIcon, m_saver, m_vDeletedDownloads, m_vDownloads, NULL, and TRUE.
Referenced by CDownloadsWnd::LoadDownloads().
| size_t fsDownloadsMgr::GetCount | ( | ) | [inline] |
Definition at line 267 of file fsDownloadsMgr.h.
References m_vDownloads.
Referenced by CCreateDownloadDlg::_CheckDownloadAlrExists(), CMainFrame::Balloon_ShowDLInfo(), CSchedule_WTSPage::BuildDownloadsList(), CFDMDownloadsStat::BuildListOfDownloads(), fsUrlsToDownloadRegKeyMgr::CheckKey(), CDownloadsWnd::CreateDownloads(), CDlgExportDownloads::ExportDownloads(), CDownloadsWnd::FilterDownloads2(), fsFindDownloadMgr::FindNext_InDeleted(), fsFindDownloadMgr::FindNext_InHistoryOfDlds(), fsFindDownloadMgr::FindNext_InListOfDlds(), fsFindDownloadMgr::GetElementCount(), IsSuchUrlExistsAlready(), CDownloads_Tasks::MoveSelectedDownloads(), CDownloadsWnd::OnAppExit(), CFlashVideoDownloadsWnd::OnCreate(), CDownloadsWnd::OnTimer(), CFloatingInfoWnd::RebuildList(), and CDownloadsWnd::UpdateTrayIconPlusOthers().
| vmsDownloadSmartPtr fsDownloadsMgr::GetDownload | ( | size_t | iIndex | ) |
Definition at line 507 of file fsDownloadsMgr.cpp.
References m_vDownloads, and NULL.
Referenced by CCreateDownloadDlg::_CheckDownloadAlrExists(), CMainFrame::Balloon_ShowDLInfo(), CSchedule_WTSPage::BuildDownloadsList(), CFDMDownloadsStat::BuildListOfDownloads(), CDownloadsWnd::CreateDownloads(), CDlgExportDownloads::ExportDownloads(), CDownloadsWnd::FilterDownloads2(), fsFindDownloadMgr::FindNext_InListOfDlds(), IsSuchUrlExistsAlready(), CDownloads_Tasks::MoveSelectedDownloads(), CDownloadsWnd::OnAppExit(), CFlashVideoDownloadsWnd::OnCreate(), CDownloadsWnd::OnTimer(), CFloatingInfoWnd::RebuildList(), and CDownloadsWnd::UpdateTrayIconPlusOthers().
| void fsDownloadsMgr::SetEventsFunc | ( | fntDownloadsMgrEventFunc | pfn, | |
| LPVOID | lpParam | |||
| ) |
Definition at line 488 of file fsDownloadsMgr.cpp.
References m_lpEventsParam, and m_pfnEvents.
Referenced by CDownloadsWnd::CDownloadsWnd().
| vmsDownloadSmartPtr fsDownloadsMgr::GetDownloadByDownloadMgr | ( | fsDownloadMgr * | pMgr | ) |
Definition at line 140 of file fsDownloadsMgr.cpp.
References ASSERT, m_vDownloads, and NULL.
Referenced by _DownloadMgrEventDesc(), and _DownloadMgrEvents().
| UINT fsDownloadsMgr::Add | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bKeepIDAsIs = FALSE, |
|||
| bool | bPlaceToTop = false | |||
| ) |
Definition at line 77 of file fsDownloadsMgr.cpp.
References _BtDownloadManagerEventHandler(), _DownloadMgrEventDesc(), _DownloadMgrEvents(), _SitesMgr, Apply_MirrParameters(), DownloadsList_Add(), DownloadsList_Insert(), fsSiteInfo::dwFtpFlags, FALSE, fsSitesMgr::FindSite2(), fsNPToSiteValidFor(), m_bDetLog, m_bSkip1Cicle, m_nID, NULL, and TRUE.
Referenced by CDownloadsWnd::CreateDownloads(), and RestoreDownloads2().
| DWORD WINAPI fsDownloadsMgr::_threadStartSeeding | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 3963 of file fsDownloadsMgr.cpp.
References _BT, BTDS_SEEDING, vmsBtSession::get_Download(), vmsBtSession::get_DownloadCount(), vmsBtSupport::get_Session(), vmsBtDownload::GetState(), vmsBtDownload::IsPaused(), m_bNeedExit, m_cThreadsRunning, and vmsBtDownload::Resume().
Referenced by LoadDownloads().
| void fsDownloadsMgr::EventEx | ( | vmsDownloadSmartPtr | dld, | |
| LPCSTR | pszEvent, | |||
| fsDownloadMgr_EventDescType | enType, | |||
| int | nMaxCharsPerLine | |||
| ) | [protected] |
Definition at line 3922 of file fsDownloadsMgr.cpp.
References Event(), FALSE, fsString::IsEmpty(), and n.
Referenced by _BtSessionEventsHandler().
| BOOL fsDownloadsMgr::OnDldDone_CheckDownloadIsHtmlPageWithVideo | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 3803 of file fsDownloadsMgr.cpp.
References _pwndFVDownloads, CFlashVideoDownloadsWnd::AddDownload(), b, BOOL, DLD_FLASH_VIDEO, DLD_NEED_ONDONE_FOR_FLASH_VIDEO, DLD_USEDBYHTMLSPIDER, EDT_INQUIRY, Event(), FALSE, vmsVideoSiteHtmlCodeParser::get_IsVideoUrlDirectLink(), vmsVideoSiteHtmlCodeParser::get_VideoTitle(), vmsVideoSiteHtmlCodeParser::get_VideoType(), vmsVideoSiteHtmlCodeParser::get_VideoUrl(), fsInternetDownloader::GetContentType(), fsDownloadMgr::GetDNP(), fsDownloadMgr::GetDownloader(), fsDownloadMgr::GetDP(), GetFileSize(), fsInternetDownloader::GetLDFileSize(), IR_SUCCESS, L_FVDLD_DETECTED, L_UNKNOWN, LPSTR, LS, MY_MAX_PATH, NULL, vmsVideoSiteHtmlCodeParser::Parse(), vmsVideoSiteHtmlCodeParser::Parse_Further(), fsDownload_Properties::pszFileName, fsDownload_NetworkProperties::pszServerName, SAFE_DELETE_ARRAY, and TRUE.
Referenced by OnDownloadStoppedOrDone().
| void fsDownloadsMgr::ApplyTrafficLimitForListOfDownloads | ( | DLDS_LIST | vDlds, | |
| UINT | nLimit | |||
| ) | [protected] |
Definition at line 3711 of file fsDownloadsMgr.cpp.
Referenced by ApplyTrafficLimit_HasHpDld(), and ApplyTrafficLimit_NoHpDld().
| void fsDownloadsMgr::ApplyTrafficLimit_HasHpDld | ( | ) | [protected] |
Definition at line 3597 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimit_NoHpDld(), ApplyTrafficLimitForListOfDownloads(), ASSERT, BOOL, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::CS_Done, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::CS_Measuring_Bandwidth, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::CS_Measuring_DldMaxSpeed, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::CS_Start, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::dld, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::enCurState, FALSE, GetRunningDownloads(), LOG, m_aTUM, m_bSkip1Cicle, m_enTUM, m_gabInfo, nl, fsTicksMgr::Now(), NULL, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::timeStateChange, TRUE, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::uBandwidth, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::uDldMaxSpeed, and fsTrafficUsageMode::uTrafficLimit.
Referenced by ApplyTrafficLimit().
| void fsDownloadsMgr::ApplyTrafficLimit_NoHpDld | ( | ) | [protected] |
Definition at line 3576 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimitForListOfDownloads(), GetRunningDownloads(), LOG, m_aTUM, m_bSkip1Cicle, m_enTUM, nl, TRUE, and fsTrafficUsageMode::uTrafficLimit.
Referenced by ApplyTrafficLimit(), and ApplyTrafficLimit_HasHpDld().
| void fsDownloadsMgr::GetRunningDownloads | ( | DLDS_LIST & | v | ) | [protected] |
Definition at line 3567 of file fsDownloadsMgr.cpp.
References m_vDownloads.
Referenced by ApplyTrafficLimit_HasHpDld(), and ApplyTrafficLimit_NoHpDld().
| void fsDownloadsMgr::ResetDldHpManageState | ( | ) | [protected] |
Definition at line 3560 of file fsDownloadsMgr.cpp.
References fsDownloadsMgr::_inc_GrantAllBandwidthInfo::CS_Start, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::enCurState, m_gabInfo, fsDownloadsMgr::_inc_GrantAllBandwidthInfo::uBandwidth, and fsDownloadsMgr::_inc_GrantAllBandwidthInfo::uDldMaxSpeed.
Referenced by ApplyTrafficLimit(), set_HighestPriorityDownload(), and SetTUM().
| void fsDownloadsMgr::OnDownloadDescEventRcvd | ( | vmsDownloadSmartPtr | dld, | |
| fsDownloadMgr_EventDescType | enType, | |||
| LPCSTR | pszEvent | |||
| ) | [protected] |
Definition at line 3533 of file fsDownloadsMgr.cpp.
References COLORREF, DME_EVENTDESCRIPRIONRECEIVED, Event(), GetEventColors(), and fsDownloadEvents::timeEvent.
Referenced by _DownloadMgrEventDesc(), and Event().
| BOOL fsDownloadsMgr::OnDownloadStoppedOrDone | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 3428 of file fsDownloadsMgr.cpp.
References _threadIntegrityCheckAndVirCheckAndLaunch(), vmsFileRecentList::Add(), fsDownloadsHistoryMgr::AddToHistory(), CheckNoActiveDownloads(), fsDownloadsMgr::_inc_GrantAllBandwidthInfo::dld, DLD_DELETEFILEATRESTART, DLD_DONTPUTTOHISTORY, DLD_FLASH_VIDEO, DLD_MF_AUTO_CONVERT, DLD_NOAUTOLAUNCH, DME_DOWNLOADEREVENTRECEIVED, DME_DOWNLOADSTOPPEDORDONE, DME_UPDATEDLDDIALOG, Event(), FALSE, fsGetFileName(), GenerateDescriptionFile(), LOG_local, LPVOID, m_bVirCheck, m_cThreadsRunning, m_gabInfo, m_histmgr, m_LastFilesDownloaded, MCM_OS_SEARCH_IN_MGR, MY_MAX_PATH, NULL, OnDldDone_CheckDownloadIsBittorrent(), OnDldDone_CheckDownloadIsHtmlPageWithVideo(), OnDldDone_CheckDownloadIsMetaLink(), OnDldDoneCheckIfNeedDel(), ProcessDownloads(), TRUE, vmsDeleteFileAtWinBoot(), and WM_DLD_CONVERT_MEDIA.
Referenced by _BtDownloadManagerEventHandler(), and _DownloadMgrEvents().
| DWORD fsDownloadsMgr::_BtDownloadManagerEventHandler | ( | vmsBtDownloadManager * | pMgr, | |
| vmsBtDownloadManagerEvent | ev, | |||
| DWORD | dwInfo, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 3379 of file fsDownloadsMgr.cpp.
References BTDME_ALLOCATING, BTDME_ALLOCATION_FAILED, BTDME_CHECKING_FILES, BTDME_DOWNLOAD_STARTED, BTDME_DOWNLOAD_STOPPED_OR_DONE, BTDME_DOWNLOADING, BTDME_SEEDING, DME_CREATEDLDDIALOG, DME_DLMGRTHREADSTARTING, DME_DOWNLOAD_STATE_CHANGED, EDT_INQUIRY, EDT_RESPONSE_E, EDT_RESPONSE_S, Event(), FALSE, fsErrorToStr(), GetDownloadByBtDownloadMgr(), L_DONE, L_DOWNLOADING, L_PREP_FILES_ONDISK, L_STARTING, L_STOPPED, LS, NULL, OnDownloadStoppedOrDone(), and ProcessDownloads().
Referenced by Add(), LoadDownloads(), and OnDldDone_CheckDownloadIsBittorrent().
| void fsDownloadsMgr::_BtSessionEventsHandler | ( | class vmsBtSession * | , | |
| struct vmsBtSessionEvent * | ev, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 3271 of file fsDownloadsMgr.cpp.
References BTSET_BTDLD_WAS_RESET, BTSET_FILE_ERROR, BTSET_HASH_FAILED, BTSET_TRACKER, BTSET_TRACKER_ANNOUNCE, BTSET_TRACKER_REPLY, DME_BTDLD_STAT_CHANGED, DME_DOWNLOAD_STATE_CHANGED, EDT_INQUIRY, EDT_RESPONSE_E, EDT_RESPONSE_S, EDT_WARNING, vmsBtSessionEvent::enType, Event(), EventEx(), FALSE, FindDownloadByBtDownload(), L_BT_FILE_ERROR, L_BT_HASH_FAILED, L_BT_TRACKER_ANNOUNCE, L_BT_TRACKER_ERROR, L_BT_TRACKER_OK_RESPONSE, L_CONNECTING, L_FAILED, L_NEXT_CONNECT_WITH_TRACKER_IN, LS, m_bDetLog, NULL, vmsBtSessionEvent::pDownload, and vmsBtSessionEvent::pszMsg.
Referenced by AttachToBtSession().
| DWORD WINAPI fsDownloadsMgr::_threadDeleteDownloadMgrEx | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 3264 of file fsDownloadsMgr.cpp.
References vmsObject::Release().
Referenced by OnDldDone_CheckDownloadIsBittorrent().
| BOOL fsDownloadsMgr::OnDldDone_CheckDownloadIsBittorrent | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 3159 of file fsDownloadsMgr.cpp.
References _App, _AppMgr, _BtDownloadManagerEventHandler(), _DlgMgr, _threadDeleteDownloadMgrEx(), vmsObject::AddRef(), vmsDownloadMgrEx::Attach(), fsAppSettings::Bittorrent_Enable(), BTDF_GENERATE_DESC_FILE, BTDF_IGNORE_ALL_RESTRICTIONS, BTDF_LAUNCH_WHEN_DONE, BTDF_RESERVE_DISK_SPACE, vmsBtDownloadManager::CreateByTorrentFile(), vmsDownloadMgrEx::DeleteFile(), vmsBtDownloadManager::disable_Flags(), DME_BTDLD_STAT_CHANGED, fsDialogsMgr::DoModal(), EDT_INQUIRY, vmsBtDownloadManager::enable_Flags(), Event(), FALSE, fsGetPath(), vmsBtDownloadManager::get_TorrentComment(), IDC_BTN1, Is9xME, vmsFdmAppMgr::IsBtInstalled(), fsString::IsEmpty(), L_BITTORRENT_DETECTED, L_CONFIRMATION, L_DONTASKAGAIN, L_ENABLEBTISREQ, L_NO, L_YES, LS, CMyMessageBox::m_bChecked, CMyMessageBox::m_hIcon, CMyMessageBox::m_strBtn1Text, CMyMessageBox::m_strBtn2Text, CMyMessageBox::m_strCheckBoxText, CMyMessageBox::m_strText, CMyMessageBox::m_strTitle, MY_MAX_PATH, NULL, vmsFdmAppMgr::ShowInstallBtMessage(), TRUE, and fsAppSettings::View_DontAskEnableBittorrent().
Referenced by OnDownloadStoppedOrDone().
| void fsDownloadsMgr::DeletedDownloads_UseTmpList | ( | BOOL | bUse | ) | [protected] |
Definition at line 3051 of file fsDownloadsMgr.cpp.
References ASSERT, asio::placeholders::iterator, m_vDeletedDownloads, and m_vDeletedDownloads_tmp.
Referenced by DeleteDownloads2().
| void fsDownloadsMgr::DownloadsList_Insert | ( | size_t | nIndexBefore, | |
| vmsDownloadSmartPtr | dld | |||
| ) | [protected] |
Definition at line 3045 of file fsDownloadsMgr.cpp.
References m_vDownloads.
Referenced by Add(), and MoveDownloads().
| void fsDownloadsMgr::DownloadsList_Del | ( | size_t | nIndex | ) | [protected] |
Definition at line 3039 of file fsDownloadsMgr.cpp.
References m_vDownloads.
Referenced by MoveDownloads(), and MoveDownloadToEndOfList().
| void fsDownloadsMgr::DownloadsList_Add | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 3033 of file fsDownloadsMgr.cpp.
References m_vDownloads.
Referenced by Add(), and MoveDownloadToEndOfList().
| BOOL fsDownloadsMgr::OnDldDone_CheckDownloadIsMetaLink | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 2902 of file fsDownloadsMgr.cpp.
References BOOL, EDT_INQUIRY, Event(), FALSE, vmsMetalinkFile::get_Description(), vmsMetalinkFile::get_File(), vmsMetalinkFile::get_FileCount(), fsString::GetLength(), HA_MD5, HA_SHA1, IR_SUCCESS, fsString::IsEmpty(), L_METALINK_DETECTED, LPSTR, LS, MY_MAX_PATH, NULL, vmsMetalinkFile::Parse(), fsString::pszString, SAFE_DELETE_ARRAY, vmsMetalinkFile_File_Hash::strAlgorithm, vmsMetalinkFile_File_Hash::strChecksum, vmsMetalinkFile_File::strName, vmsMetalinkFile_File::strOS, vmsMetalinkFile_File_Url::strProtocol, vmsMetalinkFile_File_Url::strUrl, TRUE, vmsMetalinkFile_File::vHashes, and vmsMetalinkFile_File::vMirrors.
Referenced by OnDownloadStoppedOrDone().
| void fsDownloadsMgr::OnDldDoneCheckIfNeedDel | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 2891 of file fsDownloadsMgr.cpp.
References DeleteDownloads(), DLD_DELETEFILEALWAYS, DLD_DELETEWHENDONE, DME_DLDAUTODELETED, Event(), FALSE, m_bAutoDelCompleted, and NULL.
Referenced by _threadIntegrityCheckAndVirCheckAndLaunch(), and OnDownloadStoppedOrDone().
| DWORD WINAPI fsDownloadsMgr::_threadIntegrityCheckAndVirCheckAndLaunch | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2800 of file fsDownloadsMgr.cpp.
References _App, _DldsMgr, _DlgMgr, _pwndFVDownloads, ASSERT, BOOL, fsAppSettings::ConfTimeout_LaunchDld(), DLD_FLASH_VIDEO, DLD_NOAUTOLAUNCH, fsDialogsMgr::DoModal(), fsDownload_Properties::dwIntegrityCheckAlgorithm, EDT_INQUIRY, EDT_RESPONSE_E, EDT_RESPONSE_S, fsDownload_Properties::enICFR, Event(), FALSE, fsGetFileName(), vmsHash::Hash(), ICFR_ASKUSER, ICFR_IGNORE, ICFR_RESTART, IDC_RESTARTDOWNLOAD, CWaitForConfirmationDlg::Init(), L_INTEGRITYCHECKFAILED, L_INTEGRITYCHECKSUCCEEDED, L_PERFORMINGINTEGRITYCHECK, L_VIRCHECKFAILEDLAUNCHDLDANYWAY, LaunchDownload(), LS, CDlg_CheckFileIntegrity_Result::m_bResultOK, m_bVirCheck, m_cThreadsRunning, CWaitForConfirmationDlg::m_pszIcon, CDlg_CheckFileIntegrity_Result::m_strFileName, CDlg_CheckFileIntegrity_Result::m_strResultHash, CDlg_CheckFileIntegrity_Result::m_strUrl, CDlg_CheckFileIntegrity_Result::m_strValidHash, MY_MAX_PATH, NULL, OnDldDoneCheckIfNeedDel(), CFlashVideoDownloadsWnd::OnDownloadDone(), PerformVirusCheck(), fsDownload_Properties::pszCheckSum, fsDownload_Properties::pszFileName, CDownloadsWnd::RestartDownload(), vmsHash::set_SHA2Strength(), and TRUE.
Referenced by OnDownloadStoppedOrDone().
| BOOL fsDownloadsMgr::SaveStateInformation | ( | ) | [protected] |
Definition at line 2650 of file fsDownloadsMgr.cpp.
References FALSE, fsGetDataFilePath(), m_LastFilesDownloaded, m_nID, NULL, vmsFileRecentList::Save(), and TRUE.
Referenced by Save().
| BOOL fsDownloadsMgr::LoadStateInformation | ( | ) | [protected] |
Definition at line 2579 of file fsDownloadsMgr.cpp.
References vmsFileRecentList::Add(), BOOL, DLMGRFILE_SIG, FALSE, fsGetDataFilePath(), fsGetFileName(), vmsStringRecentList::get_Count(), vmsStringRecentList::get_String(), vmsFileRecentList::Load(), vmsStringRecentList::Load(), m_LastFilesDownloaded, m_nID, MY_MAX_PATH, NULL, fsStateInfoFileHdr::szSig, and TRUE.
Referenced by LoadDownloads().
| DWORD WINAPI fsDownloadsMgr::_threadArchiveDetected | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2450 of file fsDownloadsMgr.cpp.
References _DlgMgr, _threadArchiveDetectedInfo::ar, fsDialogsMgr::DoModal(), CZipPreviewDlg::m_ar, and _threadArchiveDetectedInfo::pbRes.
Referenced by OnArchiveDetected().
| DWORD WINAPI fsDownloadsMgr::_threadConfirmZIP | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2435 of file fsDownloadsMgr.cpp.
References _App, _DlgMgr, fsDialogsMgr::DoModal(), FALSE, CWaitForConfirmationDlg::Init(), L_DONTPREVIEWINFUTURE, L_YOUTURNEDOFFPREVIEW, L_ZIPDETECTED, LS, CWaitForConfirmationDlg::m_bDontAsk, fsAppSettings::NewDL_UseZIPPreview(), and TRUE.
Referenced by _DownloadMgrEvents().
| DWORD fsDownloadsMgr::OnArchiveDetected | ( | vmsDownloadSmartPtr | dld, | |
| fsArchive::fsArchiveRebuilder * | ar | |||
| ) | [protected] |
Definition at line 2407 of file fsDownloadsMgr.cpp.
References _threadArchiveDetected(), _threadArchiveDetectedInfo::ar, b, BOOL, FALSE, _threadArchiveDetectedInfo::pbRes, and UIThread::set_Thread().
Referenced by _DownloadMgrEvents().
| void fsDownloadsMgr::Event | ( | fsDLHistoryRecord * | rec, | |
| fsDownloadsMgrEvent | ev | |||
| ) | [protected] |
Definition at line 2395 of file fsDownloadsMgr.cpp.
References m_lpEventsParam, and m_pfnEvents.
Referenced by _BtDownloadManagerEventHandler(), _BtSessionEventsHandler(), _DownloadMgrEvents(), _HistoryMgrEvents(), _threadIntegrityCheckAndVirCheckAndLaunch(), AddEvent(), CheckNoActiveDownloads(), DeleteDeletedDownloads2(), DeleteDownloadFile(), DeleteDownloads2(), DownloadStateChanged(), EventEx(), OnDldDone_CheckDownloadIsBittorrent(), OnDldDone_CheckDownloadIsHtmlPageWithVideo(), OnDldDone_CheckDownloadIsMetaLink(), OnDldDoneCheckIfNeedDel(), OnDownloadDescEventRcvd(), OnDownloadStoppedOrDone(), OnQueryNewSection(), PerformVirusCheck(), PutDownloadToDeleted(), RestoreDownloads2(), StartDownloads(), and StopDownloads().
| void fsDownloadsMgr::_HistoryMgrEvents | ( | fsDownloadsHistoryMgrEvent | ev, | |
| int | info, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 2374 of file fsDownloadsMgr.cpp.
References DHME_HISTORYCLEARED, DHME_RECORDADDED, DHME_RECORDDELETED, DME_HISTORYCLEARED, DME_RECADDEDTOHISTORY, DME_RECDELETEDFROMHISTORY, and Event().
Referenced by fsDownloadsMgr().
| DWORD WINAPI fsDownloadsMgr::_threadWaitRestoringDlds | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2360 of file fsDownloadsMgr.cpp.
References ProcWaitInfo::bNeedStop, ProcWaitInfo::bWaitDone, simple_client::info, ProcWaitInfo::iProgress, ProcWaitInfo::lpParam1, ProcWaitInfo::lpParam2, ProcWaitInfo::lpParam3, RestoreDownloads2(), and TRUE.
Referenced by RestoreDownloads().
| int fsDownloadsMgr::RestoreDownloads2 | ( | DLDS_LIST * | vDlds, | |
| BOOL * | pbNeedStop, | |||
| int * | piProgress | |||
| ) | [protected] |
Definition at line 2242 of file fsDownloadsMgr.cpp.
References _DldsGrps, _pwndFVDownloads, Add(), CFlashVideoDownloadsWnd::AddDownload(), ASSERT, DLD_FLASH_VIDEO, DME_DLDREMOVEDFROMDELETED, DME_DLDRESTORED, DME_RECYCLEBINCONTENTCHANGED, Download_CreateInstance(), Event(), FALSE, vmsDownloadsGroupsMgr::FindGroup(), GRP_OTHER_ID, IsRestoringNow(), m_bRestoringNow, m_vDeletedDownloads, NULL, ProcessDownloads(), and TRUE.
Referenced by _threadWaitRestoringDlds(), and RestoreDownloads().
| DWORD WINAPI fsDownloadsMgr::_threadWaitDelDeletingsDlds | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2210 of file fsDownloadsMgr.cpp.
References ProcWaitInfo::bNeedStop, BOOL, ProcWaitInfo::bWaitDone, simple_client::info, ProcWaitInfo::iProgress, ProcWaitInfo::lpParam1, ProcWaitInfo::lpParam2, ProcWaitInfo::lpParam3, ProcWaitInfo::lpParam4, and TRUE.
Referenced by DeleteDeletedDownloads().
| int fsDownloadsMgr::DeleteDeletedDownloads2 | ( | DLDS_LIST * | vDlds, | |
| BOOL | bNoCancel, | |||
| BOOL * | pbNeedStop, | |||
| int * | piProgress | |||
| ) | [protected] |
Definition at line 2061 of file fsDownloadsMgr.cpp.
References _threadDeleteDownload(), fsDownloadsHistoryMgr::AddToHistory(), ASSERT, DeleteDownloadFile(), DLD_DONTPUTTOHISTORY, DME_DLDREMOVEDFROMDELETED, DME_DLDWILLBEFULLYDELETED, DME_RECYCLEBINCONTENTCHANGED, Download_CreateInstance(), Event(), FALSE, fsnew1, IsDeletingDeletedNow(), LOG, m_bDeletingDeletedNow, m_enDDR, m_histmgr, m_vDeletedDownloads, nl, NULL, and TRUE.
Referenced by DeleteDeletedDownloads().
| BOOL fsDownloadsMgr::DeleteDownloadFile | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bNoCancel, | |||
| fsDeleteDownloadReaction & | enDDR, | |||
| BOOL | bDownloadWillBeDeletedAlso | |||
| ) | [protected] |
Definition at line 1970 of file fsDownloadsMgr.cpp.
References DDR_ASK, DDR_WITHFILE, DLD_DELETEFILEALWAYS, DME_DOWNLOADFILEWILLBEDELETED, Event(), FALSE, L_CANTDELETE, L_ERR, LOG, LS, CDDRDlg::m_bDontAskAgain, CDDRDlg::m_bForAll, CDDRDlg::m_bNoCancel, CDDRDlg::m_enDDR, m_enDDR, CDDRDlg::m_strUrl, nl, NULL, and TRUE.
Referenced by DeleteDeletedDownloads2(), and DeleteDownloads2().
| vmsDownloadSmartPtr fsDownloadsMgr::PutDownloadToDeleted | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 1943 of file fsDownloadsMgr.cpp.
References fsDownloadsHistoryMgr::AddToHistory(), ASSERT, DLD_DONTPUTTOHISTORY, DME_DLDADDEDTODELETED, DME_DLDREMOVEDFROMDELETED, DME_DLDWILLBEFULLYDELETED, Event(), FALSE, asio::placeholders::iterator, m_cMaxDeleted, m_histmgr, m_vDeletedDownloads, and m_vDeletedDownloads_tmp.
Referenced by DeleteDownloads2().
| DWORD fsDownloadsMgr::OnBeforeDownload | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 1871 of file fsDownloadsMgr.cpp.
References ASSERT, BOOL, DeleteDownloads(), DLD_CTREQ_HTML, DLD_NOTIFYBEFOREDOWNLOAD, DME_BEFOREDOWNLOADING, FALSE, NULL, and TRUE.
Referenced by _DownloadMgrEvents().
| DWORD WINAPI fsDownloadsMgr::_threadWaitDelDlds | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 1713 of file fsDownloadsMgr.cpp.
References ProcWaitInfo::bNeedStop, BOOL, ProcWaitInfo::bWaitDone, DME_BEGINDELETEMANYDOWNLOADS, DME_ENDDELETEMANYDOWNLOADS, simple_client::info, ProcWaitInfo::iProgress, ProcWaitInfo::lpParam1, ProcWaitInfo::lpParam2, ProcWaitInfo::lpParam3, ProcWaitInfo::lpParam4, ProcWaitInfo::lpParam5, NULL, and TRUE.
Referenced by DeleteDownloads().
| int fsDownloadsMgr::DeleteDownloads2 | ( | DLDS_LIST * | vDlds, | |
| BOOL | bByUser, | |||
| BOOL | bDontConfirmFileDeleting, | |||
| BOOL * | pbNeedStop = NULL, |
|||
| int * | piProgress = NULL | |||
| ) | [protected] |
Definition at line 1517 of file fsDownloadsMgr.cpp.
References _threadDeleteDownload(), fsDownloadsHistoryMgr::AddToHistory(), BOOL, DDR_ASK, DDR_WITHFILE, DeletedDownloads_UseTmpList(), DeleteDownloadFile(), DLD_DONTPUTTOHISTORY, DME_CLOSEDLDDIALOG, DME_DLDWILLBEFULLYDELETED, DME_DOWNLOADWASDELETEDFROMLIST, DME_DOWNLOADWILLBEDELETED, Download_CreateInstance(), Event(), FALSE, fsnew1, IsDeletingNow(), LockList(), LOG, m_bBypassCopleted, m_bBypassDeleted, m_bDeletingNow, m_bDisablePD, m_enDDR, m_histmgr, m_vDownloads, nl, NULL, ProcessDownloads(), PutDownloadToDeleted(), CDownloadsWnd::set_DontUpdateTIPO(), TRUE, UnlockList(), CDownloadsWnd::UpdateNumbersOfDownloadsInGroups(), and CDownloadsWnd::UpdateTrayIconPlusOthers().
Referenced by DeleteDownloads().
| void fsDownloadsMgr::_IECatchMgrEvents | ( | fsIECatchMgrEvent | ev, | |
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 1447 of file fsDownloadsMgr.cpp.
References ICME_DLCOMPLETED, ICME_DLSTARTED, m_enTUM, m_enTUMManage, m_enUserTUM, TM_DECREASEBYONELEVEL, TM_OFF, TM_SETTOLIGHT, TUM_HEAVY, TUM_LIGHT, and TUM_MEDIUM.
Referenced by AttachToIECatchMgr().
| BOOL fsDownloadsMgr::IsMaxConnsReached | ( | ) | [protected] |
Definition at line 1399 of file fsDownloadsMgr.cpp.
References FALSE, GetAmountConnections(), m_aTUM, m_enTUM, and TRUE.
Referenced by OnQueryNewSection().
| BOOL fsDownloadsMgr::IsServerFilled | ( | LPCSTR | pszServer, | |
| DWORD | dwReqProtocols | |||
| ) | [protected] |
Definition at line 1386 of file fsDownloadsMgr.cpp.
References _SitesMgr, fsSiteInfo::cConnsNow, fsSiteInfo::cMaxConns, FALSE, fsSitesMgr::FindSite2(), m_aTUM, m_enTUM, NULL, TRUE, and fsTrafficUsageMode::uMaxConnsPS.
Referenced by OnQueryNewSection().
| void fsDownloadsMgr::InitTUM | ( | ) | [protected] |
Definition at line 1372 of file fsDownloadsMgr.cpp.
References ApplyConnectionType(), CT_CABLE_DSL_256, CT_LAN_10, CT_MODEM_56_ISDN, INTERNET_CONNECTION_LAN, INTERNET_CONNECTION_MODEM, INTERNET_RAS_INSTALLED, and InternetGetConnectedState().
Referenced by ReadSettings().
| void fsDownloadsMgr::CheckNoActiveDownloads | ( | ) | [protected] |
Definition at line 1121 of file fsDownloadsMgr.cpp.
References DME_NOACTIVEDOWNLOADS, Event(), FALSE, IsRunning(), and NULL.
Referenced by OnDownloadStoppedOrDone().
| void fsDownloadsMgr::ManageTraffic | ( | ) | [protected] |
Definition at line 981 of file fsDownloadsMgr.cpp.
References ApplyTrafficLimit().
Referenced by _threadDownloadsMgr().
| void fsDownloadsMgr::OnSectionStop | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 965 of file fsDownloadsMgr.cpp.
References _SitesMgr, ApplyTrafficLimit(), ASSERT, fsSiteInfo::cConnsNow, fsSitesMgr::FindSite2(), fsNPToSiteValidFor(), NULL, and fsSitesMgr::SiteUpdated().
Referenced by _DownloadMgrEvents().
| void fsDownloadsMgr::Event | ( | vmsDownloadSmartPtr | dld, | |
| LPCSTR | pszEvent, | |||
| fsDownloadMgr_EventDescType | enType = EDT_RESPONSE_S | |||
| ) | [protected] |
| BOOL fsDownloadsMgr::OnQueryNewSection | ( | vmsDownloadSmartPtr | dld, | |
| UINT | nUsingMirror | |||
| ) | [protected] |
Definition at line 904 of file fsDownloadsMgr.cpp.
References ASSERT, b, BOOL, EDT_WARNING, fsDownload_NetworkProperties::enProtocol, Event(), FALSE, fsNPToSiteValidFor(), IsMaxConnsReached(), IsServerFilled(), L_LIMITREACHED, L_TOTALLIMITREACHED, LOG, LS, m_csQSection, nl, NULL, fsDownload_NetworkProperties::pszServerName, and TRUE.
Referenced by _DownloadMgrEvents().
| DWORD WINAPI fsDownloadsMgr::_threadDownloadsMgr | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 735 of file fsDownloadsMgr.cpp.
References FALSE, ID_SAVEALL, IsRunning(), m_bNeedExit, m_bSkip1Cicle, m_cThreadsRunning, m_uAutosaveInterval, m_vDownloads, m_vSummSpeed, ManageTraffic(), MAX_SUMMS, and fsTicksMgr::Now().
Referenced by Initialize().
| DWORD WINAPI fsDownloadsMgr::_threadDeleteDownload | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 653 of file fsDownloadsMgr.cpp.
References NULL.
Referenced by DeleteDeletedDownloads2(), and DeleteDownloads2().
| DWORD fsDownloadsMgr::Event | ( | vmsDownloadSmartPtr | dld, | |
| fsDownloadsMgrEvent | ev | |||
| ) | [protected] |
Definition at line 494 of file fsDownloadsMgr.cpp.
References m_lpEventsParam, m_pfnEvents, and TRUE.
| void fsDownloadsMgr::_DownloadMgrEventDesc | ( | fsDownloadMgr * | pMgr, | |
| fsDownloadMgr_EventDescType | enType, | |||
| LPCSTR | pszEvent, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 124 of file fsDownloadsMgr.cpp.
References GetDownloadByDownloadMgr(), NULL, and OnDownloadDescEventRcvd().
Referenced by Add(), and LoadDownloads().
| DWORD fsDownloadsMgr::_DownloadMgrEvents | ( | fsDownloadMgr * | pMgr, | |
| fsDownloaderEvent | enEvent, | |||
| UINT | uInfo, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 155 of file fsDownloadsMgr.cpp.
References _threadConfirmZIP(), ApplyTrafficLimit(), ASSERT, DE_ALLSTOPPEDORDONE, DE_ARCHIVEDETECTED, DE_CONFIRMARCHIVEDETECTION, DE_EXTERROR, DE_FILESIZETOOBIG, DE_NEEDFILE, DE_NOMIRRFOUND, DE_QUERYNEWSECTION, DE_REDIRECTINGOKCONTINUEOPENING, DE_SECTDOWNLOADING, DE_SECTIONDONE, DE_SECTIONSTARTED, DE_SECTIONSTOPPED, DE_WRITEERROR, DLD_DONTUSEMIRRORS, DME_CREATEDLDDIALOG, DME_DLMGRTHREADSTARTING, DME_DOWNLOADEREVENTRECEIVED, DME_FILEUPDATED, DME_REDIRECTED, DME_SECTIONDOWNLOADING, DME_SECTIONSTARTED, DME_UPDATEDLDDIALOG, DMEE_FATALERROR, DMEE_FILEUPDATED, DMEE_FILEWASDELETED, DMEE_STARTING, DMEE_STOPPEDORDONE, DMEE_USERSTOP, Event(), FALSE, GetDownloadByDownloadMgr(), fsDownloadMgr::GetDownloader(), NULL, OnArchiveDetected(), OnBeforeDownload(), OnDownloadStoppedOrDone(), OnQueryNewSection(), OnSectionStop(), RebuildServerList(), fsInternetDownloader::Set_SearchForMirrors(), UIThread::set_Thread(), and TRUE.
Referenced by Add(), and LoadDownloads().
friend class CDownloaderProperties_ListPage [friend] |
Definition at line 133 of file fsDownloadsMgr.h.
friend class CPrg_Data [friend] |
Definition at line 134 of file fsDownloadsMgr.h.
Definition at line 177 of file fsDownloadsMgr.h.
Referenced by CDownloads_History::Create(), DeleteDeletedDownloads2(), DeleteDownloads2(), CDlgExportHistory::ExportHistory(), fsFindDownloadMgr::FindNext_InDeleted(), fsFindDownloadMgr::FindNext_InHistoryOfDlds(), fsDownloadsMgr(), fsFindDownloadMgr::GetElementCount(), LoadDownloads(), CDlgDownloadsHistory::OnClearhistory(), OnDownloadStoppedOrDone(), CDownloads_Groups::OnHistoryClear(), CDownloads_History::OnHstitemDelete(), CDlgDownloadsHistory::OnOK(), CMainFrame::OnUpdateExportdlhist(), PutDownloadToDeleted(), ReadSettings(), Save(), CDownloads_Groups::ShowHistoryContextMenu(), and CDlgDownloadsHistory::UpdateEnabled().
struct fsDownloadsMgr::_inc_GrantAllBandwidthInfo fsDownloadsMgr::m_gabInfo [protected] |
long fsDownloadsMgr::m_cThreadsRunning [protected] |
Definition at line 327 of file fsDownloadsMgr.h.
Referenced by _threadDownloadsMgr(), _threadIntegrityCheckAndVirCheckAndLaunch(), _threadStartSeeding(), fsDownloadsMgr(), Initialize(), LoadDownloads(), OnDownloadStoppedOrDone(), and Shutdown().
Definition at line 333 of file fsDownloadsMgr.h.
Referenced by get_LastFilesDownloaded(), LastFilesDownloaded_Clear(), LoadStateInformation(), OnDownloadStoppedOrDone(), and SaveStateInformation().
CRITICAL_SECTION fsDownloadsMgr::m_csSave [protected] |
Definition at line 338 of file fsDownloadsMgr.h.
Referenced by fsDownloadsMgr(), Save(), and Shutdown().
BOOL fsDownloadsMgr::m_bRestoringNow [protected] |
Definition at line 353 of file fsDownloadsMgr.h.
Referenced by fsDownloadsMgr(), IsRestoringNow(), and RestoreDownloads2().
BOOL fsDownloadsMgr::m_bMirrDontSearchIfSizeUnk [protected] |
Definition at line 367 of file fsDownloadsMgr.h.
Referenced by Apply_MirrParameters(), and ReadMirrParameters().
UINT fsDownloadsMgr::m_uMirrRecalcSpeedTime [protected] |
Definition at line 368 of file fsDownloadsMgr.h.
Referenced by Apply_MirrParameters(), and ReadMirrParameters().
UINT fsDownloadsMgr::m_cMaxMirrs [protected] |
Definition at line 369 of file fsDownloadsMgr.h.
Referenced by Apply_MirrParameters(), and ReadMirrParameters().
BOOL fsDownloadsMgr::m_bMirrCalcSpeed [protected] |
Definition at line 370 of file fsDownloadsMgr.h.
Referenced by Apply_MirrParameters(), and ReadMirrParameters().
UINT fsDownloadsMgr::m_uMirrFileMinSize [protected] |
Definition at line 371 of file fsDownloadsMgr.h.
Referenced by Apply_MirrParameters(), and ReadMirrParameters().
BOOL fsDownloadsMgr::m_bMirrAutoSearch [protected] |
Definition at line 372 of file fsDownloadsMgr.h.
Referenced by Apply_MirrParameters(), and ReadMirrParameters().
BOOL fsDownloadsMgr::m_bVirCheck [protected] |
Definition at line 377 of file fsDownloadsMgr.h.
Referenced by _threadIntegrityCheckAndVirCheckAndLaunch(), CDownloaderProperties_ListPage::AvirToDlg(), CDownloaderProperties_ListPage::DlgToVir(), OnDownloadStoppedOrDone(), ReadSettings(), and SaveSettings().
fsString fsDownloadsMgr::m_strVirName [protected] |
Definition at line 378 of file fsDownloadsMgr.h.
Referenced by CDownloaderProperties_ListPage::AvirToDlg(), CDownloaderProperties_ListPage::DlgToVir(), PerformVirusCheck(), ReadSettings(), and SaveSettings().
fsString fsDownloadsMgr::m_strVirArgs [protected] |
Definition at line 378 of file fsDownloadsMgr.h.
Referenced by CDownloaderProperties_ListPage::AvirToDlg(), CDownloaderProperties_ListPage::DlgToVir(), PerformVirusCheck(), ReadSettings(), and SaveSettings().
fsString fsDownloadsMgr::m_strVirExts [protected] |
Definition at line 378 of file fsDownloadsMgr.h.
Referenced by CDownloaderProperties_ListPage::AvirToDlg(), CDownloaderProperties_ListPage::DlgToVir(), PerformVirusCheck(), ReadSettings(), and SaveSettings().
BOOL fsDownloadsMgr::m_bDetLog [protected] |
Definition at line 379 of file fsDownloadsMgr.h.
Referenced by _BtSessionEventsHandler(), Add(), LoadDownloads(), CDownloaderProperties_ListPage::OnInitDialog(), ReadSettings(), SaveSettings(), and UseDetailedLog().
BOOL fsDownloadsMgr::m_bDeletingNow [protected] |
Definition at line 380 of file fsDownloadsMgr.h.
Referenced by DeleteDownloads2(), fsDownloadsMgr(), and IsDeletingNow().
BOOL fsDownloadsMgr::m_bDeletingDeletedNow [protected] |
Definition at line 380 of file fsDownloadsMgr.h.
Referenced by DeleteDeletedDownloads2(), fsDownloadsMgr(), and IsDeletingDeletedNow().
fsTUMManage fsDownloadsMgr::m_enTUMManage [protected] |
Definition at line 381 of file fsDownloadsMgr.h.
Referenced by _IECatchMgrEvents(), GetTUMManage(), ReadSettings(), SaveSettings(), and SetTUMManage().
fsMutex fsDownloadsMgr::m_mxDlList [protected] |
CRITICAL_SECTION fsDownloadsMgr::m_csQSection [protected] |
Definition at line 393 of file fsDownloadsMgr.h.
Referenced by fsDownloadsMgr(), OnQueryNewSection(), and Shutdown().
fsMutex fsDownloadsMgr::m_mxBuildConns [protected] |
Definition at line 395 of file fsDownloadsMgr.h.
Referenced by ProcessDownloads(), and RebuildServerList().
BOOL fsDownloadsMgr::m_bAllowStart [protected] |
Definition at line 396 of file fsDownloadsMgr.h.
Referenced by AllowStartNewDownloads(), fsDownloadsMgr(), and ProcessDownloads().
BOOL fsDownloadsMgr::m_bDisablePD [protected] |
Definition at line 397 of file fsDownloadsMgr.h.
Referenced by DeleteDownloads2(), fsDownloadsMgr(), and ProcessDownloads().
fs::array<UINT, MAX_SUMMS> fsDownloadsMgr::m_vSummSpeed [protected] |
Definition at line 401 of file fsDownloadsMgr.h.
Referenced by _threadDownloadsMgr(), and IsSummarySpeedWasLessThan().
UINT fsDownloadsMgr::m_nID [protected] |
Definition at line 402 of file fsDownloadsMgr.h.
Referenced by Add(), fsDownloadsMgr(), GetNextDownloadID(), LoadDownloads(), LoadStateInformation(), and SaveStateInformation().
BOOL fsDownloadsMgr::m_bSkip1Cicle [protected] |
Definition at line 403 of file fsDownloadsMgr.h.
Referenced by _threadDownloadsMgr(), Add(), ApplyTrafficLimit_HasHpDld(), ApplyTrafficLimit_NoHpDld(), and fsDownloadsMgr().
BOOL fsDownloadsMgr::m_bAutoDelCompleted [protected] |
Definition at line 411 of file fsDownloadsMgr.h.
Referenced by CDownloaderProperties_ListPage::OnApply(), OnDldDoneCheckIfNeedDel(), CDownloaderProperties_ListPage::OnInitDialog(), ReadSettings(), and SaveSettings().
fsDeleteDownloadReaction fsDownloadsMgr::m_enDDR [protected] |
Definition at line 412 of file fsDownloadsMgr.h.
Referenced by DeleteDeletedDownloads2(), DeleteDownloadFile(), DeleteDownloads2(), CDownloaderProperties_ListPage::OnApply(), CDownloaderProperties_ListPage::OnInitDialog(), ReadSettings(), and SaveSettings().
fsTUM fsDownloadsMgr::m_enTUM [protected] |
Definition at line 413 of file fsDownloadsMgr.h.
Referenced by _IECatchMgrEvents(), ApplyTrafficLimit(), ApplyTrafficLimit_HasHpDld(), ApplyTrafficLimit_NoHpDld(), GetTUM(), IsMaxConnsReached(), IsServerFilled(), ProcessDownloads(), ReadSettings(), SetTUM(), SetTUMManage(), and StartDownloads().
fsTUM fsDownloadsMgr::m_enUserTUM [protected] |
Definition at line 414 of file fsDownloadsMgr.h.
Referenced by _IECatchMgrEvents(), ReadSettings(), SaveSettings(), SetTUM(), and SetTUMManage().
UINT fsDownloadsMgr::m_uAutosaveInterval [protected] |
Definition at line 415 of file fsDownloadsMgr.h.
Referenced by _threadDownloadsMgr(), CPrg_Data::OnApply(), CPrg_Data::OnInitDialog(), ReadSettings(), SaveSettings(), and SetAutosaveInterval().
BOOL fsDownloadsMgr::m_bNeedExit [protected] |
Definition at line 416 of file fsDownloadsMgr.h.
Referenced by _threadDownloadsMgr(), _threadStartSeeding(), and Shutdown().
fsDownloadRegSaver fsDownloadsMgr::m_saver [protected] |
DLDS_LIST fsDownloadsMgr::m_vDownloads [protected] |
Definition at line 425 of file fsDownloadsMgr.h.
Referenced by _threadDownloadsMgr(), Apply_MirrParameters(), ApplyAER(), ApplyTrafficLimit(), DeleteDownloads2(), DeleteGroupsDownloads(), DownloadsList_Add(), DownloadsList_Del(), DownloadsList_Insert(), FindDownloadByBtDownload(), GetCount(), GetDownload(), GetDownloadByBtDownloadMgr(), GetDownloadByDownloadMgr(), GetDownloadByID(), GetDownloadIndex(), GetRunningDownloadCount(), GetRunningDownloads(), IsRunning(), LoadDownloads(), MoveDownloads(), ProcessDownloads(), RebuildServerList(), ReorderDownloads(), Save(), Shutdown(), StartAllDownloads(), StartGroup(), StopAllDownloads(), StopGroup(), and UseDetailedLog().
DLDS_LIST fsDownloadsMgr::m_vDeletedDownloads [protected] |
Definition at line 426 of file fsDownloadsMgr.h.
Referenced by ClearDeleted(), DeletedDownloads_UseTmpList(), DeleteDeletedDownloads2(), Get_DeletedDownload(), Get_DeletedDownloadCount(), GetDeletedDownloadIndex(), LoadDownloads(), PutDownloadToDeleted(), ReadDeletedSettings(), RestoreDownloads2(), and Save().
std::list<vmsDownloadSmartPtr> fsDownloadsMgr::m_vDeletedDownloads_tmp [protected] |
Definition at line 428 of file fsDownloadsMgr.h.
Referenced by ClearDeleted(), DeletedDownloads_UseTmpList(), Get_DeletedDownload(), Get_DeletedDownloadCount(), PutDownloadToDeleted(), and ReadDeletedSettings().
BOOL fsDownloadsMgr::m_bBypassDeleted [protected] |
Definition at line 429 of file fsDownloadsMgr.h.
Referenced by DeleteDownloads2(), and ReadDeletedSettings().
BOOL fsDownloadsMgr::m_bBypassCopleted [protected] |
Definition at line 430 of file fsDownloadsMgr.h.
Referenced by DeleteDownloads2(), and ReadDeletedSettings().
UINT fsDownloadsMgr::m_cMaxDeleted [protected] |
Definition at line 431 of file fsDownloadsMgr.h.
Referenced by PutDownloadToDeleted(), and ReadDeletedSettings().
fntDownloadsMgrEventFunc fsDownloadsMgr::m_pfnEvents [protected] |
Definition at line 432 of file fsDownloadsMgr.h.
Referenced by Event(), fsDownloadsMgr(), and SetEventsFunc().
LPVOID fsDownloadsMgr::m_lpEventsParam [protected] |
fsTrafficUsageMode fsDownloadsMgr::m_aTUM[3] [protected] |
Definition at line 434 of file fsDownloadsMgr.h.
Referenced by ApplyConnectionType(), ApplyTrafficLimit_HasHpDld(), ApplyTrafficLimit_NoHpDld(), GetTUMs(), IsMaxConnsReached(), IsServerFilled(), ProcessDownloads(), ReadSettings(), SaveSettings(), and StartDownloads().
1.5.6