#include <DownloadProperties_ProxyPage.h>
Public Types | |
| enum | { IDD = IDD_DOWNLOAD_PROXY } |
Public Member Functions | |
| CDownloadProperties_ProxyPage () | |
| ~CDownloadProperties_ProxyPage () | |
| virtual BOOL | OnApply () |
Public Attributes | |
| CComboBox | m_wndProtocols |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | PrepareCHMgr (CPoint point) |
| void | ApplyLanguage () |
| void | ApplyPS (DLDS_LIST *pvDlds, ProxyInfo *pi) |
| BOOL | ReadPS () |
| void | UpdatePS () |
| BOOL | CrackProxyName (LPCSTR pszName, CString &strName, USHORT &uPort) |
| void | UpdateEnabled () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnGetfromie () |
| afx_msg void | OnManually () |
| afx_msg void | OnUsesocks () |
| afx_msg void | OnDontuseproxy () |
| afx_msg void | OnChangeProxyname () |
| afx_msg void | OnChangePort () |
| afx_msg void | OnAuthorization () |
| afx_msg void | OnChangeUser () |
| afx_msg void | OnChangePassword () |
| afx_msg void | OnSelchangeProtocols () |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg void | OnWhatisthis () |
| afx_msg BOOL | OnHelpInfo (HELPINFO *pHelpInfo) |
| afx_msg void | OnUserollback () |
| afx_msg void | OnChangeRollbacksize () |
| afx_msg void | OnFromfirefox () |
Protected Attributes | |
| BOOL | m_bIChange |
| int | m_iCurProtocol |
| fs::list< ProxyInfo > | m_vProxies |
| DLDS_LIST * | m_pvDlds |
| DLDS_LIST | m_vHttp |
| DLDS_LIST | m_vHttps |
| DLDS_LIST | m_vFtp |
Friends | |
| class | CDownloadPropertiesSheet |
Classes | |
| struct | ProxyInfo |
Definition at line 15 of file DownloadProperties_ProxyPage.h.
| anonymous enum |
| CDownloadProperties_ProxyPage::CDownloadProperties_ProxyPage | ( | ) |
| CDownloadProperties_ProxyPage::~CDownloadProperties_ProxyPage | ( | ) |
Definition at line 28 of file DownloadProperties_ProxyPage.cpp.
| BOOL CDownloadProperties_ProxyPage::OnApply | ( | ) | [virtual] |
Definition at line 442 of file DownloadProperties_ProxyPage.cpp.
References ApplyPS(), DNP_SET, FALSE, IATE_FIREFOXPROXY, IATE_MANUALPROXY, IATE_NOPROXY, IATE_PRECONFIGPROXY, m_vFtp, m_vHttp, m_vHttps, m_vProxies, ReadPS(), and TRUE.
| void CDownloadProperties_ProxyPage::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 32 of file DownloadProperties_ProxyPage.cpp.
References IDC_PROTOCOLS, and m_wndProtocols.
| void CDownloadProperties_ProxyPage::PrepareCHMgr | ( | CPoint | point | ) | [protected] |
Definition at line 697 of file DownloadProperties_ProxyPage.cpp.
References _CHMgr, IDC__ADDRESS, IDC__PASSWORD, IDC__PORT, IDC__PROTOCOL, IDC__ROLSIZE, IDC__USER, L_FROMDONTUSEHERE, L_FROMFIREFOX_HERE, L_FROMIEHERE, L_FROMMANUALHERE, L_PROTOCOLHERE, L_PROXYADDRHERE, L_PROXYLOGINHERE, L_PROXYPORTHERE, L_PWDHERE, L_ROLLBACKSIZEHERE, L_USERHERE, L_USEROLLBACKHERE, LS, and fsContextHelpMgr::PrepareContextMenu().
Referenced by OnContextMenu(), and OnHelpInfo().
| void CDownloadProperties_ProxyPage::ApplyLanguage | ( | ) | [protected] |
Definition at line 657 of file DownloadProperties_ProxyPage.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__ADDRESS, IDC__BYTES, IDC__GETFROM, IDC__PASSWORD, IDC__PORT, IDC__PROTOCOL, IDC__ROLSIZE, IDC__SETTINGS, IDC__USER, L_ADDR, L_BYTES, L_FROMDONTUSE, L_FROMFIREFOX, L_FROMIE, L_FROMMANUALLY, L_GETFROM, L_LOGINREQ, L_PASSWORD, L_PORT, L_PROTOCOL, L_ROLLBACKSIZE, L_SETTINGS, L_USER, and L_USEROLLBACK.
Referenced by OnInitDialog().
Definition at line 610 of file DownloadProperties_ProxyPage.cpp.
References CDownloadProperties_ProxyPage::ProxyInfo::bNameModified, CDownloadProperties_ProxyPage::ProxyInfo::bPasswordModified, CDownloadProperties_ProxyPage::ProxyInfo::bUserModified, DNP_SET, m_pvDlds, m_vProxies, CDownloadProperties_ProxyPage::ProxyInfo::strName, CDownloadProperties_ProxyPage::ProxyInfo::strPassword, CDownloadProperties_ProxyPage::ProxyInfo::strUser, TRUE, and CDownloadProperties_ProxyPage::ProxyInfo::uAuthorization.
Referenced by OnApply().
| BOOL CDownloadProperties_ProxyPage::ReadPS | ( | ) | [protected] |
Definition at line 509 of file DownloadProperties_ProxyPage.cpp.
References CDownloadProperties_ProxyPage::ProxyInfo::bNameModified, BOOL, CDownloadProperties_ProxyPage::ProxyInfo::bPasswordModified, CDownloadProperties_ProxyPage::ProxyInfo::bUserModified, FALSE, L_ENTERPROXY, L_ENTERPROXYPORT, L_ENTERUSER, L_INPERR, LS, m_bIChange, m_iCurProtocol, m_vProxies, m_wndProtocols, CDownloadProperties_ProxyPage::ProxyInfo::strName, CDownloadProperties_ProxyPage::ProxyInfo::strPassword, CDownloadProperties_ProxyPage::ProxyInfo::strUser, TRUE, CDownloadProperties_ProxyPage::ProxyInfo::uAuthorization, and UpdatePS().
Referenced by OnApply(), and OnSelchangeProtocols().
| void CDownloadProperties_ProxyPage::UpdatePS | ( | ) | [protected] |
Definition at line 587 of file DownloadProperties_ProxyPage.cpp.
References CrackProxyName(), FALSE, m_iCurProtocol, m_vProxies, and UpdateEnabled().
Referenced by OnInitDialog(), and ReadPS().
| BOOL CDownloadProperties_ProxyPage::CrackProxyName | ( | LPCSTR | pszName, | |
| CString & | strName, | |||
| USHORT & | uPort | |||
| ) | [protected] |
Definition at line 411 of file DownloadProperties_ProxyPage.cpp.
References FALSE, NULL, and TRUE.
Referenced by OnChangeProxyname(), and UpdatePS().
| void CDownloadProperties_ProxyPage::UpdateEnabled | ( | ) | [protected] |
Definition at line 300 of file DownloadProperties_ProxyPage.cpp.
References b, BOOL, IDC__ADDRESS, IDC__BYTES, IDC__PASSWORD, IDC__PORT, IDC__PROTOCOL, IDC__ROLSIZE, and IDC__USER.
Referenced by OnAuthorization(), OnDontuseproxy(), OnFromfirefox(), OnGetfromie(), OnInitDialog(), OnManually(), OnUserollback(), OnUsesocks(), and UpdatePS().
| BOOL CDownloadProperties_ProxyPage::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 66 of file DownloadProperties_ProxyPage.cpp.
References ApplyLanguage(), ASSERT, CDownloadProperties_ProxyPage::ProxyInfo::bNameModified, CDownloadProperties_ProxyPage::ProxyInfo::bPasswordModified, CDownloadProperties_ProxyPage::ProxyInfo::bUserModified, DNP_EQ, fsDownload_NetworkProperties::enAccType, FALSE, IAT_MANUALPROXY, IAT_NOPROXY, IAT_PRECONFIGPROXY, IATE_FIREFOXPROXY, if(), m_bIChange, m_iCurProtocol, m_pvDlds, m_vFtp, m_vHttp, m_vHttps, m_vProxies, m_wndProtocols, NP_FTP, NP_HTTP, NP_HTTPS, CDownloadPropertiesSheet::OnInitDialog(), fsDownload_NetworkProperties::pszProxyName, fsDownload_NetworkProperties::pszProxyPassword, fsDownload_NetworkProperties::pszProxyUserName, CDownloadProperties_ProxyPage::ProxyInfo::strName, CDownloadProperties_ProxyPage::ProxyInfo::strPassword, CDownloadProperties_ProxyPage::ProxyInfo::strUser, TRUE, CDownloadProperties_ProxyPage::ProxyInfo::uAuthorization, UpdateEnabled(), UpdatePS(), and fsDownload_NetworkProperties::wRollBackSize.
| void CDownloadProperties_ProxyPage::OnGetfromie | ( | ) | [protected] |
| void CDownloadProperties_ProxyPage::OnManually | ( | ) | [protected] |
| void CDownloadProperties_ProxyPage::OnUsesocks | ( | ) | [protected] |
| void CDownloadProperties_ProxyPage::OnDontuseproxy | ( | ) | [protected] |
| void CDownloadProperties_ProxyPage::OnChangeProxyname | ( | ) | [protected] |
Definition at line 350 of file DownloadProperties_ProxyPage.cpp.
References CrackProxyName(), FALSE, m_bIChange, m_iCurProtocol, m_vProxies, and TRUE.
| void CDownloadProperties_ProxyPage::OnChangePort | ( | ) | [protected] |
| void CDownloadProperties_ProxyPage::OnAuthorization | ( | ) | [protected] |
Definition at line 382 of file DownloadProperties_ProxyPage.cpp.
References m_iCurProtocol, m_vProxies, and UpdateEnabled().
| void CDownloadProperties_ProxyPage::OnChangeUser | ( | ) | [protected] |
Definition at line 393 of file DownloadProperties_ProxyPage.cpp.
References FALSE, m_bIChange, m_iCurProtocol, m_vProxies, and TRUE.
| void CDownloadProperties_ProxyPage::OnChangePassword | ( | ) | [protected] |
Definition at line 402 of file DownloadProperties_ProxyPage.cpp.
References FALSE, m_bIChange, m_iCurProtocol, m_vProxies, and TRUE.
| void CDownloadProperties_ProxyPage::OnSelchangeProtocols | ( | ) | [protected] |
Definition at line 640 of file DownloadProperties_ProxyPage.cpp.
References m_iCurProtocol, m_wndProtocols, and ReadPS().
| void CDownloadProperties_ProxyPage::OnContextMenu | ( | CWnd * | pWnd, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 646 of file DownloadProperties_ProxyPage.cpp.
References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().
| void CDownloadProperties_ProxyPage::OnWhatisthis | ( | ) | [protected] |
Definition at line 652 of file DownloadProperties_ProxyPage.cpp.
References _CHMgr, and fsContextHelpMgr::OnWT().
| BOOL CDownloadProperties_ProxyPage::OnHelpInfo | ( | HELPINFO * | pHelpInfo | ) | [protected] |
Definition at line 680 of file DownloadProperties_ProxyPage.cpp.
References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.
| void CDownloadProperties_ProxyPage::OnUserollback | ( | ) | [protected] |
| void CDownloadProperties_ProxyPage::OnChangeRollbacksize | ( | ) | [protected] |
Definition at line 735 of file DownloadProperties_ProxyPage.cpp.
| void CDownloadProperties_ProxyPage::OnFromfirefox | ( | ) | [protected] |
friend class CDownloadPropertiesSheet [friend] |
Definition at line 17 of file DownloadProperties_ProxyPage.h.
Definition at line 27 of file DownloadProperties_ProxyPage.h.
Referenced by DoDataExchange(), OnInitDialog(), OnSelchangeProtocols(), and ReadPS().
BOOL CDownloadProperties_ProxyPage::m_bIChange [protected] |
Definition at line 57 of file DownloadProperties_ProxyPage.h.
Referenced by OnChangePassword(), OnChangePort(), OnChangeProxyname(), OnChangeUser(), OnInitDialog(), and ReadPS().
int CDownloadProperties_ProxyPage::m_iCurProtocol [protected] |
Definition at line 59 of file DownloadProperties_ProxyPage.h.
Referenced by OnAuthorization(), OnChangePassword(), OnChangeProxyname(), OnChangeUser(), OnInitDialog(), OnSelchangeProtocols(), ReadPS(), and UpdatePS().
fs::list<ProxyInfo> CDownloadProperties_ProxyPage::m_vProxies [protected] |
Definition at line 63 of file DownloadProperties_ProxyPage.h.
Referenced by ApplyPS(), OnApply(), OnAuthorization(), OnChangePassword(), OnChangeProxyname(), OnChangeUser(), OnInitDialog(), ReadPS(), and UpdatePS().
DLDS_LIST* CDownloadProperties_ProxyPage::m_pvDlds [protected] |
Definition at line 67 of file DownloadProperties_ProxyPage.h.
Referenced by ApplyPS(), CDownloadPropertiesSheet::Init(), and OnInitDialog().
DLDS_LIST CDownloadProperties_ProxyPage::m_vHttp [protected] |
Definition at line 69 of file DownloadProperties_ProxyPage.h.
Referenced by OnApply(), and OnInitDialog().
DLDS_LIST CDownloadProperties_ProxyPage::m_vHttps [protected] |
Definition at line 69 of file DownloadProperties_ProxyPage.h.
Referenced by OnApply(), and OnInitDialog().
DLDS_LIST CDownloadProperties_ProxyPage::m_vFtp [protected] |
Definition at line 69 of file DownloadProperties_ProxyPage.h.
Referenced by OnApply(), and OnInitDialog().
1.5.6