diff options
Diffstat (limited to 'TAO/utils/wxNamingViewer/wxBindDialog.h')
-rw-r--r-- | TAO/utils/wxNamingViewer/wxBindDialog.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/TAO/utils/wxNamingViewer/wxBindDialog.h b/TAO/utils/wxNamingViewer/wxBindDialog.h new file mode 100644 index 00000000000..a1a07afe1e4 --- /dev/null +++ b/TAO/utils/wxNamingViewer/wxBindDialog.h @@ -0,0 +1,37 @@ +// $Id$ +// wxBindDialog.h + +#ifndef i_wxBindDialog_h +#define i_wxBindDialog_h + +#include "orbsvcs/CosNamingC.h" + + +class WxBindDialog: + public wxDialog +{ +public: + WxBindDialog( bool isContext, CORBA::ORB_ptr orb, wxWindow* parent); + + CORBA::Object_ptr getObject() {return object.in();}; + CosNaming::Name& getName() {return name;}; + +private: + wxString ior; + wxString id; + wxString kind; + + virtual bool TransferDataFromWindow(); + + void onViewIOR( wxCommandEvent& event); + + CORBA::Object_var object; + CORBA::ORB_ptr orb; + CosNaming::Name name; + bool isContext; + + DECLARE_EVENT_TABLE() +}; + +#endif + |