Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / utils / NamingViewer / BindDialog.h
blob27ce08764ee8e31280ee989cb4c7f9f2c8b40248
1 #if !defined(AFX_BINDDIALOG_H__1F34ADC5_B0D8_11D3_BF27_00C0F03C565A__INCLUDED_)
2 #define AFX_BINDDIALOG_H__1F34ADC5_B0D8_11D3_BF27_00C0F03C565A__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // BindDialog.h : header file
8 //
9 #include "tao/corba.h"
10 #include "orbsvcs/CosNamingC.h"
11 /////////////////////////////////////////////////////////////////////////////
12 // CBindDialog dialog
14 class CBindDialog : public CDialog
16 // Construction
17 public:
18 CBindDialog(bool Context, CORBA::ORB_ptr pORB, CWnd* pParent = 0); // standard constructor
20 // Dialog Data
21 //{{AFX_DATA(CBindDialog)
22 enum { IDD = IDD_BIND };
23 CString m_IOR;
24 CString m_ID;
25 CString m_Kind;
26 //}}AFX_DATA
27 CORBA::Object_ptr GetObject() {return m_Object;};
29 CosNaming::Name& GetName() {return m_Name;};
31 // Overrides
32 // ClassWizard generated virtual function overrides
33 //{{AFX_VIRTUAL(CBindDialog)
34 protected:
35 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
36 //}}AFX_VIRTUAL
38 // Implementation
39 protected:
41 // Generated message map functions
42 //{{AFX_MSG(CBindDialog)
43 afx_msg void OnViewior();
44 virtual BOOL OnInitDialog();
45 virtual void OnOK();
46 //}}AFX_MSG
47 DECLARE_MESSAGE_MAP()
48 CORBA::Object_var m_Object;
49 CORBA::ORB_ptr m_pORB;
50 CosNaming::Name m_Name;
51 bool m_Context;
54 //{{AFX_INSERT_LOCATION}}
55 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
57 #endif // !defined(AFX_BINDDIALOG_H__1F34ADC5_B0D8_11D3_BF27_00C0F03C565A__INCLUDED_)