X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7463f75f9c170c29b4965d27dccf535ac32cfde..3c907f1a7faaec6e38553359b96169eabba98e2c:/utils/configtool/src/mainframe.h diff --git a/utils/configtool/src/mainframe.h b/utils/configtool/src/mainframe.h index 1e53bbc25e..f809d477e1 100644 --- a/utils/configtool/src/mainframe.h +++ b/utils/configtool/src/mainframe.h @@ -12,8 +12,15 @@ #ifndef _AP_MAINFRAME_H_ #define _AP_MAINFRAME_H_ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) +#pragma interface "mainframe.cpp" +#endif + #include "wx/imaglist.h" #include "wx/docview.h" +#include "wx/notebook.h" + +// #define USE_CONFIG_BROWSER_PAGE class WXDLLEXPORT wxHtmlWindow; class WXDLLEXPORT wxSplitterWindow; @@ -22,6 +29,10 @@ class WXDLLEXPORT wxNotebookEvent; class ctConfigTreeCtrl; class ctPropertyEditor; class ctOutputWindow; +class ctFindReplaceDialog; +#ifdef USE_CONFIG_BROWSER_PAGE +class ctConfigurationBrowserWindow; +#endif /*! * \brief The main window of the application. @@ -116,6 +127,12 @@ class ctMainFrame: public wxDocParentFrame /// Returns the main notebook containing editor and text tabs wxNotebook* GetMainNotebook() const { return m_mainNotebook; } + /// Sets the find dialog for future closing + void SetFindDialog(ctFindReplaceDialog* findDialog) { m_findDialog = findDialog; } + + /// Gets the find dialog + ctFindReplaceDialog* GetFindDialog() const { return m_findDialog ; } + DECLARE_EVENT_TABLE() protected: @@ -141,6 +158,14 @@ protected: wxNotebook* m_mainNotebook; ctOutputWindow* m_setupPage; ctOutputWindow* m_configurePage; + + // The control panel for browsing, adding and removing + // configurations. +#ifdef USE_CONFIG_BROWSER_PAGE + ctConfigurationBrowserWindow* m_configBrowserPage; +#endif + + ctFindReplaceDialog* m_findDialog; }; /*!