]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/mainframe.h
reSWIGged
[wxWidgets.git] / utils / configtool / src / mainframe.h
index 1e53bbc25e300b5ba756187e00950368082a63e6..9ad6366a866747f86e84e2cfb942e454bd07faae 100644 (file)
 #ifndef _AP_MAINFRAME_H_
 #define _AP_MAINFRAME_H_
 
+#ifdef __GNUG__
+#pragma interface "mainframe.cpp"
+#endif
+
 #include "wx/imaglist.h"
 #include "wx/docview.h"
 
@@ -22,6 +26,8 @@ class WXDLLEXPORT wxNotebookEvent;
 class ctConfigTreeCtrl;
 class ctPropertyEditor;
 class ctOutputWindow;
+class ctFindReplaceDialog;
+class ctConfigurationBrowserWindow;
 
 /*!
  * \brief The main window of the application.
@@ -116,6 +122,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 +153,12 @@ protected:
     wxNotebook*             m_mainNotebook;
     ctOutputWindow*         m_setupPage;
     ctOutputWindow*         m_configurePage;
+
+    // The control panel for browsing, adding and removing
+    // configurations.
+    ctConfigurationBrowserWindow*   m_configBrowserPage;
+
+    ctFindReplaceDialog*    m_findDialog;
 };
 
 /*!