Ardour  8.12
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 #ifndef __ardour_import_status_h__
22 #define __ardour_import_status_h__
23 
24 #include <string>
25 #include <vector>
26 
27 #include <stdint.h>
28 
31 #include "ardour/types.h"
32 
33 namespace ARDOUR {
34 
36 public:
37  virtual ~ImportStatus() {
38  clear ();
39  }
40 
41  virtual void clear () {
42  sources.clear ();
43  paths.clear ();
44  }
45 
46  std::string doing_what;
47 
48  /* control info */
49  uint32_t current;
50  uint32_t total;
52  volatile bool freeze;
53  std::vector<std::string> paths;
58 
62  bool all_done;
63 
64  /* result */
66 };
67 
68 } // namespace ARDOUR
69 
70 #endif /* __ardour_import_status_h__ */
virtual void clear()
Definition: import_status.h:41
MidiTrackNameSource midi_track_name_source
Definition: import_status.h:57
volatile bool freeze
Definition: import_status.h:52
std::string doing_what
Definition: import_status.h:46
std::vector< std::string > paths
Definition: import_status.h:53
#define LIBARDOUR_API
std::vector< std::shared_ptr< Source > > SourceList