Fix ExportFormatSpecification copy-c'tor
[ardour.git] / gtk2_ardour / pt_import_selector.h
1 /*
2     Copyright (C) 2018 Paul Davis
3     Author: Damien Zammit
4
5     This program is free software; you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation; either version 2 of the License, or
8     (at your option) any later version.
9
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14
15     You should have received a copy of the GNU General Public License
16     along with this program; if not, write to the Free Software
17     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
19 */
20 #ifndef __pt_import_selector_h__
21 #define __pt_import_selector_h__
22
23 #include <string>
24 #include <stdio.h>
25 #include <cstring>
26 #include <string>
27 #include <sstream>
28 #include <vector>
29
30 #include "ptformat/ptfformat.h"
31
32 #include "ardour_dialog.h"
33 #include "ardour/session.h"
34 #include <gtkmm/box.h>
35 #include <gtkmm/button.h>
36 #include <gtkmm/filechooserwidget.h>
37 #include <gtkmm/textview.h>
38
39 class PTImportSelector : public ArdourDialog
40 {
41 public:
42         PTImportSelector (PTFFormat& ptf);
43         void update_ptf ();
44         void set_session (ARDOUR::Session*);
45
46 private:
47         PTFFormat* _ptf;
48         uint32_t _session_rate;
49         Gtk::FileChooserWidget ptimport_ptf_chooser;
50         Gtk::TextView ptimport_info_text;
51         Gtk::Button ptimport_import_button;
52         Gtk::Button ptimport_cancel_button;
53 };
54
55 #endif