diff options
Diffstat (limited to 'ACE/examples/ConfigViewer/ValueDlg.h')
-rw-r--r-- | ACE/examples/ConfigViewer/ValueDlg.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ACE/examples/ConfigViewer/ValueDlg.h b/ACE/examples/ConfigViewer/ValueDlg.h new file mode 100644 index 00000000000..2ea4f026567 --- /dev/null +++ b/ACE/examples/ConfigViewer/ValueDlg.h @@ -0,0 +1,51 @@ +/* -*- C++ -*- */ +// $Id$ + +#ifndef _ConfigurationViewer_ValueDlg_H +#define _ConfigurationViewer_ValueDlg_H + +class ValueDlg : public wxDialog +{ +public: + /////////////////////////////////////////// + // Initializers + /////////////////////////////////////////// + ValueDlg(wxWindow* pParent, bool String); + // New Value Ctor + ValueDlg(wxWindow* pParent, wxString& Name, wxString& Value); + // Edit String Ctor + ValueDlg(wxWindow* pParent, wxString& Name, u_int Value); + // Edit UINT Ctor + virtual ~ValueDlg(); + + /////////////////////////////////////////// + // Methods + /////////////////////////////////////////// + const wxString& GetName(); + const wxString& GetStringValue(); + u_int GetUINTValue(); + + /////////////////////////////////////////// + // Attribute Accessors + /////////////////////////////////////////// + wxButton* m_pOK; + wxButton* m_pCancel; + wxStaticText* m_pName; + wxTextCtrl* m_pNameText; + wxStaticText* m_pValue; + wxTextCtrl* m_pValueText; +protected: + // Not Used + ValueDlg(const ValueDlg& RHS); + const ValueDlg& operator=(const ValueDlg& RHS); + + wxString m_Name; + wxString m_Value; + u_int m_UINTValue; + +private: + +}; + +#endif + |