+
+ // These methods are intended to be used in constructors of subclasses
+ void do_not_allow_track_and_master_selection();
+ void do_not_allow_channel_count_selection();
+ void do_not_allow_export_cd_markers();
+
+ // Checks the given filename for validity when export gets started.
+ // Export will interrupt when this method returns 'false'.
+ // Method is responsible for informing user.
+ virtual bool is_filepath_valid(string &filepath);
+
+ // Gets called from within do_export. Is responsible for exporting the
+ // audio data. spec has already been filled with user input before calling
+ // this method. The dialog will be closed after this function exited.
+ virtual void export_audio_data() = 0;
+
+ virtual bool wants_dir() { return false; }
+
+ // reads the user input and fills spec with the according values
+ // filepath: complete path to the target file, including filename
+ void initSpec(string &filepath);
+
+ void set_progress_fraction(double progress) {
+ progress_bar.set_fraction (progress); }
+
+ ARDOUR::Session& getSession() { return *session; };
+ string get_selected_header_format() {
+ return header_format_combo.get_active_text(); };
+ string get_selected_file_name() { return file_entry.get_text(); };
+