projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move a forward declaration (for class ArdourVSpacer) so that MSVC can also use it
[ardour.git]
/
gtk2_ardour
/
export_file_notebook.h
diff --git
a/gtk2_ardour/export_file_notebook.h
b/gtk2_ardour/export_file_notebook.h
index 720c3b4bfde9a3bc000e05ad4bb61553a7880857..84d05c102548b66cc95e162801b21f7d5d351433 100644
(file)
--- a/
gtk2_ardour/export_file_notebook.h
+++ b/
gtk2_ardour/export_file_notebook.h
@@
-29,6
+29,7
@@
#include "export_format_selector.h"
#include "export_filename_selector.h"
#include "export_format_selector.h"
#include "export_filename_selector.h"
+#include "soundcloud_export_selector.h"
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
{
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
{
@@
-38,8
+39,9
@@
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
void set_session_and_manager (ARDOUR::Session * s, boost::shared_ptr<ARDOUR::ExportProfileManager> manager);
void sync_with_manager ();
void set_session_and_manager (ARDOUR::Session * s, boost::shared_ptr<ARDOUR::ExportProfileManager> manager);
void sync_with_manager ();
+ void update_example_filenames();
-
Glib::ustring get_nth_format_name (uint32_t n)
;
+
boost::shared_ptr<SoundcloudExportSelector> soundcloud_export_selector
;
sigc::signal<void> CriticalSelectionChanged;
sigc::signal<void> CriticalSelectionChanged;
@@
-56,6
+58,7
@@
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
void add_file_page (ARDOUR::ExportProfileManager::FormatStatePtr format_state, ARDOUR::ExportProfileManager::FilenameStatePtr filename_state);
void remove_file_page (FilePage * page);
void update_remove_file_page_sensitivity ();
void add_file_page (ARDOUR::ExportProfileManager::FormatStatePtr format_state, ARDOUR::ExportProfileManager::FilenameStatePtr filename_state);
void remove_file_page (FilePage * page);
void update_remove_file_page_sensitivity ();
+ void update_soundcloud_upload ();
sigc::connection page_change_connection;
void handle_page_change (GtkNotebookPage*, uint32_t page);
sigc::connection page_change_connection;
void handle_page_change (GtkNotebookPage*, uint32_t page);
@@
-77,7
+80,13
@@
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
Gtk::Widget & get_tab_widget () { return tab_widget; }
void set_remove_sensitive (bool value);
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;
+ bool get_soundcloud_upload () const;
+
+ 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; }
ARDOUR::ExportProfileManager::FormatStatePtr get_format_state () const { return format_state; }
ARDOUR::ExportProfileManager::FilenameStatePtr get_filename_state () const { return filename_state; }
@@
-87,6
+96,9
@@
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
private:
void save_format_to_manager (FormatPtr format);
void update_tab_label ();
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;
ARDOUR::ExportProfileManager::FormatStatePtr format_state;
ARDOUR::ExportProfileManager::FilenameStatePtr filename_state;
@@
-97,11
+109,14
@@
class ExportFileNotebook : public Gtk::Notebook, public ARDOUR::SessionHandlePtr
Gtk::Label format_label;
Gtk::Alignment format_align;
ExportFormatSelector format_selector;
Gtk::Label format_label;
Gtk::Alignment format_align;
ExportFormatSelector format_selector;
+ PBD::ScopedConnection format_connection;
Gtk::Label filename_label;
Gtk::Alignment filename_align;
ExportFilenameSelector filename_selector;
Gtk::Label filename_label;
Gtk::Alignment filename_align;
ExportFilenameSelector filename_selector;
+ Gtk::CheckButton soundcloud_upload_button;
+ Gtk::CheckButton analysis_button;
Gtk::HBox tab_widget;
Gtk::Label tab_label;
Gtk::Alignment tab_close_alignment;
Gtk::HBox tab_widget;
Gtk::Label tab_label;
Gtk::Alignment tab_close_alignment;