Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / utils / NamingViewer / BindDialog.h
blob384bb7a7be1b72ea2a7525613484392066ccfb03
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:
40 // Generated message map functions
41 //{{AFX_MSG(CBindDialog)
42 afx_msg void OnViewior();
43 virtual BOOL OnInitDialog();
44 virtual void OnOK();
45 //}}AFX_MSG
46 DECLARE_MESSAGE_MAP()
47 CORBA::Object_var m_Object;
48 CORBA::ORB_ptr m_pORB;
49 CosNaming::Name m_Name;
50 bool m_Context;
53 //{{AFX_INSERT_LOCATION}}
54 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
56 #endif // !defined(AFX_BINDDIALOG_H__1F34ADC5_B0D8_11D3_BF27_00C0F03C565A__INCLUDED_)