X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_range_markers_dialog.h;h=b0a29b5dc291e737acde9a06fd1756e756ed7ec5;hb=8de005efd58ac0733ce127d3a3bbaf969a62f2a6;hp=1087f4c4c69073956e3f12aafc91818505d33882;hpb=df1c4dddc39d1cc5132501afb94bbabb9935cc32;p=ardour.git diff --git a/gtk2_ardour/export_range_markers_dialog.h b/gtk2_ardour/export_range_markers_dialog.h index 1087f4c4c6..b0a29b5dc2 100644 --- a/gtk2_ardour/export_range_markers_dialog.h +++ b/gtk2_ardour/export_range_markers_dialog.h @@ -20,23 +20,25 @@ #ifndef __export_range_markers_dialog_h__ #define __export_range_markers_dialog_h__ -#include +#include "ardour/location.h" #include "export_dialog.h" -class ExportRangeMarkersDialog : public ExportDialog +class ExportRangeMarkersDialog : public ExportDialog { public: ExportRangeMarkersDialog (PublicEditor&); - + + Gtk::FileChooserAction browse_action() const; + protected: virtual bool is_filepath_valid(string &filepath); - void export_audio_data(); + void export_data(); bool wants_dir() { return true; } - + private: // keeps the duration of all range_markers before the current vector range_markers_durations_aggregated; @@ -45,15 +47,15 @@ class ExportRangeMarkersDialog : public ExportDialog nframes_t total_duration; // index of range marker, that get's exported right now unsigned int current_range_marker_index; - + // sets value of progress bar virtual gint progress_timeout (); - + // initializes range_markers_durations_aggregated, range_markers_durations // and total_duration void init_progress_computing(ARDOUR::Locations::LocationList& locations); - // searches for a filename like "." in path, that + // searches for a filename like "." in path, that // does not exist string get_target_filepath(string path, string filename, string postfix);