#include <fsDownloadMgr.h>
Definition at line 59 of file fsDownloadMgr.h.
| fsDownloadMgr::fsDownloadMgr | ( | struct fsDownload * | dld = NULL |
) |
Definition at line 30 of file fsDownloadMgr.cpp.
References _DownloaderEvents(), DFF_NEED_INIT_FILE, fsInternetDownloader::DNP(), DS_STOPPED, FALSE, fsDP_GetDefaults(), m_bCantStart, m_bDontCreateNewSections, m_bFatalError, m_bNeedStartAgain, m_bRename_CheckIfRenamed, m_bRSsupportDone, m_bThreadRunning, m_dld, m_dldr, m_dp, m_dwDownloadFileFlags, m_hOutFile, m_iThread, m_mdc, m_pfnEventDesc, m_pfnEvents, m_state, m_tikLastMirrMeasureTime, m_uMirrRecalcSpeedTime, m_uNeedStartFrom, fsTicksMgr::Now(), NULL, fsInternetDownloader::SetEventFunc(), TRUE, and fsDownload_Properties::wStructSize.
| fsDownloadMgr::~fsDownloadMgr | ( | ) | [virtual] |
Definition at line 73 of file fsDownloadMgr.cpp.
References CloseFile(), fsInternetDownloader::DNP(), fsDNP_GetByUrl_Free(), m_dldr, m_dp, m_iThread, fsDownload_Properties::pszAdditionalExt, fsDownload_Properties::pszCreateExt, fsDownload_Properties::pszFileName, SAFE_DELETE_ARRAY, and StopDownloading().
| BOOL fsDownloadMgr::HasActivity | ( | ) |
Definition at line 2483 of file fsDownloadMgr.cpp.
References m_iThread.
Referenced by vmsSimpleFileDownloader::IsRunning().
| fsDownloadState fsDownloadMgr::get_State | ( | ) |
Definition at line 2478 of file fsDownloadMgr.cpp.
References m_state.
Referenced by vmsDownloadMgrEx::IsReservingDiskSpace().
| int fsDownloadMgr::get_ReservingDiskSpaceProgress | ( | ) |
Definition at line 2473 of file fsDownloadMgr.cpp.
Referenced by vmsDownloadMgrEx::get_ReservingDiskSpaceProgress().
| void fsDownloadMgr::DoRapidshareSupport | ( | ) |
Definition at line 2424 of file fsDownloadMgr.cpp.
References DNPF_IMMEDIATELY_SEND_AUTH_AS_BASIC, fsDownload_NetworkProperties::dwFlags, GetDNP(), m_bRSsupportDone, NULL, fsDownload_NetworkProperties::pszCookies, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, and SAFE_DELETE_ARRAY.
Referenced by ApplyProperties().
| void fsDownloadMgr::Reset | ( | ) |
Definition at line 2360 of file fsDownloadMgr.cpp.
References ASSERT, DFF_NEED_INIT_FILE, FALSE, IsRunning(), m_dldr, m_dwDownloadFileFlags, fsInternetDownloader::RemoveAllMirrors(), and fsInternetDownloader::ResetSections().
| fsString fsDownloadMgr::get_URL | ( | ) |
Definition at line 2282 of file fsDownloadMgr.cpp.
References fsURL::Create(), fsDownload_NetworkProperties::enProtocol, fsNPToScheme(), GetDNP(), NULL, fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszServerName, and fsDownload_NetworkProperties::uServerPort.
Referenced by CheckIfMalicious().
| BOOL fsDownloadMgr::MoveToFolder | ( | LPCSTR | pszFolder | ) |
Definition at line 2262 of file fsDownloadMgr.cpp.
References fsGetFileName(), m_dp, MoveFile(), MY_MAX_PATH, ProcessFilePathMacroses(), and fsDownload_Properties::pszFileName.
Referenced by vmsDownloadMgrEx::MoveToFolder().
| BOOL fsDownloadMgr::MoveFile | ( | LPCSTR | pszNewFileName | ) |
Definition at line 2231 of file fsDownloadMgr.cpp.
References BOOL, FALSE, fsBuildPathToFile(), fsnew, IsFileInit(), IsRunning(), m_dp, fsDownload_Properties::pszFileName, SAFE_DELETE_ARRAY, and TRUE.
Referenced by AppendCommentToFileName(), MoveToFolder(), and OnDone().
| void fsDownloadMgr::set_GlobalOffline | ( | BOOL | bOffline | ) | [static] |
Definition at line 2202 of file fsDownloadMgr.cpp.
References INTERNET_CONNECTED_INFO::dwConnectedState, INTERNET_CONNECTED_INFO::dwFlags, INTERNET_OPTION_CONNECTED_STATE, INTERNET_STATE_CONNECTED, INTERNET_STATE_DISCONNECTED_BY_USER, InternetSetOption, ISO_FORCE_DISCONNECTED, and NULL.
Referenced by _threadDownloadMgr().
| BOOL fsDownloadMgr::is_GlobalOffline | ( | ) | [static] |
Definition at line 2186 of file fsDownloadMgr.cpp.
References BOOL, FALSE, INTERNET_OPTION_CONNECTED_STATE, INTERNET_STATE_DISCONNECTED_BY_USER, InternetQueryOption, NULL, and TRUE.
Referenced by _threadDownloadMgr().
| void fsDownloadMgr::set_Download | ( | struct fsDownload * | dld | ) |
| void fsDownloadMgr::RemoveHiddenAttribute | ( | ) |
Definition at line 2081 of file fsDownloadMgr.cpp.
References DPF_USEHIDDENATTRIB, fsDownload_Properties::dwFlags, m_dp, and fsDownload_Properties::pszFileName.
Referenced by OnDone().
| void fsDownloadMgr::MeasureMirrorsSpeed | ( | ) |
Definition at line 2051 of file fsDownloadMgr.cpp.
References EDT_RESPONSE_S, Event(), L_CALCULATINGMIRRORSSPEED, L_MIRRORSSPEEDWASMEASURED, LS, m_dldr, m_tikLastMirrMeasureTime, fsInternetDownloader::MeasureMirrorsSpeed(), and fsTicksMgr::Now().
Referenced by _threadCalcMirrSpeed().
| fsInternetResult fsDownloadMgr::SetToRestartState | ( | ) |
Definition at line 1999 of file fsDownloadMgr.cpp.
References AER_RENAME_2, fsInternetDownloader::DeleteAllSections(), DeleteFile(), DFF_NEED_INIT_FILE, fsDownload_Properties::enAER, IR_S_FALSE, IR_SUCCESS, IsFileInit(), IsRunning(), m_bRename_CheckIfRenamed, m_dldr, m_dp, m_dwDownloadFileFlags, and TRUE.
Referenced by RestartDownloading(), and vmsDownloadMgrEx::SetToRestartState().
| fsInternetResult fsDownloadMgr::FindMirrors | ( | ) |
Definition at line 1985 of file fsDownloadMgr.cpp.
References ApplyProperties(), CreateInternetSession(), DS_QUERINGSIZE, fsInternetDownloader::FindMirrors(), IR_SUCCESS, m_dldr, and m_state.
| void fsDownloadMgr::Set_MirrRecalcSpeedTime | ( | UINT | u | ) |
| fsInternetResult fsDownloadMgr::StartDownloading | ( | ) |
Definition at line 102 of file fsDownloadMgr.cpp.
References _threadDownloadMgr(), DS_NEEDSTART, IR_S_FALSE, IR_SUCCESS, fsInternetDownloader::IsDone(), IsQueringSize(), IsRunning(), m_bThreadRunning, m_dldr, m_iThread, m_state, NULL, and TRUE.
Referenced by fsUpdateMgr::CheckForUpdate(), vmsSimpleFileDownloader::Download(), RestartDownloading(), vmsDownloadMgrEx::StartDownloading(), and fsUpdateMgr::Update().
| void fsDownloadMgr::StopDownloading | ( | ) |
Definition at line 672 of file fsDownloadMgr.cpp.
References DS_NEEDSTOP, IsRunning(), m_dldr, m_mdc, m_state, vmsMaliciousDownloadChecker::Stop(), and fsInternetDownloader::StopDownloading().
Referenced by DeleteFile(), vmsSimpleFileDownloader::Stop(), fsUpdateMgr::Stop(), vmsDownloadMgrEx::StopDownloading(), StopSection(), and ~fsDownloadMgr().
| void fsDownloadMgr::CreateOneMoreSection | ( | ) |
Definition at line 1834 of file fsDownloadMgr.cpp.
References DS_NEEDADDSECTION2, FALSE, fsInternetDownloader::IsSectionCreatingNow(), m_dldr, and m_state.
Referenced by vmsDownloadMgrEx::CreateOneMoreSection().
| BOOL fsDownloadMgr::IsCantStart | ( | ) |
Definition at line 1910 of file fsDownloadMgr.cpp.
References m_bCantStart.
Referenced by vmsDownloadMgrEx::IsCantStart().
| void fsDownloadMgr::StopQuering | ( | ) |
Definition at line 1902 of file fsDownloadMgr.cpp.
References IsQueringSize(), m_dldr, and fsInternetDownloader::StopDownloading().
| fsInternetResult fsDownloadMgr::QuerySize | ( | BOOL | bCheckPoss = TRUE |
) |
Definition at line 1840 of file fsDownloadMgr.cpp.
References ApplyProperties(), CreateInternetSession(), DS_QUERINGSIZE, IR_S_FALSE, IR_SUCCESS, IsQueringSize(), IsRunning(), m_dldr, m_state, and fsInternetDownloader::QuerySize().
Referenced by _threadQSize(), and CWGUrlReceiver::AddDownload().
| void fsDownloadMgr::QuerySize2 | ( | ) |
Definition at line 1870 of file fsDownloadMgr.cpp.
References _threadQSize(), DS_QUERINGSIZE, IsQueringSize(), IsRunning(), m_iThread, m_state, and NULL.
| BOOL fsDownloadMgr::IsQueringSize | ( | ) |
Definition at line 1865 of file fsDownloadMgr.cpp.
References DS_QUERINGSIZE, and m_state.
Referenced by QuerySize(), QuerySize2(), StartDownloading(), and StopQuering().
| void fsDownloadMgr::StopSection | ( | ) |
Definition at line 1823 of file fsDownloadMgr.cpp.
References FALSE, fsInternetDownloader::GetRunningSectionCount(), IsRunning(), m_dldr, StopDownloading(), and fsInternetDownloader::StopSection().
Referenced by vmsDownloadMgrEx::StopSection().
| fsInternetResult fsDownloadMgr::RestartDownloading | ( | ) |
Definition at line 1813 of file fsDownloadMgr.cpp.
References IR_SUCCESS, SetToRestartState(), and StartDownloading().
Referenced by vmsDownloadMgrEx::RestartDownloading().
| BOOL fsDownloadMgr::IsSectionCanBeAdded | ( | ) |
Definition at line 1796 of file fsDownloadMgr.cpp.
References DS_DOWNLOADING, DS_NEEDSTOP, FALSE, fsInternetDownloader::GetDoneSectionCount(), fsInternetDownloader::GetNumberOfSections(), fsInternetDownloader::IsAllSectionsOk(), fsInternetDownloader::IsHavingError(), m_dldr, m_dp, m_state, TRUE, and fsDownload_Properties::uMaxSections.
Referenced by AddSection().
| void fsDownloadMgr::CloseFile | ( | ) |
Definition at line 1720 of file fsDownloadMgr.cpp.
References m_dldr, m_hOutFile, and fsInternetDownloader::SetOutputFile().
Referenced by _threadDownloadMgr(), DeleteFile(), OnDone(), and ~fsDownloadMgr().
| BOOL fsDownloadMgr::IsFileInit | ( | ) |
Definition at line 1791 of file fsDownloadMgr.cpp.
References DFF_NEED_INIT_FILE, and m_dwDownloadFileFlags.
Referenced by vmsDownloadMgrEx::Do_OpenFolder(), vmsDownloadMgrEx::IsFileInitializedOnDisk(), MoveFile(), and SetToRestartState().
| BOOL fsDownloadMgr::InitFile | ( | BOOL | bCreateOnDisk = FALSE, |
|
| LPCSTR | pszSetExt = NULL | |||
| ) |
Definition at line 1735 of file fsDownloadMgr.cpp.
References ApplyAdditionalExt(), ApplyAER(), BOOL, BuildFileName(), DescribeAPIError(), DFF_NEED_INIT_FILE, DS_NEEDSTOP, EDT_RESPONSE_E, fsDownload_Properties::enAER, Event(), FALSE, fsBuildPathToFile(), InitFile_ProcessMacroses(), L_FILENAMETOOLONG, LS, m_bFatalError, m_dp, m_dwDownloadFileFlags, m_state, NULL, fsDownload_Properties::pszFileName, SetFileTime(), and TRUE.
Referenced by OnNeedFile().
| fsInternetResult fsDownloadMgr::GetLastError | ( | ) |
Definition at line 1730 of file fsDownloadMgr.cpp.
References m_lastError.
Referenced by CUpdateDlg::_UpdateMgrEvents(), AppendCommentToFileName(), CheckDstFileExists(), vmsSimpleFileDownloader::GetLastError(), OnDone(), OpenFile(), and ProcessSCR().
| BOOL fsDownloadMgr::DeleteFile | ( | ) |
Definition at line 1700 of file fsDownloadMgr.cpp.
References CloseFile(), DFF_NEED_INIT_FILE, m_dp, m_dwDownloadFileFlags, fsDownload_Properties::pszFileName, StopDownloading(), and TRUE.
Referenced by vmsSimpleFileDownloader::_DownloadMgrEvents(), CheckDstFileExists(), vmsDownloadMgrEx::DeleteFile(), OnDone(), and SetToRestartState().
| void fsDownloadMgr::ApplyProperties | ( | ) |
Definition at line 123 of file fsDownloadMgr.cpp.
References _App, fsDownload_Properties::aEP, fsDownload_Properties::bIgnoreRestrictions, DFE_ACCDENIED, DFE_NOTFOUND, DFEP_STOP, fsInternetDownloader::DontRestartIfNoRanges(), DoRapidshareSupport(), DPF_DONTRESTARTIFNORESUME, DS_DOWNLOADING, DS_NEEDADDSECTION, fsDownload_Properties::dwFlags, FALSE, fsInternetDownloader::LimitTraffic(), m_dldr, m_dp, m_state, fsAppSettings::NewDL_UseZIPPreview(), fsInternetDownloader::Set_Timeout(), fsInternetDownloader::SetMaxReconnectionNumber(), fsInternetDownloader::SetRetryTime(), fsInternetDownloader::SetSectionMinSize(), fsInternetDownloader::StopOnAccDenied(), fsInternetDownloader::StopOnFileNotFound(), fsDownload_Properties::uMaxAttempts, fsDownload_Properties::uRetriesTime, fsDownload_Properties::uSectionMinSize, fsInternetDownloader::UseZipPreview(), fsDownload_Properties::uTimeout, and fsDownload_Properties::uTrafficRestriction.
Referenced by CUpdateDlg::_UpdateMgrEvents(), FindMirrors(), QuerySize(), and StartDownload().
| BOOL fsDownloadMgr::IsRunning | ( | ) |
Definition at line 1178 of file fsDownloadMgr.cpp.
References fsInternetDownloader::IsRunning(), m_bThreadRunning, and m_dldr.
Referenced by vmsDownloadMgrEx::IsRunning(), MoveFile(), QuerySize(), QuerySize2(), Reset(), SetToRestartState(), StartDownloading(), fsUpdateMgr::Stop(), StopDownloading(), and StopSection().
| BOOL fsDownloadMgr::IsDone | ( | ) |
Definition at line 759 of file fsDownloadMgr.cpp.
References fsInternetDownloader::IsDone(), and m_dldr.
Referenced by vmsSimpleFileDownloader::_DownloadMgrEvents(), fsUpdateMgr::_DownloadMgrEvents(), and vmsDownloadMgrEx::IsDone().
Definition at line 764 of file fsDownloadMgr.cpp.
References b, BOOL, DFF_USE_PORTABLE_DRIVE, DS_DONE, FALSE, for(), fsInternetDownloader::Get_BaseServerPingTime(), GetDNP(), fsInternetDownloader::GetMirrorIsGood(), fsInternetDownloader::GetMirrorPingTime(), fsInternetDownloader::GetMirrorURLCount(), LPSTR, m_dldr, m_dp, m_dwDownloadFileFlags, m_state, fsInternetDownloader::MirrorDNP(), NULL, fsDownload_Properties::pszAdditionalExt, fsDownload_NetworkProperties::pszAgent, fsDownload_NetworkProperties::pszASCIIExts, fsDownload_Properties::pszCheckSum, fsDownload_NetworkProperties::pszCookies, fsDownload_Properties::pszCreateExt, fsDownload_Properties::pszFileName, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszPostData, fsDownload_NetworkProperties::pszProxyName, fsDownload_NetworkProperties::pszProxyPassword, fsDownload_NetworkProperties::pszProxyUserName, fsDownload_NetworkProperties::pszReferer, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, fsInternetDownloader::SaveSectionsState(), state(), TRUE, and vmsGetExeDriveLetter().
Referenced by vmsDownloadMgrEx::SaveState().
Definition at line 916 of file fsDownloadMgr.cpp.
References fsInternetDownloader::AddMirror(), fsDownload_Properties::bCheckIntegrityWhenDone, BOOL, CHECK_BOUNDS, DFF_NEED_INIT_FILE, DFF_USE_PORTABLE_DRIVE, fsDownload_NetworkProperties::dwFlags, fsDownload_Properties::dwIntegrityCheckAlgorithm, FALSE, fsnew, GetDNP(), fsInternetDownloader::GetNumberOfSections(), HA_MD5, LPSTR, m_dldr, m_dp, m_dwDownloadFileFlags, m_state, fsDownload_Properties::pszAdditionalExt, fsDownload_NetworkProperties::pszAgent, fsDownload_NetworkProperties::pszASCIIExts, fsDownload_Properties::pszCheckSum, fsDownload_NetworkProperties::pszCookies, fsDownload_Properties::pszCreateExt, fsDownload_Properties::pszFileName, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszPostData, fsDownload_NetworkProperties::pszProxyName, fsDownload_NetworkProperties::pszProxyPassword, fsDownload_NetworkProperties::pszProxyUserName, fsDownload_NetworkProperties::pszReferer, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, fsInternetDownloader::RestoreSectionsState(), fsInternetDownloader::Set_BaseServerPingTime(), fsInternetDownloader::Set_MirrPingTime(), TRUE, vmsGetExeDriveLetter(), fsDownload_NetworkProperties::wLowSpeed_Duration, and fsDownload_NetworkProperties::wLowSpeed_Factor.
Referenced by vmsDownloadMgrEx::LoadState().
| void fsDownloadMgr::CloneSettings | ( | fsDownloadMgr * | src | ) |
Definition at line 1915 of file fsDownloadMgr.cpp.
References fsDownload_Properties::aEP, fsDownload_Properties::bIgnoreRestrictions, fsDownload_Properties::bReserveDiskSpace, fsDownload_Properties::bRestartSpeedLow, fsDownload_NetworkProperties::bUseCookie, fsDownload_NetworkProperties::bUseHttp11, fsDownload_Properties::dwFlags, fsDownload_NetworkProperties::dwFtpFlags, fsDownload_NetworkProperties::enAccType, fsDownload_Properties::enAER, fsDownload_NetworkProperties::enFtpTransferType, fsDownload_Properties::enSCR, GetDNP(), GetDP(), m_dp, NULL, fsDownload_Properties::pszAdditionalExt, fsDownload_NetworkProperties::pszAgent, fsDownload_NetworkProperties::pszASCIIExts, fsDownload_Properties::pszCreateExt, fsDownload_Properties::pszFileName, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszReferer, fsDownload_NetworkProperties::pszUserName, SAFE_DELETE_ARRAY, fsDownload_Properties::uMaxAttempts, fsDownload_Properties::uMaxSections, fsDownload_Properties::uRetriesTime, fsDownload_Properties::uSectionMinSize, fsDownload_Properties::uTimeout, and fsDownload_Properties::uTrafficRestriction.
| void fsDownloadMgr::SetEventDescFunc | ( | fntEventDescFunc | pfn, | |
| LPVOID | lpParam | |||
| ) |
Definition at line 713 of file fsDownloadMgr.cpp.
References m_lpEventDescParam, and m_pfnEventDesc.
Referenced by fsUpdateMgr::CheckForUpdate(), vmsSimpleFileDownloader::CreateDownloader(), and fsUpdateMgr::Update().
| void fsDownloadMgr::SetEventFunc | ( | fntDownloadMgrEventFunc | pfnEvents, | |
| LPVOID | lpParam | |||
| ) |
Definition at line 707 of file fsDownloadMgr.cpp.
References m_lpParamEvents, and m_pfnEvents.
Referenced by fsUpdateMgr::CheckForUpdate(), vmsSimpleFileDownloader::CreateDownloader(), and fsUpdateMgr::Update().
| void fsDownloadMgr::SetOutputFileName | ( | LPCSTR | pszName | ) |
Definition at line 699 of file fsDownloadMgr.cpp.
References fsnew, m_dp, fsDownload_Properties::pszFileName, and SAFE_DELETE_ARRAY.
| fsInternetResult fsDownloadMgr::CreateByUrl | ( | LPCSTR | pszUrl, | |
| BOOL | bAcceptHTMLPathes = FALSE | |||
| ) |
Definition at line 585 of file fsDownloadMgr.cpp.
References fsInternetDownloader::DNP(), fsDownload_NetworkProperties::enProtocol, FALSE, fsDNP_GetByUrl(), fsDNP_GetByUrl_Free(), IR_BADURL, IR_SUCCESS, m_dldr, NP_HTTP, NP_HTTPS, NULL, fsDownload_NetworkProperties::pszPathName, and TRUE.
Referenced by CWGUrlReceiver::AddDownload(), fsUpdateMgr::CheckForUpdate(), vmsSimpleFileDownloader::Download(), and fsUpdateMgr::Update().
| fsInternetDownloader * fsDownloadMgr::GetDownloader | ( | ) |
Definition at line 580 of file fsDownloadMgr.cpp.
References m_dldr.
Referenced by fsUpdateMgr::_DownloadMgrEvents(), fsDownloadsMgr::_DownloadMgrEvents(), CWGUrlReceiver::AddDownload(), vmsDownloadMgrEx::get_URL(), vmsDownloadMgrEx::GetBytesLeft(), vmsDownloadMgrEx::GetConnectionCount(), vmsDownloadMgrEx::GetDownloadedBytesCount(), vmsDownloadMgrEx::GetDownloadingSectionCount(), CDownloads_Tasks::GetFileName(), vmsDownloadMgrEx::GetLDFileSize(), vmsDownloadMgrEx::GetNumberOfSections(), vmsDownloadMgrEx::GetPercentDone(), vmsDownloadMgrEx::GetSectionInfo(), vmsDownloadMgrEx::GetSpeed(), vmsDownloadMgrEx::GetSSFileSize(), vmsDownloadMgrEx::GetTrafficLimit(), vmsDownloadMgrEx::IsDownloading(), vmsDownloadMgrEx::IsResumeSupported(), vmsDownloadMgrEx::IsStoppedByUser(), vmsDownloadMgrEx::LimitTraffic(), fsDownloadsMgr::OnDldDone_CheckDownloadIsHtmlPageWithVideo(), CUpdateDlg::OnTimer(), fsDownloadsMgr::ProcessDownloads(), fsDownloadsMgr::RebuildServerList(), and vmsDownloadMgrEx::UseDetailedLog().
| fsDownload_Properties * fsDownloadMgr::GetDP | ( | ) |
Definition at line 97 of file fsDownloadMgr.cpp.
References m_dp.
Referenced by fsUpdateMgr::_DownloadMgrEvents(), CUpdateDlg::_UpdateMgrEvents(), fsUpdateMgr::CheckForUpdate(), CloneSettings(), vmsSimpleFileDownloader::Download(), vmsDownloadMgrEx::get_OutputFilePathName(), CDownloads_Tasks::GetFileName(), vmsDownloadMgrEx::IsDescriptionFileShouldBeGenerated(), vmsDownloadMgrEx::IsDontConfirmLaunchWhenDone(), vmsDownloadMgrEx::IsHtmlSpiderDownload(), vmsDownloadMgrEx::IsLaunchWhenDone(), fsDownloadsMgr::OnDldDone_CheckDownloadIsHtmlPageWithVideo(), fsDownloadsMgr::ProcessDownloads(), vmsDownloadMgrEx::set_LaunchWhenDone(), and fsUpdateMgr::Update().
| fsDownload_NetworkProperties * fsDownloadMgr::GetDNP | ( | ) |
Definition at line 92 of file fsDownloadMgr.cpp.
References fsInternetDownloader::DNP(), and m_dldr.
Referenced by BuildFileName(), fsUpdateMgr::CheckForUpdate(), CloneSettings(), DoRapidshareSupport(), get_URL(), CDownloads_Tasks::GetFileName(), LoadState(), fsDownloadsMgr::OnDldDone_CheckDownloadIsHtmlPageWithVideo(), fsDownloadsMgr::ProcessDownloads(), ProcessFilePathMacroses(), ProcessSCR(), and SaveState().
| DWORD WINAPI fsDownloadMgr::_threadReserveDiskSpace | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2488 of file fsDownloadMgr.cpp.
References ASSERT, b, DS_NEEDADDSECTION, FALSE, fsSetFilePointer(), fsInternetDownloader::GetDownloadedBytesCount(), fsInternetDownloader::GetLDFileSize(), fsInternetDownloader::GetNumberOfSections(), fsInternetDownloader::IsRunning(), fsInternetDownloader::LockWriteFile(), m_bDontCreateNewSections, m_dldr, m_hOutFile, m_iThread, m_state, NULL, and TRUE.
Referenced by ReserveDiskSpace().
| void fsDownloadMgr::ProcessFilePathMacroses | ( | CString & | str | ) | [protected] |
Definition at line 2383 of file fsDownloadMgr.cpp.
References DFF_USE_PORTABLE_DRIVE, fsGetPath(), GetDNP(), m_dwDownloadFileFlags, MY_MAX_PATH, and vmsGetExeDriveLetter().
Referenced by InitFile_ProcessMacroses(), and MoveToFolder().
| void fsDownloadMgr::InitFile_ProcessMacroses | ( | ) | [protected] |
Definition at line 2372 of file fsDownloadMgr.cpp.
References m_dp, ProcessFilePathMacroses(), and fsDownload_Properties::pszFileName.
Referenced by InitFile().
| BOOL fsDownloadMgr::CheckIfMalicious | ( | ) | [protected] |
Definition at line 2297 of file fsDownloadMgr.cpp.
References _App, _pwndDownloads, vmsObject::AddRef(), vmsMaliciousDownloadChecker::Check(), fsAppSettings::Community_CheckIfMalBeforeDlding(), fsAppSettings::Community_MalReportsMinPerc(), DLD_MALICIOUS_DISABLE_CHECK, DLD_MALICIOUS_NO, DLD_MALICIOUS_YES, fsDownload::dwFlags, EDT_INQUIRY, EDT_RESPONSE_E, EDT_RESPONSE_S, EDT_WARNING, Event(), FALSE, fsIRToStr(), vmsMaliciousDownloadChecker::get_AverageRating(), vmsMaliciousDownloadChecker::get_MaliciousOpinionCount(), vmsMaliciousDownloadChecker::get_OpinionTotalCount(), get_URL(), IDC_BTN1, IDC_BTN3, IR_SUCCESS, L_CHECKINGIFDLDISMAL, L_DLD_NO_USERS_MAL_REPS, L_IGNORE, L_STOP, L_STOPPED, L_THEREAREMALOPINIONS, L_THTREAREMALOPINIONS2, L_WARNING, L_YES, LS, m_dld, m_mdc, MyMessageBox(), NULL, TRUE, and WM_DLD_SHOWOPINIONS.
Referenced by _threadDownloadMgr().
| void fsDownloadMgr::SetFileTime | ( | HANDLE | hFile | ) | [protected] |
Definition at line 2221 of file fsDownloadMgr.cpp.
References DPF_RETRDATEFROMSERVER, fsDownload_Properties::dwFlags, _FILETIME::dwHighDateTime, _FILETIME::dwLowDateTime, fsInternetDownloader::get_FileDate(), m_dldr, m_dp, and NULL.
Referenced by _threadDownloadMgr(), InitFile(), OnNeedFile_FinalInit(), and OpenFile().
| void fsDownloadMgr::AppendCommentToFileName | ( | BOOL | bMoveFile = TRUE |
) | [protected] |
Definition at line 2145 of file fsDownloadMgr.cpp.
References CheckDstFileExists(), DescribeAPIError(), EDT_RESPONSE_E, Event(), FALSE, GetLastError(), L_CANTRENAMEBACK, LS, m_dld, m_dp, MoveFile(), MY_MAX_PATH, NULL, fsDownload_Properties::pszFileName, and fsDownload::strComment.
Referenced by OnDone().
| void fsDownloadMgr::CheckDstFileExists | ( | ) | [protected] |
Definition at line 2091 of file fsDownloadMgr.cpp.
References _App, _DlgMgr, AER_ASKUSER, AER_RENAME, AER_RENAME_2, AER_RESUME, AER_REWRITE, AER_STOP, fsAppSettings::AlreadyExistReaction(), DeleteFile(), DescribeAPIError(), CAERDlg::DisableStopAndResume(), EDT_RESPONSE_E, EDT_WARNING, fsDownload_Properties::enAER, Event(), FALSE, GetLastError(), L_CANTREWRITE, L_REWRITINGIT, L_WILLBERENAMED, LS, CAERDlg::m_bDontAskAgain, m_dp, CAERDlg::m_enAER, CAERDlg::m_pszFile, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), fsDownload_Properties::pszFileName, and RenameFile().
Referenced by AppendCommentToFileName(), and OnDone().
| BOOL fsDownloadMgr::OnNeedFile_FinalInit | ( | ) | [protected] |
Definition at line 2059 of file fsDownloadMgr.cpp.
References DE_EXTERROR, DescribeAPIError(), DMEE_FATALERROR, DS_NEEDSTOP, Event(), FALSE, m_bFatalError, m_hOutFile, m_state, ReserveDiskSpace(), SetFileTime(), and TRUE.
Referenced by _DownloaderEvents().
| DWORD WINAPI fsDownloadMgr::_threadCalcMirrSpeed | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2036 of file fsDownloadMgr.cpp.
References m_iThread, and MeasureMirrorsSpeed().
Referenced by CheckMirrSpeedRecalcRequired().
| void fsDownloadMgr::CheckMirrSpeedRecalcRequired | ( | ) | [protected] |
Definition at line 2018 of file fsDownloadMgr.cpp.
References _threadCalcMirrSpeed(), m_iThread, m_tikLastMirrMeasureTime, m_uMirrRecalcSpeedTime, fsTicksMgr::Now(), and NULL.
Referenced by _threadDownloadMgr().
| void fsDownloadMgr::AddSection | ( | BOOL | bCheckAdm = TRUE |
) | [protected] |
Definition at line 725 of file fsDownloadMgr.cpp.
References fsInternetDownloader::AddSection(), EDT_RESPONSE_E, EDT_RESPONSE_S, Event(), FALSE, fsIRToStr(), fsInternetDownloader::GetSectionMaxSize(), IR_S_FALSE, IR_SUCCESS, IsSectionCanBeAdded(), fsInternetDownloader::IsSectionCreatingNow(), L_CANCELED, L_NEWSECTION, LOG, LS, m_bDontCreateNewSections, m_dldr, m_dp, m_lastError, nl, and fsDownload_Properties::uSectionMinSize.
Referenced by _DownloaderEvents(), and _threadDownloadMgr().
| DWORD WINAPI fsDownloadMgr::_threadQSize | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 1882 of file fsDownloadMgr.cpp.
References DE_EXTERROR, DMEE_FILEUPDATED, EDT_DONE, EDT_RESPONSE_E, Event(), FALSE, fsIRToStr(), IR_SUCCESS, L_DONE, L_QUERINGSIZE, LS, m_iThread, and QuerySize().
Referenced by QuerySize2().
| void fsDownloadMgr::OnDone | ( | ) | [protected] |
Definition at line 1656 of file fsDownloadMgr.cpp.
References AppendCommentToFileName(), CheckDstFileExists(), CloseFile(), DeleteFile(), DescribeAPIError(), DPF_APPENDCOMMENTTOFILENAME, fsDownload_Properties::dwFlags, EDT_RESPONSE_E, Event(), FALSE, fsStrNCmpNC(), GetLastError(), L_CANTRENAMEBACK, LS, m_dp, MoveFile(), MY_MAX_PATH, fsDownload_Properties::pszAdditionalExt, fsDownload_Properties::pszFileName, RemoveHiddenAttribute(), and TRUE.
Referenced by _DownloaderEvents().
| void fsDownloadMgr::DescribeAPIError | ( | DWORD * | pdwLastError = NULL |
) | [protected] |
Definition at line 1649 of file fsDownloadMgr.cpp.
References EDT_RESPONSE_E, Event(), and fsErrorToStr().
Referenced by AppendCommentToFileName(), CheckDstFileExists(), InitFile(), OnDone(), OnNeedFile(), OnNeedFile_FinalInit(), and ProcessSCR().
| DWORD fsDownloadMgr::ProcessSCR | ( | fsSizeChangeReaction | scr, | |
| BOOL | bFirstCall = TRUE | |||
| ) | [protected] |
Definition at line 1579 of file fsDownloadMgr.cpp.
References _App, _DlgMgr, ASSERT, DE_EXTERROR, DescribeAPIError(), DMEE_USERSTOP, DS_NEEDSTOP, EDT_RESPONSE_E, EDT_WARNING, fsDownload_Properties::enSCR, Event(), FALSE, fsSetFilePointer(), GetDNP(), GetFileSize(), GetLastError(), fsInternetDownloader::GetSSFileSize(), L_ADJFORNEWSIZE, L_FAILEDTOOPEN, L_FILESIZEWASCHANGED, L_RESTARTINGDLD, LS, CSCRDlg::m_bDontAskAgain, m_dldr, CSCRDlg::m_dnp, m_dp, CSCRDlg::m_enSCR, m_hOutFile, m_state, NULL, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), OpenFile(), SCR_ADJUSTFORNEWSIZE, SCR_ASKUSER, SCR_RESTART, SCR_STOP, and fsAppSettings::SizeChangeReaction().
Referenced by OnSCR().
| DWORD fsDownloadMgr::OnSCR | ( | ) | [protected] |
Definition at line 1574 of file fsDownloadMgr.cpp.
References fsDownload_Properties::enSCR, m_dp, ProcessSCR(), and TRUE.
Referenced by _DownloaderEvents().
| void fsDownloadMgr::ApplyAdditionalExt | ( | ) | [protected] |
Definition at line 1545 of file fsDownloadMgr.cpp.
References fsnew, m_dp, MY_MAX_PATH, fsDownload_Properties::pszAdditionalExt, fsDownload_Properties::pszFileName, and SAFE_DELETE_ARRAY.
Referenced by InitFile().
| BOOL fsDownloadMgr::ReserveDiskSpace | ( | ) | [protected] |
Definition at line 1521 of file fsDownloadMgr.cpp.
References _threadReserveDiskSpace(), fsDownload_Properties::bReserveDiskSpace, FALSE, fsSetFilePointer(), fsInternetDownloader::GetLDFileSize(), fsInternetDownloader::GetNumberOfSections(), m_bDontCreateNewSections, m_dldr, m_dp, m_hOutFile, m_iThread, NULL, and TRUE.
Referenced by OnNeedFile_FinalInit().
| BOOL fsDownloadMgr::BuildFileName | ( | LPCSTR | pszSetExt = NULL |
) | [protected] |
Definition at line 1450 of file fsDownloadMgr.cpp.
References DE_EXTERROR, DMEE_FILEUPDATED, Event(), FALSE, fsFileNameFromUrlPath(), fsnew, GetDNP(), fsInternetDownloader::GetSuggestedFileName(), LPSTR, m_dldr, m_dp, MY_MAX_PATH, NP_FTP, NULL, fsDownload_Properties::pszCreateExt, fsDownload_Properties::pszFileName, SAFE_DELETE_ARRAY, and TRUE.
Referenced by InitFile().
| void fsDownloadMgr::Event | ( | LPCSTR | pszEvent, | |
| fsDownloadMgr_EventDescType | enType = EDT_INQUIRY | |||
| ) | [protected] |
Definition at line 719 of file fsDownloadMgr.cpp.
References m_lpEventDescParam, and m_pfnEventDesc.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), _threadQSize(), AddSection(), AppendCommentToFileName(), ApplyAER(), BuildFileName(), CheckDstFileExists(), CheckIfMalicious(), DescribeAPIError(), InitFile(), MeasureMirrorsSpeed(), OnDone(), OnNeedFile(), OnNeedFile_FinalInit(), OnSectionStopped(), OpenFile(), ProcessSCR(), RenameFile(), and StartDownload().
| DWORD fsDownloadMgr::Event | ( | fsDownloaderEvent | ev, | |
| UINT | uInfo | |||
| ) | [protected] |
Definition at line 1442 of file fsDownloadMgr.cpp.
References m_lpParamEvents, m_pfnEvents, and TRUE.
| BOOL fsDownloadMgr::OpenFile | ( | BOOL | bFailIfDeleted = TRUE, |
|
| BOOL | bDisableEvents = FALSE | |||
| ) | [protected] |
Definition at line 1344 of file fsDownloadMgr.cpp.
References DE_EXTERROR, DMEE_FILEWASDELETED, DPF_USEHIDDENATTRIB, DS_NEEDSTOP, fsDownload_Properties::dwFlags, EDT_RESPONSE_E, Event(), FALSE, GetLastError(), fsInternetDownloader::GetNumberOfSections(), fsInternetDownloader::GetSectionInfo(), L_WASDELETED, LS, m_dldr, m_dp, m_hOutFile, m_state, NULL, fsDownload_Properties::pszFileName, SetFileTime(), TRUE, fsSection::uCurrent, and fsSection::uStart.
Referenced by ApplyAER(), OnNeedFile(), and ProcessSCR().
| void fsDownloadMgr::RenameFile | ( | BOOL | bFormat1 = TRUE |
) | [protected] |
Definition at line 1262 of file fsDownloadMgr.cpp.
References DE_EXTERROR, DMEE_FILEUPDATED, EDT_WARNING, Event(), fsGetFileName(), fsnew, l, L_FILEALREXISTSRENAMING, L_RENAMINGTO, vmsCriticalSection::Lock(), LPSTR, LS, m_bRename_CheckIfRenamed, m_csRenameFile, m_dp, MY_MAX_PATH, NULL, fsDownload_Properties::pszAdditionalExt, fsDownload_Properties::pszFileName, SAFE_DELETE_ARRAY, and vmsCriticalSection::Unlock().
Referenced by ApplyAER(), and CheckDstFileExists().
| BOOL fsDownloadMgr::OnNeedFile | ( | ) | [protected] |
Definition at line 1219 of file fsDownloadMgr.cpp.
References BOOL, DE_EXTERROR, DescribeAPIError(), DFF_NEED_INIT_FILE, DMEE_FATALERROR, DS_NEEDSTOP, EDT_RESPONSE_S, Event(), FALSE, InitFile(), L_OPENINGFILE, L_SUCCESS, LS, m_bFatalError, m_dldr, m_dwDownloadFileFlags, m_hOutFile, m_state, OpenFile(), fsInternetDownloader::SetOutputFile(), and TRUE.
Referenced by _DownloaderEvents().
| void fsDownloadMgr::OnSectionStopped | ( | ) | [protected] |
Definition at line 1199 of file fsDownloadMgr.cpp.
References DS_DOWNLOADING, DS_NEEDSTART, DS_NEEDSTOP, Event(), FALSE, fsInternetDownloader::IsRunning(), fsInternetDownloader::IsStoppedByUser(), L_RESTARTINGDLD, LS, m_bFatalError, m_bNeedStartAgain, m_dldr, and m_state.
Referenced by _DownloaderEvents().
| BOOL fsDownloadMgr::SleepInterval | ( | ) | [protected] |
Definition at line 1183 of file fsDownloadMgr.cpp.
References DS_NEEDSTOP, FALSE, m_dp, m_state, TRUE, and fsDownload_Properties::uRetriesTime.
Referenced by _threadDownloadMgr().
| void fsDownloadMgr::StopDownload | ( | ) | [protected] |
Definition at line 685 of file fsDownloadMgr.cpp.
References fsInternetDownloader::IsRunning(), m_dldr, m_mdc, vmsMaliciousDownloadChecker::Stop(), and fsInternetDownloader::StopDownloading().
Referenced by _threadDownloadMgr().
| fsInternetResult fsDownloadMgr::StartDownload | ( | ) | [protected] |
Definition at line 613 of file fsDownloadMgr.cpp.
References fsDownload_Properties::aEP, ApplyProperties(), BOOL, CreateInternetSession(), DE_EXTERROR, DFE_ACCDENIED, DFE_NOTFOUND, DFEP_STOP, DMEE_FATALERROR, DS_NEEDRESTARTFROM, DS_NEEDSTOP, EDT_RESPONSE_E, Event(), FALSE, fsIRToStr(), IR_EXTERROR, IR_FILENOTFOUND, IR_INVALIDPASSWORD, IR_INVALIDUSERNAME, IR_LOGINFAILURE, IR_S_FALSE, IR_SUCCESS, fsInternetDownloader::IsRunning(), L_STARTINGDLD, LS, m_bFatalError, m_dldr, m_dp, m_state, m_ticksStart, m_uNeedStartFrom, fsTicksMgr::Now(), fsInternetDownloader::StartDownloading(), and TRUE.
Referenced by _threadDownloadMgr().
| DWORD fsDownloadMgr::_DownloaderEvents | ( | fsDownloaderEvent | enEvent, | |
| UINT | uInfo, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 330 of file fsDownloadMgr.cpp.
References AddSection(), DE_ARCHIVEDETECTED, DE_BADFILESIZE, DE_CONFIRMARCHIVEDETECTION, DE_CONNECTED, DE_CONNECTING, DE_CONNECTINGMIRRSERVER, DE_DIALOGWITHSERVER, DE_ERRFROMSERVER, DE_ERROROCCURED, DE_EXTERROR, DE_FAILCONNECT, DE_FILESIZETOOBIG, DE_GETTINGMIRRSEARCHRESULTS, DE_MAYADDSECTION, DE_MEASURINGMIRRSPEED, DE_MIRRDONE, DE_MIRRFAILED, DE_MIRRFOUND, DE_NEEDFILE, DE_NEEDFILE_FINALINITIALIZATION, DE_NOMIRRFOUND, DE_PAUSE, DE_QUERYNEWSECTION, DE_REDIRECTING, DE_REDIRECTINGOKCONTINUEOPENING, DE_RESTARTINGBECAUSENORANGES, DE_SCR, DE_SECTDOWNLOADING, DE_SECTIONDONE, DE_SECTIONSTARTED, DE_SECTIONSTOPPED, DE_SPEEDISTOOLOW, DE_STARTINGSEARCHINGFORMIRRORS, DE_TRYINGANOTHERMIRROR, DE_WRITEERROR, DE_ZIPPREVIEWFAILED, DE_ZIPPREVIEWSTARTED, fsDlgWithServerInfo::dir, DMEE_FATALERROR, DS_DONE, EDT_DONE, EDT_INQUIRY2, EDT_RESPONSE_E, EDT_RESPONSE_S, EDT_RESPONSE_S2, EDT_WARNING, Event(), FALSE, fsErrorToStr(), fsIRToStr(), fsInternetDownloader::GetDownloadingSectionCount(), fsInternetDownloader::GetFoundMirrorCount(), fsInternetDownloader::GetSectionLastError(), IFDD_TOSERVER, simple_client::info, IR_EXTERROR, IR_FILENOTFOUND, fsInternetDownloader::IsAllSectionsOk(), fsInternetDownloader::IsDone(), fsInternetDownloader::IsRunning(), L_CALCULATINGMIRRORSSPEED, L_CONNECTING, L_CONNECTINGSEARCHSERVER, L_CONNSUCC, L_DLDCOMPLETED, L_DONE, L_DOWNLOADING, L_FAILED, L_FILESIZEEXCEEDS2GB, L_FILESIZESARENOTEQUAL, L_GETTINGRESULTS, L_MIRRORSEARCHINGDONE, L_NMIRRORSFOUND, L_NOMIRRORSFOUND, L_NORESUMERESTARTING, L_PAUSESECS, L_REDIRECTING, L_REDIRSUCC, L_SEARCHINGFORMIRRORS, L_SECTION, L_SHESTOPPED, L_SPEEDISTOOLOW, L_STARTED, L_SUCCESS, L_TRYINGANOTHERMIRROR, L_WRITEERR, LS, m_bCantStart, m_bFatalError, m_dldr, m_dp, m_pfnEvents, m_state, m_strExtError, m_ticksStart, m_tikLastMirrMeasureTime, fsTicksMgr::Now(), OnDone(), OnNeedFile(), OnNeedFile_FinalInit(), OnSCR(), OnSectionStopped(), fsDlgWithServerInfo::pszMsg, TRUE, and fsDownload_Properties::uRetriesTime.
Referenced by fsDownloadMgr().
| DWORD WINAPI fsDownloadMgr::_threadDownloadMgr | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 152 of file fsDownloadMgr.cpp.
References AddSection(), BOOL, CheckIfMalicious(), CheckMirrSpeedRecalcRequired(), CloseFile(), DE_EXTERROR, DMEE_FATALERROR, DMEE_STARTING, DMEE_STOPPEDORDONE, DPF_RETRDATEFROMSERVER, DS_DONE, DS_DOWNLOADING, DS_NEEDADDSECTION, DS_NEEDADDSECTION2, DS_NEEDRESTARTFROM, DS_NEEDSTART, DS_NEEDSTOP, fsDownload_Properties::dwFlags, EDT_RESPONSE_E, EDT_RESPONSE_S, EDT_WARNING, Event(), FALSE, fsInternetDownloader::GetDownloadingSectionCount(), fsInternetDownloader::GetNumberOfSections(), fsInternetDownloader::GetSpeed(), fsInternetDownloader::GetStoppedSectionCount(), IR_DOUBTFUL_RANGESRESPONSE, IR_RANGESNOTAVAIL, IR_S_FALSE, IR_SUCCESS, is_GlobalOffline(), fsInternetDownloader::IsResumeSupported(), L_DLDSTOPPED, L_NORESUME, L_PAUSESECS, fsInternetDownloader::LaunchOneMoreSection(), LS, m_bCantStart, m_bFatalError, m_bNeedStartAgain, m_bThreadRunning, m_dldr, m_dp, m_hOutFile, m_iThread, m_lastError, m_state, m_ticksStart, fsTicksMgr::Now(), NULL, fsDownload_Properties::pszFileName, RST_NONE, RST_PRESENT, set_GlobalOffline(), SetFileTime(), SleepInterval(), StartDownload(), StopDownload(), TRUE, fsDownload_Properties::uMaxAttempts, and fsDownload_Properties::uRetriesTime.
Referenced by StartDownloading().
| fsInternetResult fsDownloadMgr::CreateInternetSession | ( | ) | [protected] |
Definition at line 117 of file fsDownloadMgr.cpp.
References INTERNET_AUTODIAL_FORCE_ONLINE, InternetAutodial(), IR_SUCCESS, and NULL.
Referenced by FindMirrors(), QuerySize(), and StartDownload().
| BOOL fsDownloadMgr::ApplyAER | ( | fsAlreadyExistReaction | enAER | ) | [private] |
Definition at line 1384 of file fsDownloadMgr.cpp.
References _App, _DldsMgr, _DlgMgr, AER_ASKUSER, AER_RENAME, AER_RENAME_2, AER_RESUME, AER_REWRITE, AER_STOP, fsAppSettings::AlreadyExistReaction(), fsDownloadsMgr::ApplyAER(), ASSERT, DE_EXTERROR, DMEE_USERSTOP, DS_NEEDRESTARTFROM, DS_NEEDSTOP, EDT_RESPONSE_E, EDT_WARNING, fsDownload_Properties::enAER, Event(), FALSE, GetFileSize(), L_ALREXISTS, L_RESUMINGDLD, L_REWRITINGIT, LS, CAERDlg::m_bDontAskAgain, m_dp, CAERDlg::m_enAER, m_hOutFile, CAERDlg::m_pszFile, m_state, m_uNeedStartFrom, NULL, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), OpenFile(), fsDownload_Properties::pszFileName, RenameFile(), and TRUE.
Referenced by InitFile().
BOOL fsDownloadMgr::m_bDontCreateNewSections [protected] |
Definition at line 149 of file fsDownloadMgr.h.
Referenced by _threadReserveDiskSpace(), AddSection(), fsDownloadMgr(), and ReserveDiskSpace().
DWORD fsDownloadMgr::m_dwDownloadFileFlags [protected] |
Definition at line 150 of file fsDownloadMgr.h.
Referenced by DeleteFile(), fsDownloadMgr(), InitFile(), IsFileInit(), LoadState(), OnNeedFile(), ProcessFilePathMacroses(), Reset(), SaveState(), and SetToRestartState().
bool fsDownloadMgr::m_bRSsupportDone [protected] |
Definition at line 151 of file fsDownloadMgr.h.
Referenced by DoRapidshareSupport(), and fsDownloadMgr().
class vmsMaliciousDownloadChecker* fsDownloadMgr::m_mdc [protected] |
Definition at line 157 of file fsDownloadMgr.h.
Referenced by CheckIfMalicious(), fsDownloadMgr(), StopDownload(), and StopDownloading().
vmsCriticalSection fsDownloadMgr::m_csRenameFile [static, protected] |
BOOL fsDownloadMgr::m_bRename_CheckIfRenamed [protected] |
Definition at line 166 of file fsDownloadMgr.h.
Referenced by fsDownloadMgr(), RenameFile(), and SetToRestartState().
BOOL fsDownloadMgr::m_bNeedStartAgain [protected] |
Definition at line 168 of file fsDownloadMgr.h.
Referenced by _threadDownloadMgr(), fsDownloadMgr(), and OnSectionStopped().
fsTicksMgr fsDownloadMgr::m_tikLastMirrMeasureTime [protected] |
Definition at line 179 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), CheckMirrSpeedRecalcRequired(), fsDownloadMgr(), and MeasureMirrorsSpeed().
UINT fsDownloadMgr::m_uMirrRecalcSpeedTime [protected] |
Definition at line 181 of file fsDownloadMgr.h.
Referenced by CheckMirrSpeedRecalcRequired(), fsDownloadMgr(), and Set_MirrRecalcSpeedTime().
BOOL fsDownloadMgr::m_bCantStart [protected] |
Definition at line 184 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), fsDownloadMgr(), and IsCantStart().
BOOL fsDownloadMgr::m_bFatalError [protected] |
Definition at line 186 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), fsDownloadMgr(), InitFile(), OnNeedFile(), OnNeedFile_FinalInit(), OnSectionStopped(), and StartDownload().
LONG fsDownloadMgr::m_iThread [protected] |
Definition at line 187 of file fsDownloadMgr.h.
Referenced by _threadCalcMirrSpeed(), _threadDownloadMgr(), _threadQSize(), _threadReserveDiskSpace(), CheckMirrSpeedRecalcRequired(), fsDownloadMgr(), HasActivity(), QuerySize2(), ReserveDiskSpace(), StartDownloading(), and ~fsDownloadMgr().
CString fsDownloadMgr::m_strExtError [protected] |
BOOL fsDownloadMgr::m_uNeedStartFrom [protected] |
Definition at line 213 of file fsDownloadMgr.h.
Referenced by ApplyAER(), fsDownloadMgr(), and StartDownload().
fntEventDescFunc fsDownloadMgr::m_pfnEventDesc [protected] |
Definition at line 218 of file fsDownloadMgr.h.
Referenced by Event(), fsDownloadMgr(), and SetEventDescFunc().
LPVOID fsDownloadMgr::m_lpEventDescParam [protected] |
fsTicksMgr fsDownloadMgr::m_ticksStart [protected] |
Definition at line 220 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), and StartDownload().
HANDLE fsDownloadMgr::m_hOutFile [protected] |
Definition at line 221 of file fsDownloadMgr.h.
Referenced by _threadDownloadMgr(), _threadReserveDiskSpace(), ApplyAER(), CloseFile(), fsDownloadMgr(), OnNeedFile(), OnNeedFile_FinalInit(), OpenFile(), ProcessSCR(), and ReserveDiskSpace().
fsInternetResult fsDownloadMgr::m_lastError [protected] |
Definition at line 224 of file fsDownloadMgr.h.
Referenced by _threadDownloadMgr(), AddSection(), and GetLastError().
fsDownloadState fsDownloadMgr::m_state [protected] |
Definition at line 229 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), _threadReserveDiskSpace(), ApplyAER(), ApplyProperties(), CreateOneMoreSection(), FindMirrors(), fsDownloadMgr(), get_State(), InitFile(), IsQueringSize(), IsSectionCanBeAdded(), LoadState(), OnNeedFile(), OnNeedFile_FinalInit(), OnSectionStopped(), OpenFile(), ProcessSCR(), QuerySize(), QuerySize2(), SaveState(), SleepInterval(), StartDownload(), StartDownloading(), and StopDownloading().
BOOL fsDownloadMgr::m_bThreadRunning [protected] |
Definition at line 230 of file fsDownloadMgr.h.
Referenced by _threadDownloadMgr(), fsDownloadMgr(), IsRunning(), and StartDownloading().
fsDownload_Properties fsDownloadMgr::m_dp [protected] |
Definition at line 235 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), AddSection(), AppendCommentToFileName(), ApplyAdditionalExt(), ApplyAER(), ApplyProperties(), BuildFileName(), CheckDstFileExists(), CloneSettings(), DeleteFile(), fsDownloadMgr(), GetDP(), InitFile(), InitFile_ProcessMacroses(), IsSectionCanBeAdded(), LoadState(), MoveFile(), MoveToFolder(), OnDone(), OnSCR(), OpenFile(), ProcessSCR(), RemoveHiddenAttribute(), RenameFile(), ReserveDiskSpace(), SaveState(), SetFileTime(), SetOutputFileName(), SetToRestartState(), SleepInterval(), StartDownload(), and ~fsDownloadMgr().
fsInternetDownloader fsDownloadMgr::m_dldr [protected] |
Definition at line 236 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), _threadDownloadMgr(), _threadReserveDiskSpace(), AddSection(), ApplyProperties(), BuildFileName(), CloseFile(), CreateByUrl(), CreateOneMoreSection(), FindMirrors(), fsDownloadMgr(), GetDNP(), GetDownloader(), IsDone(), IsRunning(), IsSectionCanBeAdded(), LoadState(), MeasureMirrorsSpeed(), OnNeedFile(), OnSectionStopped(), OpenFile(), ProcessSCR(), QuerySize(), ReserveDiskSpace(), Reset(), SaveState(), SetFileTime(), SetToRestartState(), StartDownload(), StartDownloading(), StopDownload(), StopDownloading(), StopQuering(), StopSection(), and ~fsDownloadMgr().
fntDownloadMgrEventFunc fsDownloadMgr::m_pfnEvents [protected] |
Definition at line 237 of file fsDownloadMgr.h.
Referenced by _DownloaderEvents(), Event(), fsDownloadMgr(), and SetEventFunc().
LPVOID fsDownloadMgr::m_lpParamEvents [protected] |
fsDownload* fsDownloadMgr::m_dld [private] |
Definition at line 242 of file fsDownloadMgr.h.
Referenced by AppendCommentToFileName(), CheckIfMalicious(), fsDownloadMgr(), and set_Download().
1.5.6