Ardour  9.0-pre0-582-g084a23a80d
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 #pragma once
20 
21 #include <gtkmm/checkbutton.h>
22 #include <gtkmm/comboboxtext.h>
23 #include <gtkmm/entry.h>
25 #include <gtkmm/progressbar.h>
26 
27 #include "pbd/file_archive.h"
28 #include "ardour/session.h"
29 
30 #include "ardour_dialog.h"
31 #include "progress_reporter.h"
32 
34 {
35 public:
37 
38  std::string target_folder () const;
39  std::string name () const;
42  bool only_used_sources () const;
43 
44  void set_name (const std::string&);
45  void set_target_folder (const std::string&);
48  void set_only_used_sources (bool);
49 
50 protected:
51  void on_response (int);
52 
53 private:
60 
62 
64  void update_progress_gui (float);
65 };
66 
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 &)