Merge remote-tracking branch 'upstream/master'
[ACE_TAO.git] / TAO / utils / NamingViewer / SelectNSDialog.h
blobacee77ff4f2327f0abd0e322999ef1f2137a5684
1 #if !defined(AFX_SELECTNSDIALOG_H__2AF5C353_B440_11D3_BF2C_00C0F03C565A__INCLUDED_)
2 #define AFX_SELECTNSDIALOG_H__2AF5C353_B440_11D3_BF2C_00C0F03C565A__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // SelectNSDialog.h : header file
8 //
9 #include "ace/Configuration.h"
11 /////////////////////////////////////////////////////////////////////////////
12 // CSelectNSDialog dialog
14 class CSelectNSDialog : public CDialog
16 // Construction
17 public:
18 CSelectNSDialog(CWnd* pParent = 0); // standard constructor
20 // Dialog Data
21 //{{AFX_DATA(CSelectNSDialog)
22 enum { IDD = IDD_SELECT_NS };
23 CListBox m_Servers;
24 //}}AFX_DATA
26 const CString& GetIOR() const {return m_IOR;};
27 const CString& GetName() const {return m_Name;};
28 // Overrides
29 // ClassWizard generated virtual function overrides
30 //{{AFX_VIRTUAL(CSelectNSDialog)
31 protected:
32 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
33 //}}AFX_VIRTUAL
35 // Implementation
36 protected:
38 // Generated message map functions
39 //{{AFX_MSG(CSelectNSDialog)
40 virtual void OnOK();
41 afx_msg void OnAdd();
42 afx_msg void OnRemove();
43 virtual BOOL OnInitDialog();
44 afx_msg void OnDestroy();
45 //}}AFX_MSG
46 DECLARE_MESSAGE_MAP()
49 ACE_Configuration_Win32Registry* m_pConfig;
50 CString m_IOR;
51 CString m_Name;
54 //{{AFX_INSERT_LOCATION}}
55 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
57 #endif // !defined(AFX_SELECTNSDIALOG_H__2AF5C353_B440_11D3_BF2C_00C0F03C565A__INCLUDED_)