X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7463f75f9c170c29b4965d27dccf535ac32cfde..4997d3014cd76b41f2d4036dfd168ad886972f35:/utils/configtool/src/mainframe.h diff --git a/utils/configtool/src/mainframe.h b/utils/configtool/src/mainframe.h index 1e53bbc25e..a80dce014c 100644 --- a/utils/configtool/src/mainframe.h +++ b/utils/configtool/src/mainframe.h @@ -12,9 +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" +// #define USE_CONFIG_BROWSER_PAGE + class WXDLLEXPORT wxHtmlWindow; class WXDLLEXPORT wxSplitterWindow; class WXDLLEXPORT wxNotebookEvent; @@ -22,6 +28,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 +126,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 +157,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; }; /*!