Ardour
9.0-pre0-582-g084a23a80d
import_status.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2009-2012 David Robillard <d@drobilla.net>
3
* Copyright (C) 2009-2016 Paul Davis <paul@linuxaudiosystems.com>
4
* Copyright (C) 2010 Carl Hetherington <carl@carlh.net>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program; if not, write to the Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
*/
20
21
#pragma once
22
23
#include <string>
24
#include <vector>
25
26
#include <stdint.h>
27
28
#include "
ardour/interthread_info.h
"
29
#include "
ardour/libardour_visibility.h
"
30
#include "
ardour/types.h
"
31
32
namespace
ARDOUR
{
33
34
class
LIBARDOUR_API
ImportStatus
:
public
InterThreadInfo
{
35
public
:
36
virtual
~ImportStatus
() {
37
clear ();
38
}
39
40
virtual
void
clear
() {
41
sources.clear ();
42
paths.clear ();
43
}
44
45
std::string
doing_what
;
46
47
/* control info */
48
uint32_t
current
;
49
uint32_t
total
;
50
SrcQuality
quality
;
51
volatile
bool
freeze
;
52
std::vector<std::string>
paths
;
53
bool
replace_existing_source
;
54
bool
split_midi_channels
;
55
bool
import_markers
;
56
MidiTrackNameSource
midi_track_name_source
;
57
61
bool
all_done
;
62
63
/* result */
64
SourceList
sources
;
65
};
66
67
}
// namespace ARDOUR
68
types.h
ARDOUR::ImportStatus
Definition:
import_status.h:34
ARDOUR::ImportStatus::quality
SrcQuality quality
Definition:
import_status.h:50
ARDOUR::ImportStatus::clear
virtual void clear()
Definition:
import_status.h:40
ARDOUR::ImportStatus::total
uint32_t total
Definition:
import_status.h:49
ARDOUR::ImportStatus::midi_track_name_source
MidiTrackNameSource midi_track_name_source
Definition:
import_status.h:56
ARDOUR::ImportStatus::import_markers
bool import_markers
Definition:
import_status.h:55
ARDOUR::ImportStatus::split_midi_channels
bool split_midi_channels
Definition:
import_status.h:54
ARDOUR::ImportStatus::freeze
volatile bool freeze
Definition:
import_status.h:51
ARDOUR::ImportStatus::sources
SourceList sources
Definition:
import_status.h:64
ARDOUR::ImportStatus::~ImportStatus
virtual ~ImportStatus()
Definition:
import_status.h:36
ARDOUR::ImportStatus::current
uint32_t current
Definition:
import_status.h:48
ARDOUR::ImportStatus::doing_what
std::string doing_what
Definition:
import_status.h:45
ARDOUR::ImportStatus::paths
std::vector< std::string > paths
Definition:
import_status.h:52
ARDOUR::ImportStatus::replace_existing_source
bool replace_existing_source
Definition:
import_status.h:53
ARDOUR::ImportStatus::all_done
bool all_done
Definition:
import_status.h:61
ARDOUR::InterThreadInfo
Definition:
interthread_info.h:29
interthread_info.h
libardour_visibility.h
LIBARDOUR_API
#define LIBARDOUR_API
Definition:
libardour_visibility.h:38
ARDOUR
Definition:
analysis_window.h:44
ARDOUR::MidiTrackNameSource
MidiTrackNameSource
Definition:
ardour/ardour/types.h:866
ARDOUR::SourceList
std::vector< std::shared_ptr< Source > > SourceList
Definition:
ardour/ardour/types.h:674
ARDOUR::SrcQuality
SrcQuality
Definition:
ardour/ardour/types.h:676
libs
ardour
ardour
import_status.h
Generated on Wed Dec 25 2024 05:44:33 for Ardour by
1.9.1