#include <gtkmm.h>
#include "ardour/export_profile_manager.h"
+#include "ardour/session_handle.h"
#include "export_format_selector.h"
#include "export_filename_selector.h"
-namespace ARDOUR {
- class Session;
-}
-
-
-class ExportFileNotebook : public Gtk::Notebook
+class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
{
public:
void set_session_and_manager (ARDOUR::Session * s, boost::shared_ptr<ARDOUR::ExportProfileManager> manager);
void sync_with_manager ();
- Glib::ustring get_nth_format_name (uint32_t n);
+ std::string get_nth_format_name (uint32_t n);
sigc::signal<void> CriticalSelectionChanged;
class FilePage;
ManagerPtr profile_manager;
- ARDOUR::Session * session;
void add_new_file_page ();
void add_file_page (ARDOUR::ExportProfileManager::FormatStatePtr format_state, ARDOUR::ExportProfileManager::FilenameStatePtr filename_state);
Gtk::Widget & get_tab_widget () { return tab_widget; }
void set_remove_sensitive (bool value);
- Glib::ustring get_format_name () const;
+ std::string get_format_name () const;
ARDOUR::ExportProfileManager::FormatStatePtr get_format_state () const { return format_state; }
ARDOUR::ExportProfileManager::FilenameStatePtr get_filename_state () const { return filename_state; }
Gtk::Label format_label;
Gtk::Alignment format_align;
ExportFormatSelector format_selector;
+ PBD::ScopedConnection format_connection;
Gtk::Label filename_label;
Gtk::Alignment filename_align;