writable session patch, forward ported from 2.X
[ardour.git] / gtk2_ardour / export_range_markers_dialog.h
index a69e2b749b8a89cdb35a10876b1817d7579ba451..a3a20836b15c3d2eba0893eed0005ca2570af534 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef __export_range_markers_dialog_h__
 #define __export_range_markers_dialog_h__
 
-#include <ardour/location.h>
+#include "ardour/location.h"
 
 #include "export_dialog.h"
 
@@ -30,17 +30,21 @@ 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<jack_nframes_t>  range_markers_durations_aggregated;
-       vector<jack_nframes_t>  range_markers_durations;
+       vector<nframes_t>       range_markers_durations_aggregated;
+       vector<nframes_t>       range_markers_durations;
        // duration of all range markers
-       jack_nframes_t  total_duration;
+       nframes_t       total_duration;
        // index of range marker, that get's exported right now
        unsigned int    current_range_marker_index;