2 Copyright (C) 2018 Paul Davis
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.
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.
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.
20 #ifndef __pt_import_selector_h__
21 #define __pt_import_selector_h__
30 #include "ptformat/ptfformat.h"
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>
39 class PTImportSelector : public ArdourDialog
42 PTImportSelector (PTFFormat& ptf);
44 void set_session (ARDOUR::Session*);
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;