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
>
33
#include <
gtkmm/filechooserwidget.h
>
34
#include <
gtkmm/textview.h
>
35
36
class
PTImportSelector
:
public
ArdourDialog
37
{
38
public
:
39
PTImportSelector
(
PTFFormat
& ptf);
40
void
update_ptf
();
41
void
set_session
(
ARDOUR::Session
*);
42
43
private
:
44
PTFFormat
*
_ptf
;
45
uint32_t
_session_rate
;
46
Gtk::FileChooserWidget
ptimport_ptf_chooser
;
47
Gtk::TextView
ptimport_info_text
;
48
Gtk::Button
ptimport_import_button
;
49
Gtk::Button
ptimport_cancel_button
;
50
};
51
ardour_dialog.h
ARDOUR::Session
Definition:
session.h:211
ArdourDialog
Definition:
ardour_dialog.h:40
Gtk::Button
Definition:
tk/ytkmm/ytkmm/gtkmm/button.h:60
Gtk::FileChooserWidget
Definition:
filechooserwidget.h:59
Gtk::TextView
Definition:
textview.h:105
PTFFormat
Definition:
ptformat.h:32
PTImportSelector
Definition:
pt_import_selector.h:37
PTImportSelector::ptimport_cancel_button
Gtk::Button ptimport_cancel_button
Definition:
pt_import_selector.h:49
PTImportSelector::ptimport_import_button
Gtk::Button ptimport_import_button
Definition:
pt_import_selector.h:48
PTImportSelector::ptimport_info_text
Gtk::TextView ptimport_info_text
Definition:
pt_import_selector.h:47
PTImportSelector::update_ptf
void update_ptf()
PTImportSelector::ptimport_ptf_chooser
Gtk::FileChooserWidget ptimport_ptf_chooser
Definition:
pt_import_selector.h:46
PTImportSelector::set_session
void set_session(ARDOUR::Session *)
PTImportSelector::_ptf
PTFFormat * _ptf
Definition:
pt_import_selector.h:44
PTImportSelector::PTImportSelector
PTImportSelector(PTFFormat &ptf)
PTImportSelector::_session_rate
uint32_t _session_rate
Definition:
pt_import_selector.h:45
filechooserwidget.h
ptformat.h
session.h
textview.h
box.h
button.h
gtk2_ardour
pt_import_selector.h
Generated on Wed Dec 25 2024 05:44:45 for Ardour by
1.9.1