#include <DownloaderProperties_NetworkPage.h>
Public Types | |
| enum | { IDD = IDD_DLDR_NETWORK } |
Public Member Functions | |
| CDownloaderProperties_NetworkPage () | |
| ~CDownloaderProperties_NetworkPage () | |
| virtual BOOL | OnApply () |
Public Attributes | |
| CComboBox | m_wndTLD |
| CComboBox | m_wndMode |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | PrepareCHMgr (CPoint point) |
| void | ApplyLanguage () |
| void | UpdateEnabled () |
| void | WriteTUS () |
| BOOL | ReadTUS () |
| virtual BOOL | OnInitDialog () |
| afx_msg void | OnUsemaxconns () |
| afx_msg void | OnChangeMaxconns () |
| afx_msg void | OnUsemaxconnsperserver () |
| afx_msg void | OnChangeMaxconnsperserver () |
| afx_msg void | OnChangeTrafficlimitval () |
| afx_msg void | OnSelchangeTrafficlimitdimension () |
| afx_msg void | OnSelchangeMode () |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg void | OnWhatisthis () |
| afx_msg void | OnDetectactivity () |
| afx_msg void | OnDecbylevel () |
| afx_msg void | OnSettolight () |
| afx_msg BOOL | OnHelpInfo (HELPINFO *pHelpInfo) |
| afx_msg void | OnChangeMaxdldsval () |
| afx_msg void | OnUsemaxdlds () |
Protected Attributes | |
| BOOL | m_bIModifing |
| fsTrafficUsageMode | m_aTUM [3] |
| int | m_iCurMode |
Definition at line 15 of file DownloaderProperties_NetworkPage.h.
| anonymous enum |
| CDownloaderProperties_NetworkPage::CDownloaderProperties_NetworkPage | ( | ) |
Definition at line 19 of file DownloaderProperties_NetworkPage.cpp.
| CDownloaderProperties_NetworkPage::~CDownloaderProperties_NetworkPage | ( | ) |
Definition at line 26 of file DownloaderProperties_NetworkPage.cpp.
| BOOL CDownloaderProperties_NetworkPage::OnApply | ( | ) | [virtual] |
Definition at line 272 of file DownloaderProperties_NetworkPage.cpp.
References _DldsMgr, FALSE, fsDownloadsMgr::GetTUMs(), IDC_DECBYLEVEL, IDC_DETECTACTIVITY, m_aTUM, ReadTUS(), fsDownloadsMgr::SetTUMManage(), TM_DECREASEBYONELEVEL, TM_OFF, and TM_SETTOLIGHT.
| void CDownloaderProperties_NetworkPage::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 30 of file DownloaderProperties_NetworkPage.cpp.
References IDC_MODE, IDC_TRAFFICLIMITDIMENSION, m_wndMode, and m_wndTLD.
| void CDownloaderProperties_NetworkPage::PrepareCHMgr | ( | CPoint | point | ) | [protected] |
Definition at line 350 of file DownloaderProperties_NetworkPage.cpp.
References _CHMgr, IDC__MODEADJUSTMENT, IDC__TUR, IDC_DECBYLEVEL, IDC_DETECTACTIVITY, IDC_MODE, IDC_SETTOLIGHT, IDC_TRAFFICLIMITDIMENSION, IDC_TRAFFICLIMITVAL, IDC_USEMAXCONNS, IDC_USEMAXCONNSPERSERVER, IDC_USEMAXDLDS, L_DECBYLEVELHERE, L_DETECTACTIVITYHERE, L_DIMHERE, L_MAXCONNSHERE, L_MAXCONNSPERSERVHERE, L_MAXDLDSHERE, L_SETTOLIGHTHERE, L_TUMHERE, L_TURHERE, LS, and fsContextHelpMgr::PrepareContextMenu().
Referenced by OnContextMenu(), and OnHelpInfo().
| void CDownloaderProperties_NetworkPage::ApplyLanguage | ( | ) | [protected] |
Definition at line 317 of file DownloaderProperties_NetworkPage.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__MODEADJUSTMENT, IDC__TUMS, IDC__TUR, IDC_DECBYLEVEL, IDC_DETECTACTIVITY, IDC_SETTOLIGHT, IDC_USEMAXCONNS, IDC_USEMAXCONNSPERSERVER, IDC_USEMAXDLDS, L_DECBYLEVEL, L_DETECTACTIVITY, L_MAXCOUNTOFCONNS, L_MAXCOUNTOFCONNSPERSERV, L_MAXDLDS, L_MODETOADJUST, L_SETTOLIGHT, L_TUMS, and L_TUR.
Referenced by OnInitDialog().
| void CDownloaderProperties_NetworkPage::UpdateEnabled | ( | ) | [protected] |
Definition at line 214 of file DownloaderProperties_NetworkPage.cpp.
References b, BOOL, IDC__TUR, IDC_DECBYLEVEL, IDC_DETECTACTIVITY, IDC_MAXCONNS, IDC_MAXCONNSPERSERVER, IDC_MAXCONNSPERSERVERSPIN, IDC_MAXCONNSSPIN, IDC_MAXDLDSSPIN, IDC_MAXDLDSVAL, IDC_SETTOLIGHT, IDC_TRAFFICLIMITDIMENSION, IDC_TRAFFICLIMITVAL, IDC_USEMAXCONNS, IDC_USEMAXCONNSPERSERVER, IDC_USEMAXDLDS, m_iCurMode, and TUM_HEAVY.
Referenced by OnDetectactivity(), OnInitDialog(), OnUsemaxconns(), OnUsemaxconnsperserver(), OnUsemaxdlds(), and WriteTUS().
| void CDownloaderProperties_NetworkPage::WriteTUS | ( | ) | [protected] |
Definition at line 181 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, IDC_MAXCONNS, IDC_MAXCONNSPERSERVER, IDC_MAXDLDSVAL, IDC_TRAFFICLIMITDIMENSION, IDC_TRAFFICLIMITVAL, IDC_USEMAXCONNS, IDC_USEMAXCONNSPERSERVER, IDC_USEMAXDLDS, L_UNLIMITED, LS, m_aTUM, m_bIModifing, m_iCurMode, vmsDialogHelper::SetDlgBytesGroup(), TRUE, TUM_HEAVY, fsTrafficUsageMode::uMaxConns, fsTrafficUsageMode::uMaxConnsPS, fsTrafficUsageMode::uMaxDlds, UpdateEnabled(), and fsTrafficUsageMode::uTrafficLimit.
Referenced by OnInitDialog(), and OnSelchangeMode().
| BOOL CDownloaderProperties_NetworkPage::ReadTUS | ( | ) | [protected] |
Definition at line 104 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, vmsDialogHelper::GetDlgBytesGroup(), IDC_MAXCONNS, IDC_MAXCONNSPERSERVER, IDC_MAXDLDSVAL, IDC_TRAFFICLIMITDIMENSION, IDC_TRAFFICLIMITVAL, IDC_USEMAXCONNS, IDC_USEMAXCONNSPERSERVER, IDC_USEMAXDLDS, L_ENTERGREATER, L_ENTERLESS, L_INPERR, LS, m_aTUM, m_iCurMode, MAX_NOT_COMPLETED_SECTION_COUNT, NULL, TRUE, TUM_HEAVY, fsTrafficUsageMode::uMaxConns, fsTrafficUsageMode::uMaxConnsPS, fsTrafficUsageMode::uMaxDlds, and fsTrafficUsageMode::uTrafficLimit.
Referenced by OnApply(), and OnSelchangeMode().
| BOOL CDownloaderProperties_NetworkPage::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 59 of file DownloaderProperties_NetworkPage.cpp.
References _DldsMgr, ApplyLanguage(), fsDownloadsMgr::GetTUMManage(), fsDownloadsMgr::GetTUMs(), IDC_MAXCONNSPERSERVERSPIN, IDC_MAXCONNSSPIN, IDC_MAXDLDSSPIN, L_B, L_HEAVY, L_KB, L_LIGHT, L_MB, L_MEDIUM, L_S, LS, m_aTUM, m_iCurMode, m_wndMode, m_wndTLD, TM_DECREASEBYONELEVEL, TM_OFF, TRUE, UpdateEnabled(), and WriteTUS().
| void CDownloaderProperties_NetworkPage::OnUsemaxconns | ( | ) | [protected] |
Definition at line 240 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, m_bIModifing, and UpdateEnabled().
| void CDownloaderProperties_NetworkPage::OnChangeMaxconns | ( | ) | [protected] |
Definition at line 246 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, and m_bIModifing.
| void CDownloaderProperties_NetworkPage::OnUsemaxconnsperserver | ( | ) | [protected] |
Definition at line 251 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, m_bIModifing, and UpdateEnabled().
| void CDownloaderProperties_NetworkPage::OnChangeMaxconnsperserver | ( | ) | [protected] |
Definition at line 257 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, and m_bIModifing.
| void CDownloaderProperties_NetworkPage::OnChangeTrafficlimitval | ( | ) | [protected] |
Definition at line 262 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, and m_bIModifing.
| void CDownloaderProperties_NetworkPage::OnSelchangeTrafficlimitdimension | ( | ) | [protected] |
Definition at line 267 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, and m_bIModifing.
| void CDownloaderProperties_NetworkPage::OnSelchangeMode | ( | ) | [protected] |
Definition at line 293 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, m_iCurMode, m_wndMode, ReadTUS(), and WriteTUS().
| void CDownloaderProperties_NetworkPage::OnContextMenu | ( | CWnd * | pWnd, | |
| CPoint | point | |||
| ) | [protected] |
Definition at line 306 of file DownloaderProperties_NetworkPage.cpp.
References _CHMgr, PrepareCHMgr(), and fsContextHelpMgr::ShowMenu().
| void CDownloaderProperties_NetworkPage::OnWhatisthis | ( | ) | [protected] |
Definition at line 312 of file DownloaderProperties_NetworkPage.cpp.
References _CHMgr, and fsContextHelpMgr::OnWT().
| void CDownloaderProperties_NetworkPage::OnDetectactivity | ( | ) | [protected] |
| void CDownloaderProperties_NetworkPage::OnDecbylevel | ( | ) | [protected] |
Definition at line 340 of file DownloaderProperties_NetworkPage.cpp.
| void CDownloaderProperties_NetworkPage::OnSettolight | ( | ) | [protected] |
Definition at line 345 of file DownloaderProperties_NetworkPage.cpp.
| BOOL CDownloaderProperties_NetworkPage::OnHelpInfo | ( | HELPINFO * | pHelpInfo | ) | [protected] |
Definition at line 372 of file DownloaderProperties_NetworkPage.cpp.
References _CHMgr, FALSE, NULL, fsContextHelpMgr::OnWT(), PrepareCHMgr(), and TRUE.
| void CDownloaderProperties_NetworkPage::OnChangeMaxdldsval | ( | ) | [protected] |
Definition at line 389 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, and m_bIModifing.
| void CDownloaderProperties_NetworkPage::OnUsemaxdlds | ( | ) | [protected] |
Definition at line 395 of file DownloaderProperties_NetworkPage.cpp.
References FALSE, m_bIModifing, and UpdateEnabled().
Definition at line 25 of file DownloaderProperties_NetworkPage.h.
Referenced by DoDataExchange(), and OnInitDialog().
Definition at line 26 of file DownloaderProperties_NetworkPage.h.
Referenced by DoDataExchange(), OnInitDialog(), and OnSelchangeMode().
BOOL CDownloaderProperties_NetworkPage::m_bIModifing [protected] |
Definition at line 40 of file DownloaderProperties_NetworkPage.h.
Referenced by OnChangeMaxconns(), OnChangeMaxconnsperserver(), OnChangeMaxdldsval(), OnChangeTrafficlimitval(), OnSelchangeTrafficlimitdimension(), OnUsemaxconns(), OnUsemaxconnsperserver(), OnUsemaxdlds(), and WriteTUS().
fsTrafficUsageMode CDownloaderProperties_NetworkPage::m_aTUM[3] [protected] |
Definition at line 44 of file DownloaderProperties_NetworkPage.h.
Referenced by OnApply(), OnInitDialog(), ReadTUS(), and WriteTUS().
int CDownloaderProperties_NetworkPage::m_iCurMode [protected] |
Definition at line 45 of file DownloaderProperties_NetworkPage.h.
Referenced by OnInitDialog(), OnSelchangeMode(), ReadTUS(), UpdateEnabled(), and WriteTUS().
1.5.6