Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CGnutellaSettingsPage Class Reference

#include <PageSettingsGnutella.h>

Inheritance diagram for CGnutellaSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_GNUTELLA }

Public Member Functions

 CGnutellaSettingsPage ()
virtual ~CGnutellaSettingsPage ()
virtual BOOL OnSetActive ()
virtual void OnOK ()

Public Attributes

CSpinButtonCtrl m_wndG2Peers
CSpinButtonCtrl m_wndG2Leafs
CSpinButtonCtrl m_wndG2Hubs
CSpinButtonCtrl m_wndG1Peers
CSpinButtonCtrl m_wndG1Leafs
CSpinButtonCtrl m_wndG1Hubs
BOOL m_bG2Today
BOOL m_bG1Today
BOOL m_bG1Always
CButton m_wndG2Always
CComboBox m_wndG1ClientMode
int m_nG1Hubs
int m_nG1Leafs
int m_nG1Peers
CComboBox m_wndG2ClientMode
int m_nG2Hubs
int m_nG2Leafs
int m_nG2Peers
BOOL m_bDeflateHub2Hub
BOOL m_bDeflateLeaf2Hub
BOOL m_bDeflateHub2Leaf
BOOL m_bAgent

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnG2Today ()
afx_msg void OnG1Today ()
afx_msg void OnG2Always ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageSettingsGnutella.h.


Constructor & Destructor Documentation

CGnutellaSettingsPage::CGnutellaSettingsPage  ) 
 

Definition at line 50 of file PageSettingsGnutella.cpp.

CGnutellaSettingsPage::~CGnutellaSettingsPage  )  [virtual]
 

Definition at line 68 of file PageSettingsGnutella.cpp.


Member Function Documentation

void CGnutellaSettingsPage::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 72 of file PageSettingsGnutella.cpp.

References CSettingsPage::DoDataExchange(), IDC_DEFLATE_HUB2HUB, IDC_DEFLATE_HUB2LEAF, IDC_DEFLATE_LEAF2HUB, IDC_G1_ALWAYS, IDC_G1_CLIENTMODE, IDC_G1_HUBS, IDC_G1_HUBS_SPIN, IDC_G1_LEAFS, IDC_G1_LEAFS_SPIN, IDC_G1_PEERS, IDC_G1_PEERS_SPIN, IDC_G1_TODAY, IDC_G2_ALWAYS, IDC_G2_CLIENTMODE, IDC_G2_HUBS, IDC_G2_HUBS_SPIN, IDC_G2_LEAFS, IDC_G2_LEAFS_SPIN, IDC_G2_PEERS, IDC_G2_PEERS_SPIN, IDC_G2_TODAY, m_bDeflateHub2Hub, m_bDeflateHub2Leaf, m_bDeflateLeaf2Hub, m_bG1Always, m_bG1Today, m_bG2Today, m_nG1Hubs, m_nG1Leafs, m_nG1Peers, m_nG2Hubs, m_nG2Leafs, m_nG2Peers, m_wndG1ClientMode, m_wndG1Hubs, m_wndG1Leafs, m_wndG1Peers, m_wndG2Always, m_wndG2ClientMode, m_wndG2Hubs, m_wndG2Leafs, and m_wndG2Peers.

void CGnutellaSettingsPage::OnG1Today  )  [protected]
 

Definition at line 202 of file PageSettingsGnutella.cpp.

References CSettings::GetOutgoingBandwidth(), CSettingsPage::GetPage(), IDS_NETWORK_BANDWIDTH_LOW, LoadString(), CNetworksSettingsPage::m_bG1Enable, m_bG1Today, NULL, and Settings.

void CGnutellaSettingsPage::OnG2Always  )  [protected]
 

Definition at line 297 of file PageSettingsGnutella.cpp.

References m_wndG2Always.

void CGnutellaSettingsPage::OnG2Today  )  [protected]
 

Definition at line 175 of file PageSettingsGnutella.cpp.

References CSettingsPage::GetPage(), IDS_NETWORK_DISABLE_G2, LoadString(), CNetworksSettingsPage::m_bG2Enable, m_bG2Today, and NULL.

BOOL CGnutellaSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 103 of file PageSettingsGnutella.cpp.

References CSettings::sGnutella2::ClientMode, CSettings::sGnutella1::ClientMode, CSettings::sGnutella::DeflateHub2Hub, CSettings::sGnutella::DeflateHub2Leaf, CSettings::sGnutella::DeflateLeaf2Hub, CSettings::sGnutella1::EnableAlways, CSettings::sGnutella1::EnableToday, CSettings::sGnutella2::EnableToday, CSettings::Gnutella, CSettings::Gnutella1, CSettings::Gnutella2, m_bDeflateHub2Hub, m_bDeflateHub2Leaf, m_bDeflateLeaf2Hub, m_bG1Always, m_bG1Today, m_bG2Today, CShareazaApp::m_bNT, m_nG1Hubs, m_nG1Leafs, m_nG1Peers, m_nG2Hubs, m_nG2Leafs, m_nG2Peers, m_wndG1ClientMode, m_wndG1Hubs, m_wndG1Leafs, m_wndG1Peers, m_wndG2Always, m_wndG2ClientMode, m_wndG2Hubs, m_wndG2Leafs, m_wndG2Peers, MODE_AUTO, MODE_HUB, MODE_LEAF, MODE_ULTRAPEER, CSettings::sGnutella2::NumHubs, CSettings::sGnutella1::NumHubs, CSettings::sGnutella2::NumLeafs, CSettings::sGnutella1::NumLeafs, CSettings::sGnutella2::NumPeers, CSettings::sGnutella1::NumPeers, CSettingsPage::OnInitDialog(), Settings, and theApp.

void CGnutellaSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 227 of file PageSettingsGnutella.cpp.

References CSettings::sGnutella1::ClientMode, CSettings::sGnutella2::ClientMode, CSettings::sGnutella::DeflateHub2Hub, CSettings::sGnutella::DeflateHub2Leaf, CSettings::sGnutella::DeflateLeaf2Hub, CSettings::sGnutella1::EnableAlways, CSettings::sGnutella1::EnableToday, CSettings::sGnutella2::EnableToday, CSettings::GetOutgoingBandwidth(), CSettings::Gnutella, CSettings::Gnutella1, CSettings::Gnutella2, IDS_NETWORK_FORCE_HUB, LoadString(), m_bDeflateHub2Hub, m_bDeflateHub2Leaf, m_bDeflateLeaf2Hub, m_bG1Always, m_bG1Today, m_bG2Today, m_nG1Hubs, m_nG1Leafs, m_nG1Peers, m_nG2Hubs, m_nG2Leafs, m_nG2Peers, m_wndG1ClientMode, m_wndG2ClientMode, MODE_AUTO, MODE_HUB, MODE_ULTRAPEER, CSettings::sGnutella2::NumHubs, CSettings::sGnutella1::NumHubs, CSettings::sGnutella2::NumLeafs, CSettings::sGnutella1::NumLeafs, CSettings::sGnutella2::NumPeers, CSettings::sGnutella1::NumPeers, CSettingsPage::OnOK(), and Settings.

BOOL CGnutellaSettingsPage::OnSetActive  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 159 of file PageSettingsGnutella.cpp.

References CSettingsPage::GetPage(), CNetworksSettingsPage::m_bG1Enable, m_bG1Today, CNetworksSettingsPage::m_bG2Enable, m_bG2Today, NULL, and CSettingsPage::OnSetActive().


Member Data Documentation

BOOL CGnutellaSettingsPage::m_bAgent
 

Definition at line 65 of file PageSettingsGnutella.h.

BOOL CGnutellaSettingsPage::m_bDeflateHub2Hub
 

Definition at line 61 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGnutellaSettingsPage::m_bDeflateHub2Leaf
 

Definition at line 63 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGnutellaSettingsPage::m_bDeflateLeaf2Hub
 

Definition at line 62 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGnutellaSettingsPage::m_bG1Always
 

Definition at line 51 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CGnutellaSettingsPage::m_bG1Today
 

Definition at line 50 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), CNetworksSettingsPage::OnG1Enable(), OnG1Today(), OnInitDialog(), OnOK(), CNetworksSettingsPage::OnSetActive(), and OnSetActive().

BOOL CGnutellaSettingsPage::m_bG2Today
 

Definition at line 49 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), CNetworksSettingsPage::OnG2Enable(), OnG2Today(), OnInitDialog(), OnOK(), CNetworksSettingsPage::OnSetActive(), and OnSetActive().

int CGnutellaSettingsPage::m_nG1Hubs
 

Definition at line 54 of file PageSettingsGnutella.h.

Referenced by CBandwidthSettingsPage::Calculate(), DoDataExchange(), OnInitDialog(), and OnOK().

int CGnutellaSettingsPage::m_nG1Leafs
 

Definition at line 55 of file PageSettingsGnutella.h.

Referenced by CBandwidthSettingsPage::Calculate(), DoDataExchange(), OnInitDialog(), and OnOK().

int CGnutellaSettingsPage::m_nG1Peers
 

Definition at line 56 of file PageSettingsGnutella.h.

Referenced by CBandwidthSettingsPage::Calculate(), DoDataExchange(), OnInitDialog(), and OnOK().

int CGnutellaSettingsPage::m_nG2Hubs
 

Definition at line 58 of file PageSettingsGnutella.h.

Referenced by CBandwidthSettingsPage::Calculate(), DoDataExchange(), OnInitDialog(), and OnOK().

int CGnutellaSettingsPage::m_nG2Leafs
 

Definition at line 59 of file PageSettingsGnutella.h.

Referenced by CBandwidthSettingsPage::Calculate(), DoDataExchange(), OnInitDialog(), and OnOK().

int CGnutellaSettingsPage::m_nG2Peers
 

Definition at line 60 of file PageSettingsGnutella.h.

Referenced by CBandwidthSettingsPage::Calculate(), DoDataExchange(), OnInitDialog(), and OnOK().

CComboBox CGnutellaSettingsPage::m_wndG1ClientMode
 

Definition at line 53 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CSpinButtonCtrl CGnutellaSettingsPage::m_wndG1Hubs
 

Definition at line 48 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), and OnInitDialog().

CSpinButtonCtrl CGnutellaSettingsPage::m_wndG1Leafs
 

Definition at line 47 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), and OnInitDialog().

CSpinButtonCtrl CGnutellaSettingsPage::m_wndG1Peers
 

Definition at line 46 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), and OnInitDialog().

CButton CGnutellaSettingsPage::m_wndG2Always
 

Definition at line 52 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnG2Always(), and OnInitDialog().

CComboBox CGnutellaSettingsPage::m_wndG2ClientMode
 

Definition at line 57 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CSpinButtonCtrl CGnutellaSettingsPage::m_wndG2Hubs
 

Definition at line 45 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), and OnInitDialog().

CSpinButtonCtrl CGnutellaSettingsPage::m_wndG2Leafs
 

Definition at line 44 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), and OnInitDialog().

CSpinButtonCtrl CGnutellaSettingsPage::m_wndG2Peers
 

Definition at line 43 of file PageSettingsGnutella.h.

Referenced by DoDataExchange(), and OnInitDialog().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:07 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2