Ardour  9.0-pre0-582-g084a23a80d
pt_import_selector.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018-2019 Damien Zammit <damien@zamaudio.com>
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 #pragma once
19 
20 #include <string>
21 #include <stdio.h>
22 #include <cstring>
23 #include <string>
24 #include <sstream>
25 #include <vector>
26 
27 #include "ptformat/ptformat.h"
28 
29 #include "ardour_dialog.h"
30 #include "ardour/session.h"
31 #include <gtkmm/box.h>
32 #include <gtkmm/button.h>
34 #include <gtkmm/textview.h>
35 
37 {
38 public:
40  void update_ptf ();
42 
43 private:
45  uint32_t _session_rate;
50 };
51 
Gtk::Button ptimport_cancel_button
Gtk::Button ptimport_import_button
Gtk::TextView ptimport_info_text
Gtk::FileChooserWidget ptimport_ptf_chooser
void set_session(ARDOUR::Session *)
PTImportSelector(PTFFormat &ptf)