summaryrefslogtreecommitdiff
path: root/TAO/utils/wxNamingViewer/wxSelectNSDialog.h
blob: b4e2eea2f47cbad6e034a4da660a18ee6b5b6e08 (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
// $Id$
// wxSelectNSDialog.h

#ifndef i_WxSelectNSDialog_h
#define i_WxSelectNSDialog_h

class WxSelectNSDialog : public
  wxDialog
{
public:
  WxSelectNSDialog( wxWindow* parent);
  virtual ~WxSelectNSDialog();

  const wxString& getIOR() const {return ior;};
  const wxString& getServerName() const {return serverName;};

private:
  void onAdd( wxCommandEvent& event);
  void onDefault( wxCommandEvent& event);
  void onInitDialog( wxInitDialogEvent& event);
  void onOK( wxCommandEvent& event);
  void onRemove( wxCommandEvent& event);
  void onLeftDClick( wxMouseEvent& event);

  class ACE_Configuration* config;

  wxListBox* servers;
  wxString ior;
  wxString serverName;

  DECLARE_EVENT_TABLE()
};

#endif