X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_file_notebook.h;h=d2545cb0ae61ddde9fd7e4b5de8f36d4a3a3b222;hb=415721fa5b48f3c3dc164ac60095c095c4e48ad0;hp=43f64bf87ebb84e4099f4196c177ee6231a5bc03;hpb=ee3125318727976894d7a3d434e5e43d2c90a066;p=ardour.git diff --git a/gtk2_ardour/export_file_notebook.h b/gtk2_ardour/export_file_notebook.h index 43f64bf87e..d2545cb0ae 100644 --- a/gtk2_ardour/export_file_notebook.h +++ b/gtk2_ardour/export_file_notebook.h @@ -22,7 +22,13 @@ #define __export_file_notebook_h__ #include -#include + +#include +#include +#include +#include +#include +#include #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 CriticalSelectionChanged; - private: +private: typedef boost::shared_ptr ManagerPtr; typedef boost::shared_ptr 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); @@ -85,16 +92,20 @@ class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr void update_example_filename(); + void update_analysis_button (); + void update_soundcloud_upload_button (); + ARDOUR::ExportProfileManager::FormatStatePtr get_format_state () const { return format_state; } ARDOUR::ExportProfileManager::FilenameStatePtr get_filename_state () const { return filename_state; } sigc::signal 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 (); ARDOUR::ExportProfileManager::FormatStatePtr format_state; ARDOUR::ExportProfileManager::FilenameStatePtr filename_state;