summaryrefslogtreecommitdiff
path: root/trunk/TAO/utils/wxNamingViewer/wxViewIORDialog.h
blob: facd56e2efad76e5bb5e491ae0c7aa015232645b (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
38
// $Id$
// wxViewIORDialog.h

#ifndef i_wxViewIORDialog_h
#define i_wxViewIORDialog_h


class WxViewIORDialog:
  public wxDialog
{
public:
  WxViewIORDialog(
      CORBA::ORB_ptr orb,
      CORBA::Object_ptr object,
      wxWindow* parent);

private:
  void OnApply( wxCommandEvent& event);
  void onIORText( wxCommandEvent& event);
  virtual bool TransferDataFromWindow();
  virtual bool TransferDataToWindow();
  void decodeIOR();

  wxString typeID;
  wxString ior;
  class wxTextCtrl* typeIDText;
  class wxTextCtrl* iorText;
  class wxTreeCtrl* profiles;
  class wxButton* applyButton;

  CORBA::Object_var object;
  CORBA::ORB_ptr    orb;

  DECLARE_EVENT_TABLE()
};

#endif