#include <DownloadsWnd.h>
Definition at line 89 of file DownloadsWnd.h.
| CDownloadsWnd::CDownloadsWnd | ( | ) |
Definition at line 45 of file DownloadsWnd.cpp.
References _DldsMgr, _Events(), _IECatchMgr, fsDownloadsMgr::AttachToIECatchMgr(), FALSE, m_bDeletingManyDownloads, m_bDontUpdateTIPO, m_bExiting, m_cCheckDldHasOpinionsThreads, CDownloads_Tasks::m_pDownloadsWnd, CDownloads_Groups::m_pWndDownloads, CDownloads_Downloads::m_tasks, m_uTotalSpeed, m_wndDownloads, m_wndGroups, and fsDownloadsMgr::SetEventsFunc().
| CDownloadsWnd::~CDownloadsWnd | ( | ) | [virtual] |
Definition at line 62 of file DownloadsWnd.cpp.
References _DldsMgr, and fsDownloadsMgr::Shutdown().
| HMENU CDownloadsWnd::Plugin_GetViewMenu | ( | ) | [static] |
Definition at line 2394 of file DownloadsWnd.cpp.
References IDM_DL_VIEW.
Referenced by fsPluginMgr::LoadBuiltIn().
| HMENU CDownloadsWnd::Plugin_GetMainMenu | ( | ) | [static] |
Definition at line 2389 of file DownloadsWnd.cpp.
References IDM_DOWNLOADS.
Referenced by fsPluginMgr::LoadBuiltIn().
| BOOL CDownloadsWnd::IsMediaDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 2379 of file DownloadsWnd.cpp.
References FALSE, vmsDownloadsGroupsMgr::GetAudioExts(), vmsDownloadsGroupsMgr::GetVideoExts(), IsExtInExtsStr(), and NULL.
Referenced by _Events().
| int CDownloadsWnd::DeleteDownloads | ( | DLDS_LIST_REF | v, | |
| BOOL | bByUser, | |||
| BOOL | bDontConfirmFileDeleting | |||
| ) |
Definition at line 2351 of file DownloadsWnd.cpp.
References _DldsMgr, fsDownloadsMgr::DeleteDownloads(), CDownloads_Downloads::m_tasks, m_wndDownloads, CDownloads_Tasks::UpdateActiveDownload(), and UpdateTrayIconPlusOthers().
Referenced by DeleteCompletedDownloadsInList(), DeleteDownload(), DeleteDownloadsInList(), and CFVDownloads_Tasks::DeleteSelected().
| void CDownloadsWnd::ShowDownloads | ( | DLDS_LIST_REF | v | ) |
Definition at line 2321 of file DownloadsWnd.cpp.
References _DldsMgr, BOOL, FALSE, CDownloads_Groups::GetCurrentFilter(), fsDldFilter::IsSatisfies(), CDownloads_Tasks::LockList(), fsDownloadsMgr::LockList(), CDownloads_Downloads::m_tasks, m_wndDownloads, m_wndGroups, NULL, CDownloads_Tasks::SelectDownload(), CDownloads_Groups::SetGroupFilter(), fsDownloadsMgr::UnlockList(), and CDownloads_Tasks::UnlockList().
Referenced by CFVDownloads_Tasks::OnFvdldPasstodlds().
| BOOL CDownloadsWnd::CreateBtDownloadFromFile | ( | LPCSTR | pszFile, | |
| LPCSTR | pszTorrentUrl, | |||
| BOOL | bSilent = FALSE | |||
| ) |
Definition at line 2260 of file DownloadsWnd.cpp.
References _App, _DldsGrps, _DlgMgr, BTDF_GENERATE_DESC_FILE, BTDF_LAUNCH_WHEN_DONE, BTDF_RESERVE_DISK_SPACE, vmsBtDownloadManager::CreateByTorrentFile(), CreateDownload(), fsDialogsMgr::DoModal(), Download_CreateInstance(), fsAppSettings::DownloadFlags(), DPF_GENERATEDESCFILE, DPF_STARTWHENDONE, FALSE, vmsDownloadsGroupsMgr::FindGroup(), vmsDownloadsGroupsMgr::FindGroupByExt(), vmsBtDownloadManager::get_TorrentComment(), GRP_OTHER_ID, fsString::IsEmpty(), CCreateDownloadFromTorrentFileDlg::m_bPlaceToTop, CCreateDownloadFromTorrentFileDlg::m_bScheduled, CCreateDownloadFromTorrentFileDlg::m_dld, CCreateDownloadFromTorrentFileDlg::m_strTorrentFile, CCreateDownloadFromTorrentFileDlg::m_task, fsAppSettings::NewDL_AutoStart(), fsAppSettings::NewDL_GroupId(), NULL, fsAppSettings::ReserveDiskSpace(), and TRUE.
Referenced by CFdmTorrentFilesRcvr::_threadCreateBtDownloadFromFile(), and CMainFrame::OnProceedFurherInitialization().
| void CDownloadsWnd::OnBtDownloadProperties | ( | DLDS_LIST & | vDlds, | |
| CWnd * | pwndParent = NULL | |||
| ) |
Definition at line 2244 of file DownloadsWnd.cpp.
References _DlgMgr, fsDialogsMgr::DoModal(), CBtDldSheet::Init(), CBtDldSheet::IsNeedUpdateTasks(), L_DLDPROP, LS, OnDownloadsGroupChanged(), and fsDialogsMgr::OnEndDialog().
Referenced by CDownloads_Tasks::OnDldproperties(), and CFVDownloads_Tasks::ShowSelectedDldsProperties().
| void CDownloadsWnd::UpdateNumbersOfDownloadsInGroups | ( | ) |
Definition at line 2239 of file DownloadsWnd.cpp.
References m_wndGroups, and CDownloads_Groups::UpdateNumbersOfDownloadsInGroups().
Referenced by CreateDownloads(), fsDownloadsMgr::DeleteDownloads2(), CDownloadProperties_GeneralPage::OnApply(), CBtDld_General::OnApply(), and OnCreate().
| void CDownloadsWnd::DeleteDeadDownloadsInList | ( | ) |
Definition at line 2208 of file DownloadsWnd.cpp.
References _DldsMgr, fsDownloadsMgr::DeleteDownloads(), FALSE, CDownloads_Tasks::GetItemData(), CDownloads_Downloads::m_tasks, m_wndDownloads, and TRUE.
Referenced by CDownloads_Groups::OnGrpdeletealldeaddlds().
| void CDownloadsWnd::OnGroupNameChanged | ( | vmsDownloadsGroupSmartPtr | pGroup | ) |
Definition at line 2203 of file DownloadsWnd.cpp.
References m_wndGroups, and CDownloads_Groups::OnGroupNameChanged().
Referenced by CGroupDlg::OnOK().
| void CDownloadsWnd::CheckDldHasOpinions | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 2175 of file DownloadsWnd.cpp.
References _threadCheckDldHasOpinions(), m_cCheckDldHasOpinionsThreads, and NULL.
Referenced by _Events(), and CDownloads_Opinions::OnUpdateContent().
| UINT CDownloadsWnd::get_TotalSpeed | ( | ) |
Definition at line 2084 of file DownloadsWnd.cpp.
References m_uTotalSpeed.
Referenced by CMainFrame::OnUpdateTotalSpeed().
| void CDownloadsWnd::set_DontUpdateTIPO | ( | BOOL | b | ) |
Definition at line 2021 of file DownloadsWnd.cpp.
References m_bDontUpdateTIPO.
Referenced by fsDownloadsMgr::DeleteDownloads2().
| void CDownloadsWnd::RestartDownload | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bSelThisDld | |||
| ) |
Definition at line 1997 of file DownloadsWnd.cpp.
References _DldsMgr, CDownloads_Tasks::AddDownload(), CDownloads_Tasks::DeleteDownload(), FALSE, CDownloads_Tasks::FindItem(), CDownloads_Downloads::m_tasks, m_wndDownloads, fsDownloadsMgr::MoveDownloadToEndOfList(), and SelectDownload().
Referenced by CCreateDownloadDlg::_CheckDownloadAlrExists(), fsDownloadsMgr::_threadIntegrityCheckAndVirCheckAndLaunch(), CDownloads_Tasks::OnDldcheckintegrity(), and CDownloads_Tasks::OnDldrestart().
| BOOL CDownloadsWnd::IsFindNextAvail | ( | ) |
Definition at line 1962 of file DownloadsWnd.cpp.
References fsFindDownloadMgr::IsFindNextAvail(), and m_finder.
Referenced by CMainFrame::OnUpdateFindnext().
| void CDownloadsWnd::SelectDeletedDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 1957 of file DownloadsWnd.cpp.
References m_wndDeleted, and CDownloads_Deleted::SelectDownload().
Referenced by fsFindDownloadMgr::FindNext().
| void CDownloadsWnd::ShowDeletedDownloads | ( | ) |
Definition at line 1952 of file DownloadsWnd.cpp.
References m_wndGroups, and CDownloads_Groups::SetFilter_DeletedDownloads().
Referenced by fsFindDownloadMgr::FindNext().
| void CDownloadsWnd::SelectHistRecord | ( | fsDLHistoryRecord * | rec | ) |
Definition at line 1947 of file DownloadsWnd.cpp.
References m_wndHistory, and CDownloads_History::SelectRecord().
Referenced by fsFindDownloadMgr::FindNext().
| void CDownloadsWnd::ShowAllHistory | ( | ) |
Definition at line 1942 of file DownloadsWnd.cpp.
References m_wndGroups, and CDownloads_Groups::SetFilter_AllHistory().
Referenced by fsFindDownloadMgr::FindNext().
| void CDownloadsWnd::FindDownloads_FindNext | ( | ) |
Definition at line 1936 of file DownloadsWnd.cpp.
References FALSE, fsFindDownloadMgr::FindNext(), L_FINDDONE, L_THEREISNOMOREITEMS, LS, and m_finder.
Referenced by CMainFrame::OnFindnext().
| void CDownloadsWnd::FindDownloads_Start | ( | ) |
Definition at line 1929 of file DownloadsWnd.cpp.
References FALSE, fsFindDownloadMgr::FindNext(), L_FINDDONE, L_THEREISNOITEMS, LS, m_finder, and fsFindDownloadMgr::PrepareFind().
Referenced by CMainFrame::OnFind().
| void CDownloadsWnd::SelectDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 1919 of file DownloadsWnd.cpp.
References FALSE, CDownloads_Groups::GetCurrentFilter(), fsDldFilter::IsSatisfies(), CDownloads_Downloads::m_tasks, m_wndDownloads, m_wndGroups, NULL, CDownloads_Tasks::SelectDownload(), and CDownloads_Groups::SetGroupFilter().
Referenced by fsFindDownloadMgr::FindNext(), and RestartDownload().
| void CDownloadsWnd::ShowAllDownloads | ( | ) |
Definition at line 1914 of file DownloadsWnd.cpp.
References m_wndGroups, and CDownloads_Groups::SetFilter_AllDownloads().
Referenced by fsFindDownloadMgr::FindNext().
| void CDownloadsWnd::ApplyHistoryCurrentFilter | ( | ) |
Definition at line 1909 of file DownloadsWnd.cpp.
References CDownloads_History::ApplyFilter(), CDownloads_Groups::GetHistoryCurrentFilter(), m_wndGroups, and m_wndHistory.
Referenced by CMainFrame::OnProceedFurherInitialization(), and CDownloads_History::Sort().
| void CDownloadsWnd::Set_DWWN | ( | fsDLsWndWhatIsNow | en | ) |
Definition at line 1900 of file DownloadsWnd.cpp.
References ApplyDWWN(), m_enDWWN, and TRUE.
Referenced by CDownloads_Groups::OnSelchanged().
| void CDownloadsWnd::ApplyDWWN | ( | BOOL | bRecalcSize = FALSE |
) |
Definition at line 1858 of file DownloadsWnd.cpp.
References CWndSplitter::ApplyRatio(), DWWN_DELETED, DWWN_HISTORY, DWWN_LISTOFDOWNLOADS, m_enDWWN, m_splitter, m_wndDeleted, m_wndDownloads, m_wndHistory, and CWndSplitter::SetWnd2().
Referenced by OnCreate(), and Set_DWWN().
| fsDLsWndWhatIsNow CDownloadsWnd::Get_DWWN | ( | ) |
Definition at line 1853 of file DownloadsWnd.cpp.
References m_enDWWN.
Referenced by CDownloads_Groups::Create(), CDownloads_Groups::OnKeydown(), CMainFrame::OnProceedFurherInitialization(), and CDownloads_Tasks::UpdateMenu().
| BOOL CDownloadsWnd::CreateDownloadWithDefSettings | ( | vmsDownloadSmartPtr | dld, | |
| LPCSTR | pszUrl | |||
| ) |
Definition at line 1773 of file DownloadsWnd.cpp.
References _App, _DldsGrps, _SitesMgr, ASSERT, DPF_USEZIPPREVIEW, fsDownload_NetworkProperties::enProtocol, FALSE, vmsDownloadsGroupsMgr::FindGroup(), vmsDownloadsGroupsMgr::FindGroupByExt(), fsSitesMgr::FindSite2(), fsDNP_SetAuth(), fsFileNameFromUrlPath(), fsNPToSiteValidFor(), GRP_OTHER_ID, if(), IR_SUCCESS, fsAppSettings::NewDL_AutoStart(), fsAppSettings::NewDL_GroupId(), fsAppSettings::NewDL_UseZIPPreview(), NP_FTP, NULL, fsSiteInfo::pGroup, fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, SAFE_DELETE, fsSiteInfo::strPassword, fsSiteInfo::strUser, and TRUE.
Referenced by CreateDownload(), CMainFrame::ImportDownload(), CMainFrame::ImportListOfDownloads_FromURLListFile(), and CMainFrame::OnFileImportImportlistofdownloadsfromclipboard().
| BOOL CDownloadsWnd::IsSizesInBytes | ( | ) |
Definition at line 1768 of file DownloadsWnd.cpp.
References CDownloads_Tasks::m_bSizesInBytes, CDownloads_Downloads::m_tasks, and m_wndDownloads.
Referenced by CCreateDownloadListDlg::_threadCalculateSize(), CCreateBatchDownload::_threadCalculateSize(), CCreateDownloadDlg::_threadQSize(), BytesToString(), CDownloads_Tasks::GetDownloadText(), vmsUploadsDllCallerSettings::ShowSizesInBytes(), CDownloads_Deleted::UpdateDownload(), CHFE_FileList::UpdateList(), and CDownloads_History::UpdateRecord().
| fsDldFilter * CDownloadsWnd::GetCurrentFilter | ( | ) |
Definition at line 1694 of file DownloadsWnd.cpp.
References CDownloads_Groups::GetCurrentFilter(), and m_wndGroups.
Referenced by OnDownloadsGroupChanged().
| void CDownloadsWnd::ApplyCurrentFilter | ( | ) |
Definition at line 1689 of file DownloadsWnd.cpp.
References FilterDownloads(), CDownloads_Groups::GetCurrentFilter(), and m_wndGroups.
Referenced by _Events(), OnDownloadsGroupChanged(), and CMainFrame::OnProceedFurherInitialization().
| void CDownloadsWnd::FilterDownloads | ( | fsDldFilter * | filter | ) |
Definition at line 1678 of file DownloadsWnd.cpp.
References CDownloads_Tasks::DeleteAllItems(), FilterDownloads2(), CDownloads_Downloads::m_tasks, m_wndDownloads, and NULL.
Referenced by ApplyCurrentFilter(), and CDownloads_Groups::OnSelchanged().
| void CDownloadsWnd::Plugin_SetLanguage | ( | wgLanguage | , | |
| HMENU | hMenuMain, | |||
| HMENU | hMenuView | |||
| ) | [static] |
Definition at line 1602 of file DownloadsWnd.cpp.
References CDownloads_Deleted::ApplyLanguage(), CDownloads_History::ApplyLanguage(), CDownloads_Downloads::ApplyLanguage(), CDownloads_Groups::ApplyLanguage(), CDownloads_Tasks::ApplyLanguageToMenu(), ApplyLanguageToMenuView(), CDownloads_Downloads::m_tasks, m_wndDeleted, m_wndDownloads, m_wndGroups, and m_wndHistory.
Referenced by fsPluginMgr::LoadBuiltIn().
Definition at line 1571 of file DownloadsWnd.cpp.
References L_DOWNLOADS, and LSNP.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CDownloadsWnd::Plugin_GetMenuViewItems | ( | wgMenuViewItem ** | ppItems, | |
| int * | cItems | |||
| ) | [static] |
Definition at line 1557 of file DownloadsWnd.cpp.
References L_DLGROUPS, L_DLINFO, LS, CDownloads_Downloads::m_bShowDLInfo, m_bShowGroups, m_wndDownloads, and wgMenuViewItem::pszName.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CDownloadsWnd::Plugin_GetMenuImages | ( | fsSetImage ** | ppImages, | |
| int * | pcImages | |||
| ) | [static] |
Definition at line 1538 of file DownloadsWnd.cpp.
References ID_DLDCREATE, ID_DLDDELETE, ID_DLDMOVEDOWN, ID_DLDMOVEUP, ID_DLDPROPERTIES, ID_DLDSTART, ID_DLDSTOP, and ID_DLDUNPACK.
Referenced by fsPluginMgr::LoadBuiltIn(), and CDownloads_Tasks::OnRClick().
| void CDownloadsWnd::Plugin_GetToolBarInfo | ( | wgTButtonInfo ** | ppButtons, | |
| int * | pcButtons | |||
| ) | [static] |
Definition at line 1578 of file DownloadsWnd.cpp.
References ID_DLDCREATE, ID_DLDMOVEDOWN, ID_DLDMOVEUP, ID_DLDSCHEDULE, ID_DLDSTART, ID_DLDSTOP, L_MOVEDLDDOWN, L_MOVEDLDUP, L_NEWDLD, L_SCHEDULEDLDS, L_STARTDLDS, L_STOPDLDS, LS, and wgTButtonInfo::pszToolTip.
Referenced by fsPluginMgr::LoadBuiltIn().
| HWND CDownloadsWnd::Plugin_CreateMainWindow | ( | HWND | hParent | ) | [static] |
Definition at line 1529 of file DownloadsWnd.cpp.
References Create(), and fsnew1.
Referenced by fsPluginMgr::LoadBuiltIn().
| void CDownloadsWnd::DeleteDownload | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bByUser | |||
| ) |
Definition at line 1496 of file DownloadsWnd.cpp.
References DeleteDownloads(), and FALSE.
Referenced by fsWebPageDownloader::OnDldRedirected(), and CSpiderTaskTree::OnDontdownloadanddel().
| void CDownloadsWnd::OnDownloadsGroupChanged | ( | ) |
Definition at line 1490 of file DownloadsWnd.cpp.
References ApplyCurrentFilter(), DFT_GROUP, and GetCurrentFilter().
Referenced by CWPDS_GeneralPage::OnApply(), OnBtDownloadProperties(), and OnDownloadProperties().
| void CDownloadsWnd::UpdateDownload | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bWithFile = FALSE | |||
| ) |
Definition at line 1485 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::UpdateDownload().
Referenced by CDownloadProperties_GeneralPage::OnApply(), CBtDld_General::OnApply(), CFVDownloads_Tasks::OnFvdldStop(), fsWebPageDownloader::SetAutoStartDownloading(), fsWebPageDownloader::StopDownloading(), and fsScheduleMgr::UpdateTaskDownloads().
| void CDownloadsWnd::OnNewGroupCreated | ( | vmsDownloadsGroupSmartPtr | pGroup | ) |
Definition at line 1480 of file DownloadsWnd.cpp.
References m_wndGroups, and CDownloads_Groups::OnNewGroupCreated().
Referenced by CGroupDlg::OnOK().
| void CDownloadsWnd::CreateDownload | ( | vmsDownloadSmartPtr | dld, | |
| struct fsSchedule * | task = NULL, |
|||
| BOOL | bDontUseSounds = FALSE, |
|||
| bool | bPlaceToTop = false | |||
| ) |
Definition at line 1473 of file DownloadsWnd.cpp.
References CreateDownloads().
Referenced by CWGUrlReceiver::AddDownload_imp(), fsWebPageDownloader::AddWebPage(), fsUrlsToDownloadRegKeyMgr::CheckKey(), CreateBtDownloadFromFile(), CFlashVideoDownloadsWnd::CreateDownload(), CreateDownload(), fsIECatchMgr::OnBeforeNavigate(), OnDownloadCreate(), CFloatingWndDropTarget::OnDrop(), CHFE_FileList::OnHfeDownload(), CDlg_Unpack_InstAddPack::OnOK(), and CMainFrame::OnProceedFurherInitialization().
| void CDownloadsWnd::ShowAllGroups | ( | BOOL | bShow | ) |
Definition at line 1451 of file DownloadsWnd.cpp.
References _App, FALSE, m_bShowGroups, CDownloads_Groups::m_hAllGroups, m_splitter, m_wndGroups, CWndSplitter::m_wndSplitter, OnSize(), and fsAppSettings::View_AllGroups().
Referenced by OnCreate(), and OnShowAllGroups().
| void CDownloadsWnd::SaveAll | ( | BOOL | bWarnIfErr = FALSE |
) |
Definition at line 1350 of file DownloadsWnd.cpp.
References _App, _DldsGrps, _DldsMgr, _MediaConvertMgr, ASSERT, CDownloads_Tasks::m_bSizesInBytes, m_enDWWN, CDownloads_Downloads::m_tasks, m_wndDeleted, m_wndDownloads, m_wndGroups, m_wndHistory, fsDownloadsMgr::Save(), fsDownloadsMgr::SaveSettings(), CListCtrlEx::SaveState(), CDownloads_Downloads::SaveState(), vmsMediaConvertMgr::SaveState(), vmsDownloadsGroupsMgr::SaveToDisk(), fsAppSettings::View_DWWN(), fsAppSettings::View_SaveWndSize(), and fsAppSettings::View_SizesInBytes().
Referenced by OnAppExit(), and CMainFrame::OnSaveall().
| void CDownloadsWnd::CreateDownloads | ( | DLDS_LIST & | vDlds, | |
| struct fsSchedule * | task, | |||
| BOOL | bDontUseSounds = FALSE, |
|||
| bool | bPlaceToTop = false | |||
| ) |
Definition at line 1265 of file DownloadsWnd.cpp.
References _DldsMgr, _Snds, fsDownloadsMgr::Add(), CDownloads_Tasks::AddDownloadToList(), CShedulerWnd::AddTask(), CDownloads_Tasks::BeginAddDownloads(), BOOL, DLD_NOAUTOCHANGECURGRPFILTER, DLD_USEDBYHTMLSPIDER, CDownloads_Tasks::EndAddDownloads(), fsWhatToStart::enType, fsSoundsMgr::Event(), FALSE, fsnew1, fsDownloadsMgr::GetCount(), CDownloads_Groups::GetCurrentFilter(), fsDownloadsMgr::GetDownload(), fsDldFilter::IsSatisfies(), CDownloads_Tasks::LockList(), fsDownloadsMgr::LockList(), LOG, CDownloads_Downloads::m_tasks, m_wndDownloads, m_wndGroups, nl, NULL, fsDownloadsMgr::ProcessDownloads(), fsWhatToStart::pvIDs, CDownloads_Tasks::SelectDownload(), CDownloads_Groups::SetGroupFilter(), SME_DOWNLOADADDED, fsDownloadsMgr::UnlockList(), CDownloads_Tasks::UnlockList(), UpdateNumbersOfDownloadsInGroups(), fsSchedule::wts, and WTS_STARTDOWNLOAD.
Referenced by CCreateDownloadListDlg::AddDownloads(), CreateDownload(), CCreateBatchDownload::GenerateAndAddDownloads(), CMainFrame::ImportListOfDownloads_FromDLInfoListFile(), CMainFrame::ImportListOfDownloads_FromURLListFile(), CMainFrame::OnFileImportImportlistofdownloadsfromclipboard(), and CCreateDownloadsDlg::OnOK().
| void CDownloadsWnd::UpdateAllDownloads | ( | ) |
Definition at line 1255 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::UpdateAllDownloads().
Referenced by CShedulerWnd::OnCreate(), and CFVDownloads_Tasks::OnFvdldAutostart().
| void CDownloadsWnd::DeleteCompletedDownloadsInList | ( | ) |
Definition at line 1230 of file DownloadsWnd.cpp.
References DeleteDownloads(), FALSE, CDownloads_Tasks::GetItemData(), CDownloads_Downloads::m_tasks, m_wndDownloads, and TRUE.
Referenced by CDownloads_Groups::OnGrpdeleteallsuccessful().
| void CDownloadsWnd::DeleteDownloadsInList | ( | ) |
Definition at line 1200 of file DownloadsWnd.cpp.
References _App, fsAppSettings::Deleted_ConfirmDeletion(), DeleteDownloads(), FALSE, CDownloads_Tasks::GetItemData(), L_AREYOUSURE, L_CONFIRMATION, LS, m_bShowGroups, CDownloads_Downloads::m_tasks, m_wndDownloads, m_wndGroups, and TRUE.
Referenced by CDownloads_Groups::OnGrpdeleteall().
| void CDownloadsWnd::StopDownloadsInList | ( | ) |
Definition at line 1182 of file DownloadsWnd.cpp.
References _DldsMgr, CDownloads_Tasks::GetItemData(), CDownloads_Downloads::m_tasks, m_wndDownloads, fsDownloadsMgr::StopDownloads(), TRUE, and CDownloads_Tasks::UpdateDownload().
Referenced by CDownloads_Groups::OnGrpstopall().
| void CDownloadsWnd::StartDownloadsInList | ( | ) |
Definition at line 1167 of file DownloadsWnd.cpp.
References _DldsMgr, CDownloads_Tasks::GetItemData(), CDownloads_Downloads::m_tasks, m_wndDownloads, fsDownloadsMgr::StartDownloads(), and TRUE.
Referenced by CDownloads_Groups::OnGrpstartall().
| void CDownloadsWnd::UpdateTrayIconPlusOthers | ( | ) |
Definition at line 1374 of file DownloadsWnd.cpp.
References _App, _DldsMgr, _TrayMgr, BOOL, FALSE, fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), CMainFrame::IsFloatingInfoWindowVisible(), m_bDontUpdateTIPO, CMainFrame::ShowFloatingInfoWindow(), fsTrayIconMgr::ShowIcon(), TRAY_ICON_DOWNLOADING, TRAY_ICON_ERRORS, TRAY_ICON_NORMAL, TRAY_ICON_UNKNOWN, TRUE, and fsAppSettings::View_FloatingInfoWindow().
Referenced by _Events(), DeleteDownloads(), fsDownloadsMgr::DeleteDownloads2(), CDownloads_Tasks::DeleteSelected(), CPrg_GeneralPage::OnApply(), and CMainFrame::OnDlinfobox().
| BOOL CDownloadsWnd::CreateDownload | ( | LPCSTR | pszStartUrl, | |
| BOOL | bReqTopMostDialog = FALSE, |
|||
| LPCSTR | pszComment = NULL, |
|||
| LPCSTR | pszReferer = NULL, |
|||
| BOOL | bSilent = FALSE, |
|||
| DWORD | dwForceAutoLaunch = DWCD_NOFORCEAUTOLAUNCH, |
|||
| BOOL * | pbAutoStart = NULL, |
|||
| vmsDWCD_AdditionalParameters * | pParams = NULL, |
|||
| UINT * | pRes = NULL | |||
| ) |
Definition at line 957 of file DownloadsWnd.cpp.
References CCreateDownloadDlg::_CheckDownloadAlrExists(), _DldsMgr, _DlgMgr, _MediaConvertMgr, _pwndFVDownloads, CFlashVideoDownloadsWnd::AddDownload(), vmsMediaConvertMgr::AddTask(), AER_RENAME, BOOL, CreateDownload(), CreateDownloadWithDefSettings(), DLD_DELETEFILEATRESTART, DLD_DELETEWHENDONE, DLD_FLASH_VIDEO, DLD_MALICIOUS_DISABLE_CHECK, DLD_MF_AUTO_CONVERT, DLD_NOAUTOCHANGECURGRPFILTER, fsDialogsMgr::DoModal(), Download_CreateInstance(), DPF_STARTWHENDONE, DPF_STARTWHENDONE_NOCONF, DWCD_FORCEAUTOLAUNCH_NOCONF, DWCD_NOFORCEAUTOLAUNCH, DWCDAP_COOKIES, DWCDAP_FILENAME, DWCDAP_FLAGS, DWCDAP_GROUP, DWCDAP_MEDIA_CONVERT_SETTINGS, DWCDAP_POSTDATA, DWDCDAP_F_DELWHENDONE, DWDCDAP_F_DISABLEMALICIOUSCHECK, DWDCDAP_F_DONTCHECKURLALREADYEXISTS, DWDCDAP_F_FLASHVIDEODOWNLOAD, DWDCDAP_F_FORCEAUTOSTART, DWDCDAP_F_IGNOREALLRESTRICTS, DWDCDAP_F_NO_UI, DWDCDAP_F_NOGRPAUTOCHANGE, DWDCDAP_F_PLACETOTOP, DWDCDAP_F_SAVETODESKTOP, DWDCDAP_F_SAVETOTEMPFLDR, DWDCDAP_F_SETFOCUSTOOKBTN, vmsDWCD_AdditionalParameters::dwFlags, vmsDWCD_AdditionalParameters::dwMask, FALSE, ID_DLNOTADDED, fsDownloadsMgr::IsSuchUrlExistsAlready(), LOG, LPSTR, CCreateDownloadDlg::m_bPlaceAtTop, CCreateDownloadDlg::m_bReqTopMostDialog, CCreateDownloadDlg::m_bScheduled, CCreateDownloadDlg::m_bSetFocusToOKBtn, CCreateDownloadDlg::m_pGroup, CCreateDownloadDlg::m_pszCookies, CCreateDownloadDlg::m_pszPostData, CCreateDownloadDlg::m_task, MY_MAX_PATH, nl, NULL, vmsDWCD_AdditionalParameters::pGroup, fsDownload_Properties::pszFileName, SAFE_DELETE_ARRAY, vmsDWCD_AdditionalParameters::stgsMediaConvert, vmsDWCD_AdditionalParameters::strCookies, vmsDWCD_AdditionalParameters::strFileName, vmsDWCD_AdditionalParameters::strPostData, and TRUE.
| void CDownloadsWnd::OnDownloadCreate | ( | ) |
Definition at line 238 of file DownloadsWnd.cpp.
References CreateDownload(), and NULL.
Referenced by CMainFrame::OnDldCreate(), and CDownloads_Tasks::OnDldcreate().
| void CDownloadsWnd::OnOptimizationWizard | ( | ) |
Definition at line 883 of file DownloadsWnd.cpp.
References _DlgMgr, ApplyConnectionType(), CNOWDlg::m_enCT, fsDialogsMgr::OnDoModal(), and fsDialogsMgr::OnEndDialog().
Referenced by CMainFrame::OnOptmaster().
| fsTUM CDownloadsWnd::GetTUM | ( | ) |
Definition at line 878 of file DownloadsWnd.cpp.
References _DldsMgr, and fsDownloadsMgr::GetTUM().
Referenced by CMainFrame::OnTumHeavy(), CMainFrame::OnTumLight(), CMainFrame::OnTumMedium(), CMainFrame::OnUpdateTumHeavy(), CMainFrame::OnUpdateTumLight(), and CMainFrame::OnUpdateTumMedium().
| void CDownloadsWnd::SetTUM | ( | fsTUM | tum | ) |
Definition at line 873 of file DownloadsWnd.cpp.
References _DldsMgr, and fsDownloadsMgr::SetTUM().
Referenced by CMainFrame::OnTumHeavy(), CMainFrame::OnTumLight(), CMainFrame::OnTumMedium(), and fsScheduleMgr::StartTask().
| void CDownloadsWnd::OnDownloaderProperties | ( | ) |
Definition at line 861 of file DownloadsWnd.cpp.
References _DldsMgr, _DlgMgr, CDownloaderPropertiesSheet::Init(), L_DLDR_OPTIONS, LS, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), fsDownloadsMgr::ProcessDownloads(), and fsDownloadsMgr::SaveSettings().
Referenced by CMainFrame::OnDldroptions().
| void CDownloadsWnd::OnDownloadDefProperties | ( | ) |
Definition at line 777 of file DownloadsWnd.cpp.
References _App, _DlgMgr, fsAppSettings::AccDeniedReaction(), fsAppSettings::AdditionalExtension(), fsDownload_Properties::aEP, fsAppSettings::Agent(), fsAppSettings::AlreadyExistReaction(), fsAppSettings::ASCIIExts(), fsDownload_Properties::bCheckIntegrityWhenDone, fsDownload_Properties::bIgnoreRestrictions, fsDownload_Properties::bReserveDiskSpace, fsDownload_Properties::bRestartSpeedLow, fsDownload_NetworkProperties::bUseCookie, fsDownload_NetworkProperties::bUseHttp11, vmsObjectSmartPtr< T >::CreateInstance(), DFE_ACCDENIED, DFE_NOTFOUND, fsAppSettings::DNPFlags(), fsAppSettings::Download_CheckIntegrityWhenDone(), fsAppSettings::Download_CreateExt(), fsAppSettings::Download_IntegrityCheckFailedReaction(), fsAppSettings::DownloadFlags(), DPS_SHP_NOGENERALNOMIRR, fsDownload_NetworkProperties::dwFlags, fsDownload_Properties::dwFlags, fsDownload_NetworkProperties::dwFtpFlags, fsDownload_NetworkProperties::enAccType, fsDownload_Properties::enAER, fsDownload_NetworkProperties::enFtpTransferType, fsDownload_Properties::enICFR, fsDownload_Properties::enSCR, fsAppSettings::FtpFlags(), fsAppSettings::FtpProxy_Name(), fsAppSettings::FtpProxy_Password(), fsAppSettings::FtpProxy_UserName(), fsAppSettings::FtpTransferType(), fsAppSettings::HttpProxy_Name(), fsAppSettings::HttpProxy_Password(), fsAppSettings::HttpProxy_UserName(), fsAppSettings::HttpsProxy_Name(), fsAppSettings::HttpsProxy_Password(), fsAppSettings::HttpsProxy_UserName(), fsAppSettings::IgnoreRestrictions(), CDownloadPropertiesSheet::Init(), fsAppSettings::InternetAccessType(), L_DLDDEFOPT, fsAppSettings::LowSpeed_Duration(), fsAppSettings::LowSpeed_Factor(), LS, fsAppSettings::MaxAttempts(), fsAppSettings::MaxSections(), fsAppSettings::NotFoundReaction(), fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), fsDownload_Properties::pszAdditionalExt, fsDownload_NetworkProperties::pszAgent, fsDownload_NetworkProperties::pszASCIIExts, fsDownload_Properties::pszCreateExt, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszProxyName, fsDownload_NetworkProperties::pszProxyPassword, fsDownload_NetworkProperties::pszProxyUserName, fsDownload_NetworkProperties::pszReferer, fsDownload_NetworkProperties::pszUserName, fsAppSettings::Referer(), fsAppSettings::ReserveDiskSpace(), fsAppSettings::RestartSpeedLow(), fsAppSettings::RetriesTime(), fsAppSettings::RollBackSize(), fsAppSettings::SectionMinSize(), fsAppSettings::SizeChangeReaction(), fsAppSettings::Timeout(), fsAppSettings::TrafficRestriction(), fsDownload_Properties::uMaxAttempts, fsDownload_Properties::uMaxSections, fsDownload_Properties::uRetriesTime, fsAppSettings::UseCookie(), fsDownload_Properties::uSectionMinSize, fsAppSettings::UseHttp11(), fsAppSettings::UserName(), fsAppSettings::UserPassword(), fsDownload_Properties::uTimeout, fsDownload_Properties::uTrafficRestriction, fsDownload_NetworkProperties::wLowSpeed_Duration, fsDownload_NetworkProperties::wLowSpeed_Factor, and fsDownload_NetworkProperties::wRollBackSize.
Referenced by CDownloaderProperties_NewDownloadPage::OnAdvanced(), and CMainFrame::OnDlddefoptions().
| BOOL CDownloadsWnd::DeleteGroup | ( | vmsDownloadsGroupSmartPtr | pGroup | ) |
Definition at line 427 of file DownloadsWnd.cpp.
References _DldsGrps, _DldsMgr, _SitesMgr, fsSitesMgr::CheckGroups(), vmsDownloadsGroupsMgr::DeleteGroup(), fsDownloadsMgr::DeleteGroupsDownloads(), FALSE, vmsDownloadsGroupsMgr::GetGroupWithSubgroups(), GRP_OTHER_ID, L_AREYOUSURE, L_CONFIRMATION, L_THISDELGRPDLDS, LS, and TRUE.
Referenced by CDownloads_Groups::OnGrpdelete().
| void CDownloadsWnd::OnDownloadProperties | ( | DLDS_LIST & | vDlds, | |
| CWnd * | pwndParent = NULL | |||
| ) |
Definition at line 306 of file DownloadsWnd.cpp.
References _DldsMgr, _DlgMgr, ASSERT, DPS_SHP_ALL, L_DLDPROP, LS, NULL, fsDialogsMgr::OnDoModal(), OnDownloadsGroupChanged(), fsDialogsMgr::OnEndDialog(), and fsDownloadsMgr::ProcessDownloads().
Referenced by CDownloads_Tasks::OnDldproperties(), and CFVDownloads_Tasks::ShowSelectedDldsProperties().
| void CDownloadsWnd::SetActiveDownload | ( | vmsDownloadSmartPtr | dld | ) |
Definition at line 298 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_info, m_wndDownloads, and CDownloads_Info::Set_ActiveDownload().
Referenced by CDownloads_Tasks::OnDeleteAllItems(), CDownloads_Tasks::OnDeleteItem(), and CDownloads_Tasks::UpdateActiveDownload().
| BOOL CDownloadsWnd::Create | ( | CWnd * | pParent | ) |
Definition at line 129 of file DownloadsWnd.cpp.
References _DldsMgr, FALSE, fsDownloadsMgr::Initialize(), NULL, and TRUE.
Referenced by Plugin_CreateMainWindow().
| LRESULT CDownloadsWnd::OnDldConvertMedia | ( | WPARAM | wp, | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 2364 of file DownloadsWnd.cpp.
References _MediaConvertMgr, and vmsMediaConvertMgr::ConvertMediaFile().
| void CDownloadsWnd::OnDldHasOpinions | ( | vmsDownloadSmartPtr | dld | ) | [protected] |
Definition at line 2163 of file DownloadsWnd.cpp.
References ASSERT, DLD_HASOPINIONS_NO, DLD_HASOPINIONS_YES, CDownloads_Info::Get_ActiveDownload(), CDownloads_Downloads::m_info, CDownloads_Info::m_opinions, m_wndDownloads, and CDownloads_Opinions::UpdateContent().
Referenced by _Events(), and _threadCheckDldHasOpinions().
| DWORD WINAPI CDownloadsWnd::_threadCheckDldHasOpinions | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 2118 of file DownloadsWnd.cpp.
References DLD_HASOPINIONS_NO, DLD_HASOPINIONS_YES, vmsSimpleFileDownloader::Download(), vmsMaliciousDownloadChecker::EncodeUrl(), FALSE, CDownloads_Info::Get_ActiveDownload(), vmsSimpleFileDownloader::GetLastError(), IR_SUCCESS, vmsSimpleFileDownloader::IsRunning(), m_bExiting, m_cCheckDldHasOpinionsThreads, CDownloads_Downloads::m_info, m_wndDownloads, MY_MAX_PATH, NULL, and OnDldHasOpinions().
Referenced by CheckDldHasOpinions().
| LRESULT CDownloadsWnd::OnDldShowOpinions | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 2104 of file DownloadsWnd.cpp.
References _DlgMgr, fsDialogsMgr::DoModal(), vmsMaliciousDownloadChecker::EncodeUrl(), IDC_ABORT, and CDlg_Opinions::m_pszUrl.
| LRESULT CDownloadsWnd::OnDWUpdateDldDialog | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 2063 of file DownloadsWnd.cpp.
References IDC_AUTOCLOSE, and OnDWCloseDldDialog().
| LRESULT CDownloadsWnd::OnDWCloseDldDialog | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 2051 of file DownloadsWnd.cpp.
References SAFE_DELETE.
Referenced by OnDWUpdateDldDialog().
| LRESULT CDownloadsWnd::OnDWCreateDldDialog | ( | WPARAM | wp, | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 2026 of file DownloadsWnd.cpp.
References _App, DLD_BATCH, DLD_DONTSHOWDIALOG, DLD_USEDBYHTMLSPIDER, fsAppSettings::DownloadDialog_Use(), and FALSE.
| LRESULT CDownloadsWnd::OnInsert | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 1762 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldcreate().
| DWORD WINAPI CDownloadsWnd::_threadFilterDownloads | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 1747 of file DownloadsWnd.cpp.
References ProcWaitInfo::bWaitDone, FilterDownloads2(), simple_client::info, ProcWaitInfo::iProgress, ProcWaitInfo::lpParam1, ProcWaitInfo::lpParam2, and TRUE.
| void CDownloadsWnd::FilterDownloads2 | ( | fsDldFilter * | filter, | |
| int * | pProgress = NULL | |||
| ) | [protected] |
Definition at line 1699 of file DownloadsWnd.cpp.
References _DldsMgr, CDownloads_Tasks::AddDownloadToList(), CDownloads_Tasks::BeginAddDownloads(), CDownloads_Tasks::DeleteAllItems(), CDownloads_Tasks::EndAddDownloads(), FALSE, fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), fsDownloadsMgr::IsDeletingNow(), fsDldFilter::IsSatisfies(), CDownloads_Tasks::LockList(), CDownloads_Downloads::m_tasks, m_wndDownloads, NULL, CDownloads_Tasks::SelectDownload(), and CDownloads_Tasks::UnlockList().
Referenced by _threadFilterDownloads(), and FilterDownloads().
| void CDownloadsWnd::OnDLListShowCol | ( | UINT | uCmd | ) | [protected] |
Definition at line 1666 of file DownloadsWnd.cpp.
References CListCtrlEx::ChangeColumnVisibility(), ID_DLLIST_1, CDownloads_Downloads::m_tasks, and m_wndDownloads.
| void CDownloadsWnd::OnDLLogShowCol | ( | UINT | nCmd | ) | [protected] |
Definition at line 1672 of file DownloadsWnd.cpp.
References CListCtrlEx::ChangeColumnVisibility(), CDownloads_Info::Get_LogWindow(), ID_DLOG_1, CDownloads_Downloads::m_info, and m_wndDownloads.
| void CDownloadsWnd::UpdateDLLogColMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 1650 of file DownloadsWnd.cpp.
References BOOL, FALSE, CDownloads_Info::Get_LogWindow(), ID_DLOG_1, CListCtrlEx::IsColumnShown(), CDownloads_Downloads::m_info, and m_wndDownloads.
Referenced by OnUpdateMenuView().
| void CDownloadsWnd::UpdateDLListColMenu | ( | CMenu * | menu | ) | [protected] |
Definition at line 1636 of file DownloadsWnd.cpp.
References BOOL, FALSE, ID_DLLIST_1, CListCtrlEx::IsColumnShown(), CDownloads_Downloads::m_tasks, and m_wndDownloads.
Referenced by OnUpdateMenuView().
| LRESULT CDownloadsWnd::OnUpdateMenuView | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 1628 of file DownloadsWnd.cpp.
References UpdateDLListColMenu(), and UpdateDLLogColMenu().
| void CDownloadsWnd::ApplyLanguageToMenuView | ( | CMenu * | menu | ) | [protected] |
Definition at line 1613 of file DownloadsWnd.cpp.
References ID_DLLIST_1, ID_DLLIST_2, ID_DLLIST_3, ID_DLLIST_4, ID_DLLIST_5, ID_DLLIST_6, ID_DLLIST_7, ID_DLLIST_8, ID_DLOG_1, ID_DLOG_2, ID_DLOG_3, L_ADDED, L_COMMENT, L_DATE, L_DOWNLOADED, L_FILENAME, L_INFORMATION, L_LISTOFDLDS, L_LOG, L_SECTIONS, L_SIZE, L_SPEED, L_TIME, L_TIMELEFT, and LS.
Referenced by Plugin_SetLanguage().
| void CDownloadsWnd::OnShowDownloadingInfo | ( | ) | [protected] |
Definition at line 1468 of file DownloadsWnd.cpp.
References FALSE, CDownloads_Downloads::m_bShowDLInfo, m_wndDownloads, and CDownloads_Downloads::ShowDLInfo().
| void CDownloadsWnd::OnShowAllGroups | ( | ) | [protected] |
Definition at line 1446 of file DownloadsWnd.cpp.
References FALSE, m_bShowGroups, and ShowAllGroups().
| LRESULT CDownloadsWnd::OnUpdateToolBar | ( | WPARAM | wp, | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 1369 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnUpdateToolBar().
| LRESULT CDownloadsWnd::OnUpdateMenu | ( | WPARAM | , | |
| LPARAM | lp | |||
| ) | [protected] |
Definition at line 918 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::UpdateMenu().
| LRESULT CDownloadsWnd::OnAppQueryExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 912 of file DownloadsWnd.cpp.
| void CDownloadsWnd::ApplyConnectionType | ( | enum fsConnectionType | enCT | ) | [protected] |
Definition at line 900 of file DownloadsWnd.cpp.
References _DldsMgr, and fsDownloadsMgr::ApplyConnectionType().
Referenced by OnOptimizationWizard().
| DWORD CDownloadsWnd::_Events | ( | fsDownload * | dld, | |
| fsDownloadsMgrEvent | ev, | |||
| LPVOID | lp | |||
| ) | [static, protected] |
Definition at line 455 of file DownloadsWnd.cpp.
References _App, _pwndFVDownloads, _Snds, CDownloads_Deleted::AddDownload(), CDownloads_Info::AddDownloadEvent(), CDownloads_Tasks::AddDownloadToList(), CDownloads_History::AddRecord(), vmsObject::AddRef(), ApplyCurrentFilter(), CDownloads_Groups::ApplyNotGroupFilterForDownload(), ASSERT, BOOL, CheckDldHasOpinions(), fsAppSettings::Community_DisplayOpinionsAtDlding(), fsAppSettings::Community_SwitchToOpinions(), CDownloads_History::DeleteAllRecords(), CDownloads_History::DeleteRecord(), DIT_MEDIAPREVIEW, DIT_OPINIONS, DLD_BATCH, DLD_FLASH_VIDEO, DLD_HASOPINIONS_NO, DLD_HASOPINIONS_YES, DLD_NOTIFICATIONS_LL, DME_BEGINDELETEMANYDOWNLOADS, DME_BTDLD_STAT_CHANGED, DME_CLOSEDLDDIALOG, DME_CREATEDLDDIALOG, DME_DLDADDEDTODELETED, DME_DLDAUTODELETED, DME_DLDREMOVEDFROMDELETED, DME_DLDRESTORED, DME_DLDSAUTOSTARTMDFD, DME_DLDWILLBEFULLYDELETED, DME_DLMGRTHREADSTARTING, DME_DOWNLOAD_STATE_CHANGED, DME_DOWNLOADEREVENTRECEIVED, DME_DOWNLOADFILEWILLBEDELETED, DME_DOWNLOADSTOPPEDORDONE, DME_DOWNLOADWASDELETEDFROMLIST, DME_DOWNLOADWILLBEDELETED, DME_ENDDELETEMANYDOWNLOADS, DME_EVENTDESCRIPRIONRECEIVED, DME_FILEUPDATED, DME_HISTORYCLEARED, DME_NOACTIVEDOWNLOADS, DME_RECADDEDTOHISTORY, DME_RECDELETEDFROMHISTORY, DME_RECYCLEBINCONTENTCHANGED, DME_REDIRECTED, DME_SECTIONDOWNLOADING, DME_SECTIONSTARTED, DME_UPDATEDLDDIALOG, fsDownload::dwFlags, EV_NODOWNLOADS, fsSoundsMgr::Event(), fsScheduleMgr::ExciteEvent(), FALSE, CDownloads_Info::Get_ActiveDownload(), CDownloads_Info::get_CurTab(), CDownloads_Tasks::GetActiveDownload(), CDownloads_Groups::GetCurrentFilter(), CDownloads_Tasks::GetFileName(), CDownloads_Groups::GetHistoryCurrentFilter(), CSpiderWnd::GetMgr(), CShedulerWnd::GetMgr(), IsMediaDownload(), fsDldHistRecFilter::IsSatisfies(), fsDldFilter::IsSatisfies(), L_DONE, L_STOPPED, L_WAITING, LOG, LS, m_bDeletingManyDownloads, m_bExiting, CDownloads_Downloads::m_info, CDownloads_Info::m_opinions, CDownloads_Downloads::m_tasks, CDownloads_Info::m_video, CDownloads_VideoPreview::m_vidman, m_wndDeleted, m_wndDownloads, m_wndGroups, m_wndHistory, CFlashVideoDownloadsWnd::m_wndPreview, CFlashVideoDownloadsWnd::m_wndTasks, MY_MAX_PATH, nl, fsAppSettings::Notif_DisableForBatchDownloads(), NULL, OnDldHasOpinions(), fsWebPageDownloadsMgr::OnDownloadRestored(), PRG_NAME, CDownloads_Deleted::RemoveDownload(), CDownloads_Info::set_CurTab(), CMainFrame::ShowTimeoutBalloon(), SME_DOWNLOADCOMPLETE, SME_DOWNLOADFAILED, SME_NOACTIVEDOWNLOADS, CDownloads_VideoPreview::Stop(), TRUE, CDlgVidMan::Update(), CDownloads_Tasks::UpdateActiveDownload(), CDownloads_Info::UpdateBtStat(), CDownloads_Opinions::UpdateContent(), CDownloads_Groups::UpdateDeletedIcon(), CFVDownloads_Tasks::UpdateDownload(), CDownloads_Tasks::UpdateDownload(), UpdateTrayIconPlusOthers(), fsDownload::vEvents, fsAppSettings::View_AutoSwitchToMediaPreview(), CFVDownloads_Tasks::WillBeDeleted(), CDownloads_Tasks::WillBeDeleted(), WM_DW_CLOSEDLDDIALOG, WM_DW_CREATEDLDDIALOG, and WM_DW_UPDATEDLDDIALOG.
Referenced by CDownloadsWnd().
| LRESULT CDownloadsWnd::OnAppExit | ( | WPARAM | , | |
| LPARAM | ||||
| ) | [protected] |
Definition at line 355 of file DownloadsWnd.cpp.
References _DldsMgr, _IECatchMgr, fsDownloadsMgr::AllowStartNewDownloads(), fsIECatchMgr::Detach(), FALSE, fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), LOG, m_bExiting, m_cCheckDldHasOpinionsThreads, nl, NULL, SaveAll(), TRUE, and WM_DW_CLOSEDLDDIALOG.
| BOOL CDownloadsWnd::LoadDownloads | ( | ) | [protected] |
Definition at line 329 of file DownloadsWnd.cpp.
References _DldsMgr, _MediaConvertMgr, CDownloads_Deleted::AddDownload(), FALSE, fsDownloadsMgr::Get_DeletedDownload(), fsDownloadsMgr::Get_DeletedDownloadCount(), fsDownloadsMgr::LoadDownloads(), vmsMediaConvertMgr::LoadState(), LOG, m_wndDeleted, m_wndGroups, nl, TRUE, and CDownloads_Groups::UpdateDeletedIcon().
Referenced by OnCreate().
| int CDownloadsWnd::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 142 of file DownloadsWnd.cpp.
References _App, _DldsGrps, ApplyDWWN(), CWndSplitter::Create(), CDownloads_Groups::Create(), CDownloads_Deleted::Create(), CDownloads_History::Create(), CDownloads_Downloads::Create(), DWWN_LISTOFDOWNLOADS, FALSE, L_ERR, L_ERRLOADGRPS, LoadDownloads(), vmsDownloadsGroupsMgr::LoadFromDisk(), LOG, LS, m_bShowGroups, CDownloads_Tasks::m_bSizesInBytes, m_enDWWN, m_splitter, CDownloads_Downloads::m_tasks, m_wndDeleted, m_wndDownloads, m_wndGroups, m_wndHistory, nl, NULL, CWndSplitter::SetWnd1(), ShowAllGroups(), TRUE, UpdateNumbersOfDownloadsInGroups(), fsAppSettings::View_AllGroups(), fsAppSettings::View_ReadWndSize(), and fsAppSettings::View_SizesInBytes().
| void CDownloadsWnd::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
Definition at line 217 of file DownloadsWnd.cpp.
References CWndSplitter::ApplyRatio(), m_bShowGroups, m_splitter, m_wndDeleted, m_wndDownloads, m_wndHistory, CWndSplitter::RecalRatio(), and TRUE.
Referenced by ShowAllGroups().
| void CDownloadsWnd::OnTimer | ( | UINT | nIDEvent | ) | [protected] |
Definition at line 243 of file DownloadsWnd.cpp.
References _DldsMgr, _pwndFVDownloads, DLD_FLASH_VIDEO, FALSE, CDownloads_Info::Get_ActiveDownload(), fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), CDownloads_Info::m_bt, CDownloads_Bittorrent::m_files, CDownloads_Bittorrent::m_general, CDownloads_Downloads::m_info, CDownloads_Downloads::m_tasks, m_uTotalSpeed, CDownloads_Info::m_video, CDownloads_VideoPreview::m_vidman, m_vUploadDownloads, m_wndDownloads, CFlashVideoDownloadsWnd::m_wndTasks, CDlgVidMan::Update(), CDownloads_Info::UpdateActiveDownload(), CFVDownloads_Tasks::UpdateDownload(), CDownloads_Tasks::UpdateDownload(), CDownloads_Bittorrent::UpdatePeersStat(), CDownloads_Bittorrent_Files::UpdateProgress(), CDownloads_Bittorrent_General::UpdateUploadStat(), and CDownloads_Bittorrent_General::UpdateWastedStat().
| void CDownloadsWnd::OnDestroy | ( | ) | [protected] |
Definition at line 905 of file DownloadsWnd.cpp.
Referenced by CDownloadsGroupsComboBox::OnDestroy().
| void CDownloadsWnd::OnDlddelete | ( | ) | [protected] |
Definition at line 927 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDlddelete().
| void CDownloadsWnd::OnDldlaunch | ( | ) | [protected] |
Definition at line 932 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldlaunch().
| void CDownloadsWnd::OnDldopenfolder | ( | ) | [protected] |
Definition at line 937 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldopenfolder().
| void CDownloadsWnd::OnDldproperties | ( | ) | [protected] |
Definition at line 942 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldproperties().
| void CDownloadsWnd::OnDldstart | ( | ) | [protected] |
Definition at line 947 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldstart().
| void CDownloadsWnd::OnDldstop | ( | ) | [protected] |
Definition at line 952 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldstop().
| void CDownloadsWnd::OnDldschedule | ( | ) | [protected] |
Definition at line 1250 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldschedule().
| void CDownloadsWnd::OnDldautostart | ( | ) | [protected] |
Definition at line 1260 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldautostart().
| void CDownloadsWnd::OnSetFocus | ( | CWnd * | pOldWnd | ) | [protected] |
Definition at line 1503 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, and m_wndDownloads.
Referenced by CDownloadsGroupsComboBox::OnSetFocus().
| void CDownloadsWnd::OnDldaddsection | ( | ) | [protected] |
Definition at line 1509 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldaddsection().
| void CDownloadsWnd::OnDlddelsection | ( | ) | [protected] |
Definition at line 1514 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDlddelsection().
| void CDownloadsWnd::OnDldrestart | ( | ) | [protected] |
Definition at line 1519 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldrestart().
| void CDownloadsWnd::OnDldqsize | ( | ) | [protected] |
Definition at line 1524 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldqsize().
| void CDownloadsWnd::OnDldcreatebatch | ( | ) | [protected] |
Definition at line 1757 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldcreatebatch().
Referenced by CMainFrame::OnDldCreatebatch().
| BOOL CDownloadsWnd::OnEraseBkgnd | ( | CDC * | pDC | ) | [protected] |
Definition at line 1967 of file DownloadsWnd.cpp.
References fsPartMediaPlayer::Get_State(), CDownloads_Downloads::m_info, CVideoWindow::m_player, CDownloads_Info::m_video, m_wndDownloads, CDownloads_VideoPreview::m_wndVideo, and VFPS_CLOSED.
| void CDownloadsWnd::OnDldcheckvir | ( | ) | [protected] |
Definition at line 1982 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldcheckvir().
| void CDownloadsWnd::OnDldfind | ( | ) | [protected] |
Definition at line 1987 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldfind().
| void CDownloadsWnd::OnDldfindnext | ( | ) | [protected] |
Definition at line 1992 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldfindnext().
| void CDownloadsWnd::OnDldunpack | ( | ) | [protected] |
Definition at line 2079 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldunpack().
| void CDownloadsWnd::OnDldmovedown | ( | ) | [protected] |
Definition at line 2089 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldmovedown().
| void CDownloadsWnd::OnDldmoveup | ( | ) | [protected] |
Definition at line 2094 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldmoveup().
| void CDownloadsWnd::OnDldcheckintegrity | ( | ) | [protected] |
Definition at line 2099 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldcheckintegrity().
| void CDownloadsWnd::OnDldmovetofolder | ( | ) | [protected] |
Definition at line 2183 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldmovetofolder().
| void CDownloadsWnd::OnDldmovebottom | ( | ) | [protected] |
Definition at line 2188 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldmovebottom().
| void CDownloadsWnd::OnDldmovetop | ( | ) | [protected] |
Definition at line 2193 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldmovetop().
| void CDownloadsWnd::OnDldschedulestop | ( | ) | [protected] |
Definition at line 2198 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldschedulestop().
| void CDownloadsWnd::OnDldgrantbandwidthfordld | ( | ) | [protected] |
Definition at line 2311 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldgrantbandwidthfordld().
| void CDownloadsWnd::OnDldshowprogressdlg | ( | ) | [protected] |
Definition at line 2316 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldshowprogressdlg().
| void CDownloadsWnd::OnDldconvert | ( | ) | [protected] |
Definition at line 2374 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldconvert().
| void CDownloadsWnd::OnDldenableseeding | ( | ) | [protected] |
Definition at line 2399 of file DownloadsWnd.cpp.
References CDownloads_Downloads::m_tasks, m_wndDownloads, and CDownloads_Tasks::OnDldenableseeding().
friend class CDownloads_Groups [friend] |
Definition at line 91 of file DownloadsWnd.h.
friend class CDownloads_Tasks [friend] |
Definition at line 92 of file DownloadsWnd.h.
friend class CDownloaderProperties_MonitorPage [friend] |
Definition at line 93 of file DownloadsWnd.h.
friend class CDownloaderProperties_ListPage [friend] |
Definition at line 94 of file DownloadsWnd.h.
friend class CDlgExportDownloads [friend] |
Definition at line 95 of file DownloadsWnd.h.
friend class CMainFrame [friend] |
Definition at line 96 of file DownloadsWnd.h.
Definition at line 133 of file DownloadsWnd.h.
Referenced by _Events(), _threadCheckDldHasOpinions(), ApplyDWWN(), CDownloads_Groups::ApplyNotGroupFilterForDownload(), CDownloadsWnd(), CreateDownloads(), DeleteCompletedDownloadsInList(), DeleteDeadDownloadsInList(), DeleteDownloads(), DeleteDownloadsInList(), CDlgExportDownloads::ExportDownloads(), FilterDownloads(), FilterDownloads2(), IsSizesInBytes(), CDownloaderProperties_ListPage::OnApply(), OnCreate(), OnDldaddsection(), OnDldautostart(), OnDldcheckintegrity(), OnDldcheckvir(), OnDldconvert(), CDownloads_Tasks::OnDldconvert(), OnDldcreatebatch(), OnDlddelete(), OnDlddelsection(), OnDldenableseeding(), OnDldfind(), OnDldfindnext(), OnDldgrantbandwidthfordld(), OnDldHasOpinions(), OnDldlaunch(), OnDldmovebottom(), OnDldmovedown(), OnDldmovetofolder(), OnDldmovetop(), OnDldmoveup(), OnDldopenfolder(), OnDldproperties(), OnDldqsize(), OnDldrestart(), OnDldschedule(), OnDldschedulestop(), OnDldshowprogressdlg(), OnDldstart(), OnDldstop(), OnDldunpack(), OnDLListShowCol(), OnDLLogShowCol(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), CPluginFrame2::OnEraseBkgnd(), CPlugFrame2Tabs::OnEraseBkgnd(), CMainFrame::OnEraseBkgnd(), OnEraseBkgnd(), CDownloads_InfoFrame::OnEraseBkgnd(), CClientAreaWnd::OnEraseBkgnd(), CChildView::OnEraseBkgnd(), CDownloaderProperties_ListPage::OnInitDialog(), OnInsert(), CDownloads_Groups::OnKeydown(), CDownloads_Opinions_WBEvents::OnNavigateError(), CDownloads_Tasks::OnRClick(), OnSetFocus(), OnShowDownloadingInfo(), OnSize(), OnTimer(), OnUpdateMenu(), OnUpdateToolBar(), CDownloads_Tasks::OnUpdateToolBar(), Plugin_GetMenuViewItems(), Plugin_SetLanguage(), RestartDownload(), SaveAll(), SelectDownload(), SetActiveDownload(), ShowDownloads(), StartDownloadsInList(), StopDownloadsInList(), UpdateAllDownloads(), UpdateDLListColMenu(), UpdateDLLogColMenu(), and UpdateDownload().
Definition at line 156 of file DownloadsWnd.h.
Referenced by _Events(), ApplyDWWN(), LoadDownloads(), OnCreate(), CDownloads_Groups::OnDeletedClear(), CDownloads_Deleted::OnDeletedDelete(), CDownloads_Deleted::OnDeletedRestore(), CDownloads_Groups::OnKeydown(), CDlgDeletedProperties::OnOK(), OnSize(), Plugin_SetLanguage(), SaveAll(), and SelectDeletedDownload().
Definition at line 161 of file DownloadsWnd.h.
Referenced by _Events(), ApplyDWWN(), ApplyHistoryCurrentFilter(), CDlgExportHistory::ExportHistory(), CDownloads_Groups::OnClick(), OnCreate(), CDownloads_Groups::OnKeydown(), CDlgDownloadsHistory::OnOK(), CDownloads_Groups::OnSelchanged(), OnSize(), Plugin_SetLanguage(), SaveAll(), and SelectHistRecord().
Definition at line 228 of file DownloadsWnd.h.
Referenced by _Events(), ApplyCurrentFilter(), ApplyHistoryCurrentFilter(), CDownloadsWnd(), CreateDownloads(), DeleteDownloadsInList(), GetCurrentFilter(), LoadDownloads(), OnCreate(), OnGroupNameChanged(), CDownloads_Tasks::OnKeyDown(), CDownloads_Deleted::OnKeyDown(), OnNewGroupCreated(), Plugin_SetLanguage(), SaveAll(), SelectDownload(), ShowAllDownloads(), ShowAllGroups(), ShowAllHistory(), ShowDeletedDownloads(), ShowDownloads(), and UpdateNumbersOfDownloadsInGroups().
Definition at line 232 of file DownloadsWnd.h.
Referenced by CDownloaderProperties_MonitorPage::OnApply(), CMainFrame::OnMonitorclipboard(), CMainFrame::OnProceedFurherInitialization(), and CMainFrame::UpdateSettings().
DLDS_LIST CDownloadsWnd::m_vUploadDownloads [protected] |
bool CDownloadsWnd::m_bDeletingManyDownloads [protected] |
UINT CDownloadsWnd::m_uTotalSpeed [protected] |
Definition at line 246 of file DownloadsWnd.h.
Referenced by CDownloadsWnd(), get_TotalSpeed(), and OnTimer().
BOOL CDownloadsWnd::m_bDontUpdateTIPO [protected] |
Definition at line 252 of file DownloadsWnd.h.
Referenced by CDownloadsWnd(), set_DontUpdateTIPO(), and UpdateTrayIconPlusOthers().
fsFindDownloadMgr CDownloadsWnd::m_finder [protected] |
Definition at line 254 of file DownloadsWnd.h.
Referenced by FindDownloads_FindNext(), FindDownloads_Start(), and IsFindNextAvail().
fsDLsWndWhatIsNow CDownloadsWnd::m_enDWWN [protected] |
Definition at line 256 of file DownloadsWnd.h.
Referenced by ApplyDWWN(), Get_DWWN(), OnCreate(), SaveAll(), and Set_DWWN().
BOOL CDownloadsWnd::m_bShowGroups [protected] |
Definition at line 278 of file DownloadsWnd.h.
Referenced by DeleteDownloadsInList(), OnCreate(), OnShowAllGroups(), OnSize(), Plugin_GetMenuViewItems(), and ShowAllGroups().
BOOL CDownloadsWnd::m_bExiting [protected] |
Definition at line 283 of file DownloadsWnd.h.
Referenced by _Events(), _threadCheckDldHasOpinions(), CDownloadsWnd(), and OnAppExit().
CWndSplitter CDownloadsWnd::m_splitter [protected] |
Definition at line 294 of file DownloadsWnd.h.
Referenced by ApplyDWWN(), OnCreate(), OnSize(), and ShowAllGroups().
long CDownloadsWnd::m_cCheckDldHasOpinionsThreads [protected] |
Definition at line 295 of file DownloadsWnd.h.
Referenced by _threadCheckDldHasOpinions(), CDownloadsWnd(), CheckDldHasOpinions(), and OnAppExit().
1.5.6