X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_range_markers_dialog.h;h=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hb=f65c592567ace7efe1143e6ddb8a28a57a61ee14;hp=7d231c62d5f84bd39d749e057404541f5f2e3f98;hpb=62c4e8188457c8e0da9eb98202a5bc2a07c9250b;p=ardour.git diff --git a/gtk2_ardour/export_range_markers_dialog.h b/gtk2_ardour/export_range_markers_dialog.h index 7d231c62d5..e69de29bb2 100644 --- a/gtk2_ardour/export_range_markers_dialog.h +++ b/gtk2_ardour/export_range_markers_dialog.h @@ -1,66 +0,0 @@ -/* - Copyright (C) 2006 Andre Raue - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - -*/ - -#ifndef __export_range_markers_dialog_h__ -#define __export_range_markers_dialog_h__ - -#include - -#include "export_dialog.h" - - -class ExportRangeMarkersDialog : public ExportDialog -{ - public: - ExportRangeMarkersDialog (PublicEditor&); - - Gtk::FileChooserAction browse_action() const; - - protected: - virtual bool is_filepath_valid(string &filepath); - - void export_audio_data(); - - bool wants_dir() { return true; } - - private: - // keeps the duration of all range_markers before the current - vector range_markers_durations_aggregated; - vector range_markers_durations; - // duration of all range markers - 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 - // does not exist - string get_target_filepath(string path, string filename, string postfix); - - void process_range_markers_export(ARDOUR::Locations::LocationList&); -}; - - -#endif // __export_range_markers_dialog_h__