X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_dialog.h;h=09385a4b846525dea47e85b444a68b9734191671;hb=6b1b72a247bf04c81292fc41af4f69c9b7f90379;hp=315780750e6c9813c066502dcdcd5f68465d2b2d;hpb=8c9749e42faf7808034ed8b7afce4a2fe6dc6f33;p=ardour.git diff --git a/gtk2_ardour/export_dialog.h b/gtk2_ardour/export_dialog.h index 315780750e..09385a4b84 100644 --- a/gtk2_ardour/export_dialog.h +++ b/gtk2_ardour/export_dialog.h @@ -21,8 +21,14 @@ #ifndef __export_dialog_h__ #define __export_dialog_h__ -#include #include +#include + +#include +#include +#include +#include +#include #include "ardour/export_profile_manager.h" @@ -34,8 +40,6 @@ #include "ardour_dialog.h" #include "soundcloud_export_selector.h" -#include - namespace ARDOUR { class ExportStatus; class ExportHandler; @@ -44,10 +48,9 @@ namespace ARDOUR { class ExportTimespanSelector; class ExportChannelSelector; -class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList +class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList { - - public: +public: ExportDialog (PublicEditor & editor, std::string title, ARDOUR::ExportProfileManager::ExportType type); ~ExportDialog (); @@ -62,7 +65,11 @@ class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList RESPONSE_CANCEL }; - protected: +protected: + + void on_response (int response_id) { + Gtk::Dialog::on_response (response_id); + } typedef boost::shared_ptr HandlerPtr; typedef boost::shared_ptr ManagerPtr; @@ -81,7 +88,8 @@ class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList boost::scoped_ptr timespan_selector; boost::scoped_ptr channel_selector; boost::scoped_ptr file_notebook; - boost::scoped_ptr soundcloud_selector; + + boost::shared_ptr soundcloud_selector; Gtk::VBox warning_widget; Gtk::VBox progress_widget; @@ -89,7 +97,7 @@ class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList /*** GUI components ***/ Gtk::Notebook export_notebook; - private: +private: void init (); @@ -102,6 +110,9 @@ class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList void do_export (); + void update_realtime_selection (); + void parameter_changed (std::string const&); + void show_progress (); gint progress_timeout (); @@ -116,12 +127,12 @@ class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList Gtk::HBox warn_hbox; Gtk::Label warn_label; - std::string warn_string; + std::string warn_string; Gtk::HBox list_files_hbox; Gtk::Label list_files_label; Gtk::Button list_files_button; - std::string list_files_string; + std::string list_files_string; void add_error (std::string const & text); void add_warning (std::string const & text);