summaryrefslogtreecommitdiff
path: root/ACE/examples/ConfigViewer/ValueDlg.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 14:51:23 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 14:51:23 +0000
commit99aa8c60282c7b8072eb35eb9ac815702f5bf586 (patch)
treebda96bf8c3a4c2875a083d7b16720533c8ffeaf4 /ACE/examples/ConfigViewer/ValueDlg.h
parentc4078c377d74290ebe4e66da0b4975da91732376 (diff)
downloadATCD-99aa8c60282c7b8072eb35eb9ac815702f5bf586.tar.gz
undoing accidental deletion
Diffstat (limited to 'ACE/examples/ConfigViewer/ValueDlg.h')
-rw-r--r--ACE/examples/ConfigViewer/ValueDlg.h51
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
+