summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_format_specification.h
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2014-05-23 18:14:37 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2014-05-23 18:14:37 +0100
commit9daab3db8481de5653e97321c7bb2aa881f0d54c (patch)
tree651c946b0aab2b77be45bc46bbbaf8bf30c43fd2 /libs/ardour/ardour/export_format_specification.h
parent2f6debf0d2b78bd6399f9e28e98333e1fd1b05d3 (diff)
Make Soundcloud upload applicable to any export format.
Add soundcloud_upload property back into ExportFormatSpecification, but instead of making it settable in the export format specification dialog, add a tick-box in each tab of ExportFileNotebook to allow setting it.
Diffstat (limited to 'libs/ardour/ardour/export_format_specification.h')
-rw-r--r--libs/ardour/ardour/export_format_specification.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h
index 26d28648a2..2a62d792f0 100644
--- a/libs/ardour/ardour/export_format_specification.h
+++ b/libs/ardour/ardour/export_format_specification.h
@@ -96,6 +96,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
void set_tag (bool tag_it) { _tag = tag_it; }
void set_with_cue (bool yn) { _with_cue = yn; }
void set_with_toc (bool yn) { _with_toc = yn; }
+ void set_soundcloud_upload (bool yn) { _soundcloud_upload = yn; }
void set_command (std::string command) { _command = command; }
void set_silence_beginning (AnyTime const & value) { _silence_beginning = value; }
@@ -126,6 +127,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
float normalize_target () const { return _normalize_target; }
bool with_toc() const { return _with_toc; }
bool with_cue() const { return _with_cue; }
+ bool soundcloud_upload() const { return _soundcloud_upload; }
std::string command() const { return _command; }
bool tag () const { return _tag && supports_tagging; }
@@ -176,6 +178,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
float _normalize_target;
bool _with_toc;
bool _with_cue;
+ bool _soundcloud_upload;
std::string _command;
/* serialization helpers */