X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_range_markers_dialog.h;h=b0a29b5dc291e737acde9a06fd1756e756ed7ec5;hb=df5e700f90d9fd6c803e8e85c56f3fe8118bc101;hp=7aae9640bf3dba29742f5bb80f98c2f4657f3049;hpb=93c7aeba048f19df5abee5e4325ef8b0ef62c279;p=ardour.git diff --git a/gtk2_ardour/export_range_markers_dialog.h b/gtk2_ardour/export_range_markers_dialog.h index 7aae9640bf..b0a29b5dc2 100644 --- a/gtk2_ardour/export_range_markers_dialog.h +++ b/gtk2_ardour/export_range_markers_dialog.h @@ -20,21 +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; @@ -43,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);