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

CRemoteSettingsPage Class Reference

#include <PageSettingsRemote.h>

Inheritance diagram for CRemoteSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_REMOTE }

Public Member Functions

 CRemoteSettingsPage ()
virtual ~CRemoteSettingsPage ()

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnNewPassword ()
afx_msg void OnBnClickedRemoteEnable ()
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
virtual void OnCancel ()

Protected Attributes

BOOL m_bEnable
CStatic m_wndURL
CEdit m_wndUsername
CString m_sUsername
CEdit m_wndPassword
CString m_sPassword
BOOL m_bOldEnable
CString m_sOldUsername
CString m_sOldPassword

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 35 of file PageSettingsRemote.h.


Constructor & Destructor Documentation

CRemoteSettingsPage::CRemoteSettingsPage  ) 
 

Definition at line 51 of file PageSettingsRemote.cpp.

CRemoteSettingsPage::~CRemoteSettingsPage  )  [virtual]
 

Definition at line 56 of file PageSettingsRemote.cpp.


Member Function Documentation

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

Reimplemented from CSettingsPage.

Definition at line 60 of file PageSettingsRemote.cpp.

References CSettingsPage::DoDataExchange(), IDC_REMOTE_ENABLE, IDC_REMOTE_PASSWORD, IDC_REMOTE_URL, IDC_REMOTE_USERNAME, m_bEnable, m_sPassword, m_sUsername, m_wndPassword, m_wndURL, and m_wndUsername.

void CRemoteSettingsPage::OnBnClickedRemoteEnable  )  [protected]
 

Definition at line 113 of file PageSettingsRemote.cpp.

References CSettings::sRemote::Enable, Handshakes, IDS_REMOTE_DISABLED, IDS_REMOTE_ENABLED, IDS_REMOTE_UNAVAILABLE, CHandshakes::IsListening(), CNetwork::IsListening(), LoadString(), m_bEnable, CNetwork::m_pHost, m_sUsername, m_wndPassword, m_wndURL, m_wndUsername, Network, CSettings::sRemote::Password, CSettings::Remote, Settings, and CSettings::sRemote::Username.

Referenced by OnInitDialog(), and OnNewPassword().

void CRemoteSettingsPage::OnCancel  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 208 of file PageSettingsRemote.cpp.

References CSettings::sRemote::Enable, m_bOldEnable, m_sOldPassword, m_sOldUsername, CSettingsPage::OnCancel(), CSettings::sRemote::Password, CSettings::Remote, Settings, and CSettings::sRemote::Username.

HBRUSH CRemoteSettingsPage::OnCtlColor CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor
[protected]
 

Reimplemented from CSettingsPage.

Definition at line 161 of file PageSettingsRemote.cpp.

References CShareazaApp::m_gdiFontLine, m_wndURL, CSettingsPage::OnCtlColor(), and theApp.

BOOL CRemoteSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 74 of file PageSettingsRemote.cpp.

References CSettings::sRemote::Enable, m_bEnable, m_bOldEnable, m_sOldPassword, m_sOldUsername, m_sPassword, m_sUsername, OnBnClickedRemoteEnable(), CSettingsPage::OnInitDialog(), CSettings::sRemote::Password, CSettings::Remote, Settings, and CSettings::sRemote::Username.

void CRemoteSettingsPage::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 192 of file PageSettingsRemote.cpp.

References m_wndURL, and NULL.

void CRemoteSettingsPage::OnNewPassword  )  [protected]
 

Definition at line 90 of file PageSettingsRemote.cpp.

References CSHA::Add(), CSHA::Finish(), CSHA::GetHashString(), m_sOldPassword, m_sPassword, OnBnClickedRemoteEnable(), CSettings::sRemote::Password, CSettings::Remote, and Settings.

BOOL CRemoteSettingsPage::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
[protected]
 

Definition at line 174 of file PageSettingsRemote.cpp.

References IDC_HAND, and m_wndURL.


Member Data Documentation

BOOL CRemoteSettingsPage::m_bEnable [protected]
 

Definition at line 39 of file PageSettingsRemote.h.

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

BOOL CRemoteSettingsPage::m_bOldEnable [protected]
 

Definition at line 46 of file PageSettingsRemote.h.

Referenced by OnCancel(), and OnInitDialog().

CString CRemoteSettingsPage::m_sOldPassword [protected]
 

Definition at line 48 of file PageSettingsRemote.h.

Referenced by OnCancel(), OnInitDialog(), and OnNewPassword().

CString CRemoteSettingsPage::m_sOldUsername [protected]
 

Definition at line 47 of file PageSettingsRemote.h.

Referenced by OnCancel(), and OnInitDialog().

CString CRemoteSettingsPage::m_sPassword [protected]
 

Definition at line 44 of file PageSettingsRemote.h.

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

CString CRemoteSettingsPage::m_sUsername [protected]
 

Definition at line 42 of file PageSettingsRemote.h.

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

CEdit CRemoteSettingsPage::m_wndPassword [protected]
 

Definition at line 43 of file PageSettingsRemote.h.

Referenced by DoDataExchange(), and OnBnClickedRemoteEnable().

CStatic CRemoteSettingsPage::m_wndURL [protected]
 

Definition at line 40 of file PageSettingsRemote.h.

Referenced by DoDataExchange(), OnBnClickedRemoteEnable(), OnCtlColor(), OnLButtonUp(), and OnSetCursor().

CEdit CRemoteSettingsPage::m_wndUsername [protected]
 

Definition at line 41 of file PageSettingsRemote.h.

Referenced by DoDataExchange(), and OnBnClickedRemoteEnable().


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