Ardour  8.12
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 #ifndef __pt_import_selector_h__
19 #define __pt_import_selector_h__
20 
21 #include <string>
22 #include <stdio.h>
23 #include <cstring>
24 #include <string>
25 #include <sstream>
26 #include <vector>
27 
28 #include "ptformat/ptformat.h"
29 
30 #include "ardour_dialog.h"
31 #include "ardour/session.h"
32 #include <gtkmm/box.h>
33 #include <gtkmm/button.h>
35 #include <gtkmm/textview.h>
36 
38 {
39 public:
41  void update_ptf ();
43 
44 private:
46  uint32_t _session_rate;
51 };
52 
53 #endif
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)