diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-06-18 18:53:27 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-06-18 18:53:27 +0000 |
commit | 152c0f5c127eac99b5c9097aa4db2b34e14e6dd0 (patch) | |
tree | 0d399a92623e98588cd34e4fe0c2cf7fed880173 /examples/ConfigViewer/MainFrame.h | |
parent | 7e7f4a5d3e77a42e648b7dd2e1b9cf23a3780955 (diff) | |
download | ATCD-MyACE.tar.gz |
This commit was manufactured by cvs2svn to create branch 'MyACE'.MyACE
Diffstat (limited to 'examples/ConfigViewer/MainFrame.h')
-rw-r--r-- | examples/ConfigViewer/MainFrame.h | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/examples/ConfigViewer/MainFrame.h b/examples/ConfigViewer/MainFrame.h deleted file mode 100644 index 1ae7725fe80..00000000000 --- a/examples/ConfigViewer/MainFrame.h +++ /dev/null @@ -1,72 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -#ifndef _ConfigurationViewer_MainFrame_H -#define _ConfigurationViewer_MainFrame_H - -class ConfigTreeCtrl; -class ValueListCtrl; - -enum -{ - // menu items - QUIT = 1, - ABOUT, - FILE_NEW_PERSISTENT_HEAP, - FILE_NEW_TRANSIENT_HEAP, - FILE_OPEN_PERSISTENT_HEAP, - FILE_OPEN_REGISTRY, - FILE_EXPORT, - FILE_IMPORT, - LEFT_SASH, - FRAME_TREE -}; - - -class MainFrame : public wxFrame -{ -public: - /////////////////////////////////////////// - // Initializers - /////////////////////////////////////////// - MainFrame(const wxString& title, const wxPoint& pos, const wxSize& size); - virtual ~MainFrame(); - - /////////////////////////////////////////// - // Methods - /////////////////////////////////////////// - static MainFrame* Instance(); - void OnQuit(wxCommandEvent& event); - void OnAbout(wxCommandEvent& event); - void OnFileNewPersistentHeap(wxCommandEvent& event); - void OnFileNewTransientHeap(wxCommandEvent& event); - void OnFileOpenPersistentHeap(wxCommandEvent& event); - void OnFileOpenRegistry(wxCommandEvent& event); - void OnFileExport(wxCommandEvent& event); - void OnFileImport(wxCommandEvent& event); - void OnSize(wxSizeEvent& event); - - /////////////////////////////////////////// - // Attribute Accessors - /////////////////////////////////////////// - ACE_Configuration* GetpConfig() {return m_pConfig;}; -protected: - // Not Used - MainFrame(const MainFrame& RHS); - const MainFrame& operator=(const MainFrame& RHS); - - // Operations - void SetNewConfig(ACE_Configuration* pConfig); - - // Attributes - wxSplitterWindow* m_pSplitter; - ConfigTreeCtrl* m_pTreeCtrl; - ValueListCtrl* m_pListCtrl; -private: - DECLARE_EVENT_TABLE() - ACE_Configuration* m_pConfig; - static MainFrame* m_pInstance; -}; - -#endif - |