summaryrefslogtreecommitdiff
path: root/TAO/utils/wxNamingViewer/wxBindDialog.h
blob: a1a07afe1e4780948db4ebaafb224eb1e630348f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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