Put the sidechain ports into a dedicated tab in PortMatrix
[ardour.git] / gtk2_ardour / export_file_notebook.h
index 3588197469c8bdfc354c6d87373ace26726f1eba..d2545cb0ae61ddde9fd7e4b5de8f36d4a3a3b222 100644 (file)
 #define __export_file_notebook_h__
 
 #include <sigc++/signal.h>
-#include <gtkmm.h>
+
+#include <gtkmm/alignment.h>
+#include <gtkmm/box.h>
+#include <gtkmm/button.h>
+#include <gtkmm/checkbutton.h>
+#include <gtkmm/label.h>
+#include <gtkmm/notebook.h>
 
 #include "ardour/export_profile_manager.h"
 #include "ardour/session_handle.h"
@@ -33,7 +39,7 @@
 
 class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
 {
-  public:
+public:
 
        ExportFileNotebook ();
 
@@ -45,7 +51,7 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
 
        sigc::signal<void> CriticalSelectionChanged;
 
-  private:
+private:
 
        typedef boost::shared_ptr<ARDOUR::ExportProfileManager> ManagerPtr;
        typedef boost::shared_ptr<ARDOUR::ExportFormatSpecification> FormatPtr;
@@ -70,8 +76,9 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
        uint32_t     last_visible_page;
        uint32_t     page_counter;
 
-       class FilePage : public Gtk::VBox {
-         public:
+       class FilePage : public Gtk::VBox
+       {
+       public:
                FilePage (ARDOUR::Session * s, ManagerPtr profile_manager, ExportFileNotebook * parent, uint32_t number,
                          ARDOUR::ExportProfileManager::FormatStatePtr format_state,
                          ARDOUR::ExportProfileManager::FilenameStatePtr filename_state);
@@ -93,15 +100,13 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
 
                sigc::signal<void> CriticalSelectionChanged;
 
-         private:
+       private:
                void save_format_to_manager (FormatPtr format);
                void update_tab_label ();
                void critical_selection_changed ();
                void analysis_changed ();
                void soundcloud_upload_changed ();
 
-               void on_hide ();
-
                ARDOUR::ExportProfileManager::FormatStatePtr   format_state;
                ARDOUR::ExportProfileManager::FilenameStatePtr filename_state;
                ManagerPtr                                     profile_manager;
@@ -124,8 +129,6 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
                Gtk::Alignment          tab_close_alignment;
                Gtk::Button             tab_close_button;
                uint32_t                tab_number;
-
-               bool                    save_format_on_hide;
        };
 };