#include <CreateDownloadDlg.h>
Public Types | |
| enum | { IDD = IDD_CREATEDOWNLOAD } |
Public Member Functions | |
| CCreateDownloadDlg (vmsDownloadSmartPtr dld, LPCSTR pszStartUrl, LPCSTR pszComment, LPCSTR pszReferer, CWnd *pParent=NULL) | |
Static Public Member Functions | |
| static BOOL | _CheckFolderName (CDialog *pdlg, UINT nIdCtrl) |
| static BOOL | _CheckFileName (CDialog *pdlg, UINT nIdCtrl) |
| static BOOL | _SetDownloadOutputFolderAsDefault (CWnd *pwndParent, LPCSTR pszFolder, vmsDownloadsGroupSmartPtr pGroup) |
| static fsSiteInfo * | _SavePassword (vmsDownloadSmartPtr dld) |
| static fsSiteInfo * | _SavePassword (LPCSTR pszServer, fsNetworkProtocol np, LPCSTR pszUser, LPCSTR pszPwd) |
| static int | _CheckDownloadAlrExists (vmsDownloadSmartPtr dld, BOOL bNeedTopMost=FALSE, BOOL bShowUI=TRUE) |
Public Attributes | |
| LPCSTR | m_pszPostData |
| LPCSTR | m_pszCookies |
| bool | m_bPlaceAtTop |
| bool | m_bSetFocusToOKBtn |
| vmsDownloadsGroupSmartPtr | m_pGroup |
| BOOL | m_bReqTopMostDialog |
| fsSchedule | m_task |
| BOOL | m_bScheduled |
| BOOL | m_bAuthorization |
| CString | m_strUrl |
| CButton | m_btnOutFolderSetDefault |
| CComboBox | m_wndDldType |
| CButton | m_btnSetTime |
| CButton | m_btnCreateGroup |
| CButton | m_btnChooseFolder |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | PrepareCHMgr (CPoint point) |
| void | ReadAutostart () |
| void | ApplyLanguage () |
| void | OnChangeGroups () |
| void | UrlChanged () |
| void | Update_User_Password () |
| BOOL | ReadDNP () |
| void | WrongUserName () |
| void | WrongURL () |
| void | UpdateEnabled () |
| virtual void | OnOK () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnChangeSaveas () |
| afx_msg void | OnAuthorization () |
| afx_msg void | OnSelchangeGroups () |
| afx_msg void | OnStartnow () |
| afx_msg void | OnStartmanual () |
| afx_msg void | OnStartschedule () |
| afx_msg void | OnCreategroup () |
| afx_msg void | OnAdvanced () |
| afx_msg void | OnChoosefolder () |
| afx_msg void | OnSettime () |
| afx_msg void | OnEditchangeUrl () |
| afx_msg void | OnSelchangeUrl () |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg void | OnWhatisthis () |
| afx_msg void | OnChangeUser () |
| afx_msg void | OnChangePassword () |
| afx_msg BOOL | OnHelpInfo (HELPINFO *pHelpInfo) |
| afx_msg void | OnQsize () |
| virtual void | OnCancel () |
| afx_msg void | OnFileauto () |
| afx_msg void | OnMirrors () |
| afx_msg void | OnSelchangeDldtype () |
| afx_msg void | OnMalicious () |
| afx_msg void | OnOutfolderSetdefault () |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadQSize (LPVOID lp) |
Protected Attributes | |
| BOOL | m_bUrlChanged |
| CString | m_strReferer |
| CString | m_strComment |
| volatile BOOL | m_bNeedExit |
| volatile BOOL | m_bThread |
| int | m_iAutostart |
| BOOL | m_bGroupChanged |
| BOOL | m_bAuthChanged |
| CDownloadsGroupsComboBox | m_wndGroups |
| vmsDownloadSmartPtr | m_dld |
Definition at line 19 of file CreateDownloadDlg.h.
| anonymous enum |
| CCreateDownloadDlg::CCreateDownloadDlg | ( | vmsDownloadSmartPtr | dld, | |
| LPCSTR | pszStartUrl, | |||
| LPCSTR | pszComment, | |||
| LPCSTR | pszReferer, | |||
| CWnd * | pParent = NULL | |||
| ) |
Definition at line 35 of file CreateDownloadDlg.cpp.
References FALSE, LOG, m_bNeedExit, m_bPlaceAtTop, m_bScheduled, m_bSetFocusToOKBtn, m_bThread, m_iAutostart, m_pszCookies, m_pszPostData, m_strComment, m_strReferer, m_strUrl, nl, and NULL.
| BOOL CCreateDownloadDlg::_CheckFolderName | ( | CDialog * | pdlg, | |
| UINT | nIdCtrl | |||
| ) | [static] |
Definition at line 1206 of file CreateDownloadDlg.cpp.
References FALSE, L_INPERR, L_INVFOLDERNAME, LS, and TRUE.
Referenced by CDownloadProperties_GeneralPage::OnApply(), CSpiderAddPageDlg::OnOK(), CGroupDlg::OnOK(), CCreateDownloadsDlg::OnOK(), CCreateDownloadListDlg::OnOK(), CCreateDownloadFromTorrentFileDlg::OnOK(), OnOK(), and CCreateBatchDownload::OnOK().
| BOOL CCreateDownloadDlg::_CheckFileName | ( | CDialog * | pdlg, | |
| UINT | nIdCtrl | |||
| ) | [static] |
Definition at line 1191 of file CreateDownloadDlg.cpp.
References FALSE, L_INPERR, L_INVFILENAME, LS, and TRUE.
Referenced by OnOK().
| BOOL CCreateDownloadDlg::_SetDownloadOutputFolderAsDefault | ( | CWnd * | pwndParent, | |
| LPCSTR | pszFolder, | |||
| vmsDownloadsGroupSmartPtr | pGroup | |||
| ) | [static] |
Definition at line 1150 of file CreateDownloadDlg.cpp.
References _App, _DldsGrps, _DlgMgr, fsDialogsMgr::DoModal(), FALSE, vmsDownloadsGroupsMgr::GetGroup(), vmsDownloadsGroupsMgr::GetTotalCount(), IDC_BTN1, L_CONFIRMATION, L_NO, L_OKTOSETFOLDERASDEFFORGRP, L_SETASDEFFORALLGROUPS, L_YES, LS, CMyMessageBox::m_bChecked, CMyMessageBox::m_hIcon, CMyMessageBox::m_strBtn1Text, CMyMessageBox::m_strBtn2Text, CMyMessageBox::m_strCheckBoxText, CMyMessageBox::m_strText, CMyMessageBox::m_strTitle, NULL, TRUE, and fsAppSettings::View_SetOutputFolderAsDefForAllGrpsChecked().
Referenced by CSpiderAddPageDlg::OnOutfolderSetdefault(), CCreateDownloadsDlg::OnOutfolderSetdefault(), CCreateDownloadFromTorrentFileDlg::OnOutfolderSetdefault(), OnOutfolderSetdefault(), and CCreateBatchDownload::OnOutfolderSetdefault().
| fsSiteInfo * CCreateDownloadDlg::_SavePassword | ( | vmsDownloadSmartPtr | dld | ) | [static] |
Definition at line 1081 of file CreateDownloadDlg.cpp.
References _SitesMgr, fsDownload_NetworkProperties::dwFtpFlags, fsSiteInfo::dwFtpFlags, fsDownload_NetworkProperties::enProtocol, fsSiteInfo::pGroup, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, and fsSitesMgr::SiteUpdated().
Referenced by CSpiderAddPageDlg::OnOK(), OnOK(), and CCreateBatchDownload::OnOK().
| fsSiteInfo * CCreateDownloadDlg::_SavePassword | ( | LPCSTR | pszServer, | |
| fsNetworkProtocol | np, | |||
| LPCSTR | pszUser, | |||
| LPCSTR | pszPwd | |||
| ) | [static] |
Definition at line 1033 of file CreateDownloadDlg.cpp.
References _App, _DldsGrps, _DlgMgr, _SitesMgr, fsSitesMgr::AddSite(), fsSiteInfo::bTemp, fsSiteInfo::cConnsNow, fsSiteInfo::cMaxConns, fsDialogsMgr::DoModal(), fsSiteInfo::dwFtpFlags, fsSiteInfo::dwValidFor, FALSE, vmsDownloadsGroupsMgr::FindGroup(), fsSitesMgr::FindSite2(), fsNPToSiteValidFor(), FTP_USEPASSIVEMODE, fsSitesMgr::GetSite(), GRP_OTHER_ID, NULL, fsSiteInfo::pGroup, SITE_VALIDFOR_SUBDOMAINS, fsSitesMgr::SiteUpdated(), fsAppSettings::SM_KeepPasswords(), fsAppSettings::SM_PwdsManualAddition(), fsSiteInfo::strName, fsSiteInfo::strPassword, and fsSiteInfo::strUser.
| int CCreateDownloadDlg::_CheckDownloadAlrExists | ( | vmsDownloadSmartPtr | dld, | |
| BOOL | bNeedTopMost = FALSE, |
|||
| BOOL | bShowUI = TRUE | |||
| ) | [static] |
Definition at line 930 of file CreateDownloadDlg.cpp.
References _DldsMgr, _DlgMgr, fsDownload_NetworkProperties::enProtocol, FALSE, fsIsServersEqual(), fsDownloadsMgr::GetCount(), fsDownloadsMgr::GetDownload(), IDC_LAUNCH, IDC_RESTART, IDC_RESUME, CDownloadAlrExistsDlg::m_bNeedTopMost, CDownloadAlrExistsDlg::m_dld, NULL, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), fsDownload_NetworkProperties::pszPathName, fsDownload_NetworkProperties::pszServerName, fsDownload_NetworkProperties::pszUserName, CDownloadsWnd::RestartDownload(), SAFE_DELETE_ARRAY, ShellExecute, fsDownloadsMgr::StartDownloads(), TRUE, and fsDownload_NetworkProperties::uServerPort.
Referenced by CDownloadsWnd::CreateDownload(), CCreateDownloadListDlg::GenerateDownloads(), and OnOK().
| void CCreateDownloadDlg::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 57 of file CreateDownloadDlg.cpp.
References IDC_CHOOSEFOLDER, IDC_CREATEGROUP, IDC_DLDTYPE, IDC_GROUPS, IDC_OUTFOLDER_SETDEFAULT, IDC_SETTIME, m_btnChooseFolder, m_btnCreateGroup, m_btnOutFolderSetDefault, m_btnSetTime, m_wndDldType, and m_wndGroups.
| DWORD WINAPI CCreateDownloadDlg::_threadQSize | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 830 of file CreateDownloadDlg.cpp.
References BytesToXBytes(), FALSE, fsBytesToStr(), fsIRToStr(), IDC_QSIZE, IR_SUCCESS, CDownloadsWnd::IsSizesInBytes(), L_ERR, L_QUERYSIZE, L_UNKNOWN, LS, m_bNeedExit, m_bThread, m_dld, m_pszCookies, m_pszPostData, SAFE_DELETE_ARRAY, and TRUE.
Referenced by OnQsize().
| void CCreateDownloadDlg::PrepareCHMgr | ( | CPoint | point | ) | [protected] |
Definition at line 776 of file CreateDownloadDlg.cpp.
References _CHMgr, IDC__COMMENT, IDC__GROUP, IDC__PASSWORD, IDC__SAVEAS, IDC__SAVETO, IDC__URL, IDC__USER, IDC_ADVANCED, IDC_CHOOSEFOLDER, IDC_COMMENT, IDC_CREATEGROUP, IDC_FILEAUTO, IDC_GROUPS, IDC_MALICIOUS, IDC_MIRRORS, IDC_OUTFOLDER, IDC_PASSWORD, IDC_PLACEATTOP, IDC_QSIZE, IDC_SAVEAS, IDC_SETTIME, IDC_STARTMANUAL, IDC_STARTNOW, IDC_STARTSCHEDULE, IDC_URL, IDC_USELOGIN, IDC_USER, L_ACCEPTCHANGES, L_ADDROFFILE, L_ADVANCEDHERE, L_BROWSEFOR, L_CREATEGRP, L_DLDFOLDERHERE, L_DLDSHORTDESC, L_DONTACCEPTCHANGES, L_FILEAUTOHERE, L_GROUPHERE, L_IS_MALICIOUS_HERE, L_LOGINHERE, L_MANUALLYSTARTHERE, L_MIRRORSHERE, L_PLACEDLDATTOPHERE, L_PWDHERE, L_QUERYSIZEHERE, L_SAVEASHERE, L_SCHEDULESTARTHERE, L_SETTIMEHERE, L_STARTNOWHERE, L_USERHERE, LS, and fsContextHelpMgr::PrepareContextMenu().
Referenced by OnContextMenu(), and OnHelpInfo().
| void CCreateDownloadDlg::ReadAutostart | ( | ) | [protected] |
Definition at line 733 of file CreateDownloadDlg.cpp.
References _App, FALSE, IDC_STARTMANUAL, IDC_STARTNOW, IDC_STARTSCHEDULE, fsAppSettings::Last_Autostart(), m_bScheduled, m_dld, m_iAutostart, and TRUE.
Referenced by OnInitDialog().
| void CCreateDownloadDlg::ApplyLanguage | ( | ) | [protected] |
Definition at line 703 of file CreateDownloadDlg.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__COMMENT, IDC__DLDTYPE, IDC__GROUP, IDC__PASSWORD, IDC__SAVEAS, IDC__SAVETO, IDC__START, IDC__USER, IDC_ADVANCED, IDC_FILEAUTO, IDC_MALICIOUS, IDC_MIRRORS, IDC_PLACEATTOP, IDC_QSIZE, IDC_STARTMANUAL, IDC_STARTNOW, IDC_STARTSCHEDULE, IDC_USELOGIN, L_ADVANCED, L_AUTHORIZATION, L_AUTOMATICALLY, L_CANCEL, L_COMMENT, L_DLDTYPE, L_FILEAUTO, L_GROUP, L_IS_MALICIOUS, L_MANUALLY, L_MIRRORS, L_NEWDLD, L_PASSWORD, L_PLACEDLDATTOP, L_QUERYSIZE, L_SAVEAS, L_SAVETO, L_SCHEDULE, L_START, L_USER, and LS.
Referenced by OnInitDialog().
| void CCreateDownloadDlg::OnChangeGroups | ( | ) | [protected] |
Definition at line 698 of file CreateDownloadDlg.cpp.
References CDownloadsGroupsComboBox::GetSelectedGroup(), IDC_OUTFOLDER, and m_wndGroups.
Referenced by OnCreategroup(), OnInitDialog(), OnSelchangeGroups(), and UrlChanged().
| void CCreateDownloadDlg::UrlChanged | ( | ) | [protected] |
Definition at line 593 of file CreateDownloadDlg.cpp.
References _DldsGrps, _SitesMgr, fsURL::Crack(), DLD_MALICIOUS_NO, DLD_MALICIOUS_YES, FALSE, vmsDownloadsGroupsMgr::FindGroup(), vmsDownloadsGroupsMgr::FindGroupByExt(), fsSitesMgr::FindSite2(), fsFileNameFromUrlPath(), fsNPToSiteValidFor(), fsSchemeToNP(), fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPath(), fsURL::GetUserName(), GRP_OTHER_ID, IDC_MALICIOUS, IDC_PASSWORD, IDC_USELOGIN, IDC_USER, INTERNET_SCHEME_FTP, IR_SUCCESS, LOG, m_bAuthChanged, m_bAuthorization, m_bGroupChanged, m_bUrlChanged, m_dld, m_strUrl, m_wndGroups, nl, NULL, OnChangeGroups(), fsSiteInfo::pGroup, CDownloadsGroupsComboBox::SelectGroup(), fsSiteInfo::strPassword, fsSiteInfo::strUser, TRUE, and UpdateEnabled().
Referenced by OnEditchangeUrl(), OnInitDialog(), and OnSelchangeUrl().
| void CCreateDownloadDlg::Update_User_Password | ( | ) | [protected] |
Definition at line 552 of file CreateDownloadDlg.cpp.
References b, BOOL, FALSE, IDC_PASSWORD, IDC_USELOGIN, IDC_USER, LOG, m_bAuthChanged, m_bAuthorization, m_dld, nl, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszUserName, TRUE, and UpdateEnabled().
Referenced by OnInitDialog().
| BOOL CCreateDownloadDlg::ReadDNP | ( | ) | [protected] |
Definition at line 463 of file CreateDownloadDlg.cpp.
References fsURL::Crack(), FALSE, fsDNP_ApplyUrl(), fsnew, IDC_PASSWORD, IDC_URL, IDC_USELOGIN, IDC_USER, IR_SUCCESS, m_bAuthorization, m_bUrlChanged, m_dld, m_strUrl, fsDownload_NetworkProperties::pszPassword, fsDownload_NetworkProperties::pszUserName, SAFE_DELETE_ARRAY, TRUE, WrongURL(), and WrongUserName().
Referenced by OnAdvanced(), OnMirrors(), OnOK(), and OnQsize().
| void CCreateDownloadDlg::WrongUserName | ( | ) | [protected] |
Definition at line 424 of file CreateDownloadDlg.cpp.
References IDC_USER, L_ENTERUSER, L_INPERR, and LS.
Referenced by ReadDNP().
| void CCreateDownloadDlg::WrongURL | ( | ) | [protected] |
Definition at line 418 of file CreateDownloadDlg.cpp.
References IDC_URL, L_CHECKURL, L_INPERR, and LS.
Referenced by OnAdvanced(), OnMirrors(), and ReadDNP().
| void CCreateDownloadDlg::UpdateEnabled | ( | ) | [protected] |
Definition at line 363 of file CreateDownloadDlg.cpp.
References b, BOOL, IDC__PASSWORD, IDC__SAVEAS, IDC__SAVETO, IDC__USER, IDC_CHOOSEFOLDER, IDC_FILEAUTO, IDC_OUTFOLDER, IDC_PASSWORD, IDC_SAVEAS, IDC_USER, LOG, m_bAuthorization, m_wndDldType, and nl.
Referenced by OnAuthorization(), OnFileauto(), OnInitDialog(), OnSelchangeDldtype(), Update_User_Password(), and UrlChanged().
| void CCreateDownloadDlg::OnOK | ( | ) | [protected, virtual] |
Definition at line 98 of file CreateDownloadDlg.cpp.
References _App, _CheckDownloadAlrExists(), _CheckFileName(), _CheckFolderName(), _DldsGrps, _LastFolders, _LastUrlFiles, _SavePassword(), fsCmdHistoryMgr::AddRecord(), BOOL, DLD_DELETEFILEATRESTART, DLD_DELETEWHENDONE, DPF_STARTWHENDONE, DPF_USEZIPPREVIEW, FALSE, vmsDownloadsGroupsMgr::FindGroup(), fsnew, fsPathToGoodPath(), CDownloadsGroupsComboBox::GetSelectedGroup(), ID_DLNOTADDED, IDC_COMMENT, IDC_OUTFOLDER, IDC_PLACEATTOP, L_ENTERFLRNAME, L_INPERR, fsAppSettings::Last_Autostart(), LPSTR, LS, m_bNeedExit, m_bPlaceAtTop, m_bThread, m_dld, m_iAutostart, m_strUrl, m_wndDldType, m_wndGroups, MY_MAX_PATH, fsAppSettings::NewDL_GenerateNameAutomatically(), fsAppSettings::NewDL_GroupId(), fsAppSettings::NewDL_UseZIPPreview(), fsAppSettings::NewGrp_SelectWay(), NGSW_USE_ALWAYS_SAME_GROUP_WITH_OUTFOLDER_AUTO_UPDATE, NULL, fsAppSettings::OnDlHasBeenCreatedByUser(), ReadDNP(), CDownloadsGroupsComboBox::RememberSelectedGroup(), SAFE_DELETE_ARRAY, TRUE, and fsAppSettings::UseZipPreview().
| BOOL CCreateDownloadDlg::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 207 of file CreateDownloadDlg.cpp.
References _App, _ClipbrdMgr, _DldsGrps, _DldsMgr, _LastFolders, _LastUrlFiles, fsDownloadsMgr::Apply_MirrParameters(), ApplyLanguage(), fsURL::Crack(), fsURL::Create(), fsSchedule::dwFlags, _FILETIME::dwHighDateTime, _FILETIME::dwLowDateTime, fsWhenToStart::enType, FALSE, CDownloadsGroupsComboBox::Fill(), vmsDownloadsGroupsMgr::FindGroup(), fsSetForegroundWindow(), fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPath(), fsURL::GetPort(), fsCmdHistoryMgr::GetRecord(), fsCmdHistoryMgr::GetRecordCount(), fsURL::GetUserName(), fsSchedule::hts, HTS_ONCE, IDC_COMMENT, IDC_FILEAUTO, IDC_OUTFOLDER, IDC_PASSWORD, IDC_STARTNOW, IDC_STARTSCHEDULE, IDC_URL, IDC_USELOGIN, IDC_USER, IDI_CHOOSEFOLDER, IDI_CREATEGROUP, IDI_SETFOLDERDEFAULT, IDI_SETTIME, IR_SUCCESS, L_OPENFILE, L_SAVEFILE, L_SAVEFILEANDOPENIT, fsWhenToStart::last, LOG, LS, m_bAuthChanged, m_bAuthorization, m_bGroupChanged, m_bReqTopMostDialog, m_bSetFocusToOKBtn, m_btnChooseFolder, m_btnCreateGroup, m_btnOutFolderSetDefault, m_btnSetTime, m_dld, m_pGroup, m_strComment, m_strReferer, m_strUrl, m_task, m_wndDldType, m_wndGroups, fsAppSettings::NewDL_GenerateNameAutomatically(), fsAppSettings::NewDL_GroupId(), fsWhenToStart::next, nl, NULL, OnChangeGroups(), OnFileauto(), ReadAutostart(), SAFE_DELETE_ARRAY, SCHEDULE_ENABLED, CDownloadsGroupsComboBox::SelectGroup(), SICO, fsClipboardMgr::Text(), TRUE, Update_User_Password(), UpdateEnabled(), UrlChanged(), fsAppSettings::UserName(), fsAppSettings::UserPassword(), and fsSchedule::uWaitForConfirmation.
| void CCreateDownloadDlg::OnChangeSaveas | ( | ) | [protected] |
Definition at line 358 of file CreateDownloadDlg.cpp.
| void CCreateDownloadDlg::OnAuthorization | ( | ) | [protected] |
Definition at line 385 of file CreateDownloadDlg.cpp.
References IDC_USELOGIN, m_bAuthorization, and UpdateEnabled().
| void CCreateDownloadDlg::OnSelchangeGroups | ( | ) | [protected] |
Definition at line 391 of file CreateDownloadDlg.cpp.
References m_bGroupChanged, OnChangeGroups(), and TRUE.
| void CCreateDownloadDlg::OnStartnow | ( | ) | [protected] |
Definition at line 397 of file CreateDownloadDlg.cpp.
References FALSE, m_bScheduled, m_dld, m_iAutostart, and TRUE.
| void CCreateDownloadDlg::OnStartmanual | ( | ) | [protected] |
Definition at line 404 of file CreateDownloadDlg.cpp.
References FALSE, m_bScheduled, m_dld, and m_iAutostart.
| void CCreateDownloadDlg::OnStartschedule | ( | ) | [protected] |
Definition at line 411 of file CreateDownloadDlg.cpp.
References FALSE, m_bScheduled, m_dld, m_iAutostart, and TRUE.
| void CCreateDownloadDlg::OnCreategroup | ( | ) | [protected] |
Definition at line 430 of file CreateDownloadDlg.cpp.
References CDownloadsGroupsComboBox::CreateNewGroup(), CDownloadsGroupsComboBox::GetSelectedGroup(), m_wndGroups, and OnChangeGroups().
| void CCreateDownloadDlg::OnAdvanced | ( | ) | [protected] |
Definition at line 438 of file CreateDownloadDlg.cpp.
References _DlgMgr, fsURL::Crack(), DPS_SHP_NOGENERALNOMIRR, FALSE, fsSchemeToNP(), fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPath(), IDC_URL, IR_SUCCESS, L_ADVANCED, LS, m_dld, m_strUrl, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), ReadDNP(), and WrongURL().
| void CCreateDownloadDlg::OnChoosefolder | ( | ) | [protected] |
Definition at line 516 of file CreateDownloadDlg.cpp.
References CFolderBrowser::Create(), CFolderBrowser::GetPath(), IDC_OUTFOLDER, L_CHOOSEOUTFOLDER, LS, and NULL.
| void CCreateDownloadDlg::OnSettime | ( | ) | [protected] |
Definition at line 532 of file CreateDownloadDlg.cpp.
References _DlgMgr, FALSE, IDC_STARTNOW, IDC_STARTSCHEDULE, CScheduleSheet::Init(), L_SCHEDULEDLDS, LS, m_bScheduled, m_dld, m_iAutostart, m_task, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), and TRUE.
| void CCreateDownloadDlg::OnEditchangeUrl | ( | ) | [protected] |
Definition at line 580 of file CreateDownloadDlg.cpp.
References IDC_URL, m_strUrl, and UrlChanged().
| void CCreateDownloadDlg::OnSelchangeUrl | ( | ) | [protected] |
Definition at line 586 of file CreateDownloadDlg.cpp.
References IDC_URL, m_strUrl, and UrlChanged().
| void CCreateDownloadDlg::OnContextMenu | ( | CWnd * | pWnd, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 677 of file CreateDownloadDlg.cpp.
References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().
| void CCreateDownloadDlg::OnWhatisthis | ( | ) | [protected] |
Definition at line 683 of file CreateDownloadDlg.cpp.
References _CHMgr, and fsContextHelpMgr::OnWT().
| void CCreateDownloadDlg::OnChangeUser | ( | ) | [protected] |
| void CCreateDownloadDlg::OnChangePassword | ( | ) | [protected] |
| BOOL CCreateDownloadDlg::OnHelpInfo | ( | HELPINFO * | pHelpInfo | ) | [protected] |
Definition at line 759 of file CreateDownloadDlg.cpp.
References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.
| void CCreateDownloadDlg::OnQsize | ( | ) | [protected] |
Definition at line 816 of file CreateDownloadDlg.cpp.
References _threadQSize(), FALSE, IDC_QSIZE, L_QUERINGSIZE, LS, m_bThread, m_bUrlChanged, NULL, ReadDNP(), and TRUE.
| void CCreateDownloadDlg::OnCancel | ( | ) | [protected, virtual] |
Definition at line 898 of file CreateDownloadDlg.cpp.
References m_bNeedExit, m_bThread, m_dld, and TRUE.
| void CCreateDownloadDlg::OnFileauto | ( | ) | [protected] |
Definition at line 911 of file CreateDownloadDlg.cpp.
References fsURL::Crack(), fsFileNameFromUrlPath(), fsURL::GetInternetScheme(), fsURL::GetPath(), IDC_FILEAUTO, IDC_SAVEAS, IDC_URL, INTERNET_SCHEME_FTP, MY_MAX_PATH, TRUE, and UpdateEnabled().
Referenced by OnInitDialog().
| void CCreateDownloadDlg::OnMirrors | ( | ) | [protected] |
Definition at line 1008 of file CreateDownloadDlg.cpp.
References _DlgMgr, fsURL::Crack(), DPS_SHP_MIRRORS, FALSE, fsSchemeToNP(), fsURL::GetHostName(), fsURL::GetInternetScheme(), fsURL::GetPath(), IDC_URL, IR_SUCCESS, L_MIRRORS, LS, m_dld, m_strUrl, fsDialogsMgr::OnDoModal(), fsDialogsMgr::OnEndDialog(), ReadDNP(), and WrongURL().
| void CCreateDownloadDlg::OnSelchangeDldtype | ( | ) | [protected] |
| void CCreateDownloadDlg::OnMalicious | ( | ) | [protected] |
Definition at line 1096 of file CreateDownloadDlg.cpp.
References _App, _DlgMgr, vmsMaliciousDownloadChecker::Check(), fsAppSettings::Community_MalReportsMinPerc(), DLD_MALICIOUS_NO, DLD_MALICIOUS_YES, fsDialogsMgr::DoModal(), FALSE, fsIRToStr(), vmsMaliciousDownloadChecker::get_AverageRating(), vmsMaliciousDownloadChecker::get_MaliciousOpinionCount(), vmsMaliciousDownloadChecker::get_OpinionTotalCount(), IDC_ABORT, IDC_BTN2, IDC_MALICIOUS, IDC_URL, IR_SUCCESS, L_DONE, L_DONTSHOWTHISWINDOWAGAIN, L_ERR, L_NO, L_NO_USERS_MAL_REPS, L_THEREAREMALOPINIONS, L_WARNING, L_YES, LS, m_dld, CDlg_Opinions::m_pszUrl, m_strUrl, MyMessageBox(), NULL, TRUE, and fsAppSettings::View_DontShowMalOpinionOKReport().
| void CCreateDownloadDlg::OnOutfolderSetdefault | ( | ) | [protected] |
Definition at line 1142 of file CreateDownloadDlg.cpp.
References _SetDownloadOutputFolderAsDefault(), CDownloadsGroupsComboBox::GetSelectedGroup(), IDC_OUTFOLDER, and m_wndGroups.
Definition at line 29 of file CreateDownloadDlg.h.
Referenced by _threadQSize(), CCreateDownloadDlg(), and CDownloadsWnd::CreateDownload().
Definition at line 31 of file CreateDownloadDlg.h.
Referenced by _threadQSize(), CCreateDownloadDlg(), and CDownloadsWnd::CreateDownload().
Definition at line 33 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), CDownloadsWnd::CreateDownload(), and OnOK().
Definition at line 35 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), CDownloadsWnd::CreateDownload(), and OnInitDialog().
Definition at line 37 of file CreateDownloadDlg.h.
Referenced by CDownloadsWnd::CreateDownload(), and OnInitDialog().
Definition at line 44 of file CreateDownloadDlg.h.
Referenced by CDownloadsWnd::CreateDownload(), and OnInitDialog().
Definition at line 45 of file CreateDownloadDlg.h.
Referenced by CDownloadsWnd::CreateDownload(), OnInitDialog(), and OnSettime().
Definition at line 46 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), CDownloadsWnd::CreateDownload(), OnSettime(), OnStartmanual(), OnStartnow(), OnStartschedule(), and ReadAutostart().
Definition at line 47 of file CreateDownloadDlg.h.
Referenced by OnAuthorization(), OnInitDialog(), ReadDNP(), Update_User_Password(), UpdateEnabled(), and UrlChanged().
| CString CCreateDownloadDlg::m_strUrl |
Definition at line 48 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), OnAdvanced(), OnEditchangeUrl(), OnInitDialog(), OnMalicious(), OnMirrors(), OnOK(), OnSelchangeUrl(), ReadDNP(), and UrlChanged().
Definition at line 54 of file CreateDownloadDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
| CComboBox CCreateDownloadDlg::m_wndDldType |
Definition at line 55 of file CreateDownloadDlg.h.
Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and UpdateEnabled().
| CButton CCreateDownloadDlg::m_btnSetTime |
Definition at line 56 of file CreateDownloadDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 57 of file CreateDownloadDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 58 of file CreateDownloadDlg.h.
Referenced by DoDataExchange(), and OnInitDialog().
BOOL CCreateDownloadDlg::m_bUrlChanged [protected] |
Definition at line 69 of file CreateDownloadDlg.h.
Referenced by OnQsize(), ReadDNP(), and UrlChanged().
CString CCreateDownloadDlg::m_strReferer [protected] |
Definition at line 70 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), and OnInitDialog().
CString CCreateDownloadDlg::m_strComment [protected] |
Definition at line 71 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), and OnInitDialog().
volatile BOOL CCreateDownloadDlg::m_bNeedExit [protected] |
Definition at line 72 of file CreateDownloadDlg.h.
Referenced by _threadQSize(), CCreateDownloadDlg(), OnCancel(), and OnOK().
volatile BOOL CCreateDownloadDlg::m_bThread [protected] |
Definition at line 73 of file CreateDownloadDlg.h.
Referenced by _threadQSize(), CCreateDownloadDlg(), OnCancel(), OnOK(), and OnQsize().
int CCreateDownloadDlg::m_iAutostart [protected] |
Definition at line 77 of file CreateDownloadDlg.h.
Referenced by CCreateDownloadDlg(), OnOK(), OnSettime(), OnStartmanual(), OnStartnow(), OnStartschedule(), and ReadAutostart().
BOOL CCreateDownloadDlg::m_bGroupChanged [protected] |
Definition at line 81 of file CreateDownloadDlg.h.
Referenced by OnInitDialog(), OnSelchangeGroups(), and UrlChanged().
BOOL CCreateDownloadDlg::m_bAuthChanged [protected] |
Definition at line 82 of file CreateDownloadDlg.h.
Referenced by OnChangePassword(), OnChangeUser(), OnInitDialog(), Update_User_Password(), and UrlChanged().
Definition at line 89 of file CreateDownloadDlg.h.
Referenced by DoDataExchange(), OnChangeGroups(), OnCreategroup(), OnInitDialog(), OnOK(), OnOutfolderSetdefault(), and UrlChanged().
vmsDownloadSmartPtr CCreateDownloadDlg::m_dld [protected] |
Definition at line 90 of file CreateDownloadDlg.h.
Referenced by _threadQSize(), OnAdvanced(), OnCancel(), OnInitDialog(), OnMalicious(), OnMirrors(), OnOK(), OnSettime(), OnStartmanual(), OnStartnow(), OnStartschedule(), ReadAutostart(), ReadDNP(), Update_User_Password(), and UrlChanged().
1.5.6