X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8105809ef8f7cb0d1a9933f3f790b7b446c7cfa..4997d3014cd76b41f2d4036dfd168ad886972f35:/utils/configtool/src/mainframe.h diff --git a/utils/configtool/src/mainframe.h b/utils/configtool/src/mainframe.h index d8c9460753..a80dce014c 100644 --- a/utils/configtool/src/mainframe.h +++ b/utils/configtool/src/mainframe.h @@ -12,13 +12,15 @@ #ifndef _AP_MAINFRAME_H_ #define _AP_MAINFRAME_H_ -#ifdef __GNUG__ +#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; @@ -26,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. @@ -120,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: @@ -145,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; }; /*!