Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / utils / wxNamingViewer / wxNamingViewerFrame.h
blobe69fec6731a12b382b9d21fac8b0f5cf9603bac0
1 // wxNamingViewerFrame.h
3 #ifndef i_wxNamingViewerFrame_h
4 #define i_wxNamingViewerFrame_h
6 #include "orbsvcs/CosNamingC.h"
7 #include "wxNamingTree.h"
9 class WxNamingViewerFrame:
10 public wxFrame
12 public:
13 WxNamingViewerFrame(
14 const wxString& title,
15 const wxPoint& pos,
16 const wxSize& size,
17 CORBA::ORB_ptr pOrb);
18 virtual ~WxNamingViewerFrame();
20 void OnQuit( wxCommandEvent& event);
21 void OnAbout( wxCommandEvent& event);
22 void onSelectNS( wxCommandEvent& event);
24 private:
25 CORBA::ORB_ptr pOrb;
26 CosNaming::NamingContext_var rootContext;
27 WxNamingTree* tree;
28 wxTextCtrl* serverText;
29 wxString server;
30 class WxSelectNSDialog* selectNS;
31 void resolve();
32 void setDefaultNS();
34 void onMenuCopy( wxCommandEvent& event);
35 void onUpdateUICopy( wxUpdateUIEvent& event);
37 DECLARE_EVENT_TABLE()
40 #endif