]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/mainframe.h
fix typo
[wxWidgets.git] / utils / configtool / src / mainframe.h
index 1e53bbc25e300b5ba756187e00950368082a63e6..f809d477e163a9ea55f68d1987a9be470484861d 100644 (file)
 #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;
 };
 
 /*!