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 
30 #include "ardour/types.h"
31 
32 namespace ARDOUR {
33 
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;
51  volatile bool freeze;
52  std::vector<std::string> paths;
57 
61  bool all_done;
62 
63  /* result */
65 };
66 
67 } // namespace ARDOUR
68 
virtual void clear()
Definition: import_status.h:40
MidiTrackNameSource midi_track_name_source
Definition: import_status.h:56
volatile bool freeze
Definition: import_status.h:51
std::string doing_what
Definition: import_status.h:45
std::vector< std::string > paths
Definition: import_status.h:52
#define LIBARDOUR_API
std::vector< std::shared_ptr< Source > > SourceList