projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix some more incorrect casts to CanvasNote rather than CanvasNoteEvent (fixes crashe...
[ardour.git]
/
gtk2_ardour
/
export_range_markers_dialog.h
diff --git
a/gtk2_ardour/export_range_markers_dialog.h
b/gtk2_ardour/export_range_markers_dialog.h
index 7aae9640bf3dba29742f5bb80f98c2f4657f3049..b0a29b5dc291e737acde9a06fd1756e756ed7ec5 100644
(file)
--- 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__
#ifndef __export_range_markers_dialog_h__
#define __export_range_markers_dialog_h__
-#include
<ardour/location.h>
+#include
"ardour/location.h"
#include "export_dialog.h"
#include "export_dialog.h"
-class ExportRangeMarkersDialog : public ExportDialog
+class ExportRangeMarkersDialog : public ExportDialog
{
public:
ExportRangeMarkersDialog (PublicEditor&);
{
public:
ExportRangeMarkersDialog (PublicEditor&);
-
+
+ Gtk::FileChooserAction browse_action() const;
+
protected:
virtual bool is_filepath_valid(string &filepath);
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<nframes_t> range_markers_durations_aggregated;
private:
// keeps the duration of all range_markers before the current
vector<nframes_t> 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;
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 ();
// 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);
// initializes range_markers_durations_aggregated, range_markers_durations
// and total_duration
void init_progress_computing(ARDOUR::Locations::LocationList& locations);
- // searches for a filename like "<filename><nr>.<postfix>" in path, that
+ // searches for a filename like "<filename><nr>.<postfix>" in path, that
// does not exist
string get_target_filepath(string path, string filename, string postfix);
// does not exist
string get_target_filepath(string path, string filename, string postfix);