2 * Copyright (C) 2018-2019 Damien Zammit <damien@zamaudio.com>
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.
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.
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.
18 #ifndef __pt_import_selector_h__
19 #define __pt_import_selector_h__
28 #include "ptformat/ptformat.h"
30 #include "ardour_dialog.h"
31 #include "ardour/session.h"
32 #include <gtkmm/box.h>
33 #include <gtkmm/button.h>
34 #include <gtkmm/filechooserwidget.h>
35 #include <gtkmm/textview.h>
37 class PTImportSelector : public ArdourDialog
40 PTImportSelector (PTFFormat& ptf);
42 void set_session (ARDOUR::Session*);
46 uint32_t _session_rate;
47 Gtk::FileChooserWidget ptimport_ptf_chooser;
48 Gtk::TextView ptimport_info_text;
49 Gtk::Button ptimport_import_button;
50 Gtk::Button ptimport_cancel_button;