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

CDiscoveryServiceDlg Class Reference

#include <DlgDiscoveryService.h>

Inheritance diagram for CDiscoveryServiceDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_DISCOVERY_SERVICE }

Public Member Functions

 CDiscoveryServiceDlg (CWnd *pParent=NULL, CDiscoveryService *pService=NULL)
virtual ~CDiscoveryServiceDlg ()

Public Attributes

CButton m_wndOK
CString m_sAddress
int m_nType
CDiscoveryServicem_pService
BOOL m_bNew

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnChangeAddress ()
afx_msg void OnSelChangeServiceType ()
virtual void OnOK ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file DlgDiscoveryService.h.


Constructor & Destructor Documentation

CDiscoveryServiceDlg::CDiscoveryServiceDlg CWnd *  pParent = NULL,
CDiscoveryService pService = NULL
 

Definition at line 46 of file DlgDiscoveryService.cpp.

CDiscoveryServiceDlg::~CDiscoveryServiceDlg  )  [virtual]
 

Definition at line 56 of file DlgDiscoveryService.cpp.

References m_bNew, and m_pService.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 61 of file DlgDiscoveryService.cpp.

References CSkinDialog::DoDataExchange(), IDC_ADDRESS, IDC_SERVICE_TYPE, m_nType, m_sAddress, and m_wndOK.

void CDiscoveryServiceDlg::OnChangeAddress  )  [protected]
 

Definition at line 99 of file DlgDiscoveryService.cpp.

References m_nType, m_sAddress, m_wndOK, and NULL.

Referenced by OnInitDialog(), and OnSelChangeServiceType().

BOOL CDiscoveryServiceDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 74 of file DlgDiscoveryService.cpp.

References CDiscoveryServices::Check(), DiscoveryServices, IDR_DISCOVERYFRAME, m_bNew, CDiscoveryService::m_nType, m_nType, CNetwork::m_pSection, m_pService, CDiscoveryService::m_sAddress, m_sAddress, Network, OnChangeAddress(), CSkinDialog::OnInitDialog(), and CSkinDialog::SkinMe().

void CDiscoveryServiceDlg::OnOK  )  [protected, virtual]
 

Definition at line 113 of file DlgDiscoveryService.cpp.

References CDiscoveryServices::Add(), CDiscoveryServices::Check(), DiscoveryServices, m_bNew, m_nType, CDiscoveryService::m_nType, CNetwork::m_pSection, m_pService, m_sAddress, CDiscoveryService::m_sAddress, Network, and NULL.

void CDiscoveryServiceDlg::OnSelChangeServiceType  )  [protected]
 

Definition at line 108 of file DlgDiscoveryService.cpp.

References OnChangeAddress().


Member Data Documentation

BOOL CDiscoveryServiceDlg::m_bNew
 

Definition at line 49 of file DlgDiscoveryService.h.

Referenced by OnInitDialog(), OnOK(), and ~CDiscoveryServiceDlg().

int CDiscoveryServiceDlg::m_nType
 

Definition at line 45 of file DlgDiscoveryService.h.

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

CDiscoveryService* CDiscoveryServiceDlg::m_pService
 

Definition at line 48 of file DlgDiscoveryService.h.

Referenced by OnInitDialog(), OnOK(), and ~CDiscoveryServiceDlg().

CString CDiscoveryServiceDlg::m_sAddress
 

Definition at line 44 of file DlgDiscoveryService.h.

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

CButton CDiscoveryServiceDlg::m_wndOK
 

Definition at line 43 of file DlgDiscoveryService.h.

Referenced by DoDataExchange(), and OnChangeAddress().


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