Ardour  8.12
session_archive_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2017 Robin Gareus <robin@gareus.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef _gtkardour_session_archive_dialog_h_
20 #define _gtkardour_session_archive_dialog_h_
21 
22 #include <gtkmm/checkbutton.h>
23 #include <gtkmm/comboboxtext.h>
24 #include <gtkmm/entry.h>
26 #include <gtkmm/progressbar.h>
27 
28 #include "pbd/file_archive.h"
29 #include "ardour/session.h"
30 
31 #include "ardour_dialog.h"
32 #include "progress_reporter.h"
33 
35 {
36 public:
38 
39  std::string target_folder () const;
40  std::string name () const;
43  bool only_used_sources () const;
44 
45  void set_name (const std::string&);
46  void set_target_folder (const std::string&);
49  void set_only_used_sources (bool);
50 
51 protected:
52  void on_response (int);
53 
54 private:
61 
63 
65  void update_progress_gui (float);
66 };
67 
68 #endif /* __ardour_gtk_tempo_dialog_h__ */
std::string target_folder() const
Gtk::ComboBoxText compression_selector
void set_encode_option(ARDOUR::Session::ArchiveEncode)
PBD::FileArchive::CompressionLevel compression_level() const
void on_response(int)
This is a default handler for the signal signal_response().
void update_progress_gui(float)
std::string name() const
bool only_used_sources() const
void set_only_used_sources(bool)
ARDOUR::Session::ArchiveEncode encode_option() const
void set_name(const std::string &)
Gtk::FileChooserButton target_folder_selector
Gtk::ComboBoxText encode_selector
Gtk::ProgressBar progress_bar
Gtk::CheckButton only_used_checkbox
void set_compression_level(PBD::FileArchive::CompressionLevel)
void set_target_folder(const std::string &)