Ardour  9.0-pre0-582-g084a23a80d
audio_library.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2007 Taybin Rutkin <taybin@taybin.com>
3  * Copyright (C) 2007 Tim Mayberry <mojofunk@gmail.com>
4  * Copyright (C) 2008-2013 Paul Davis <paul@linuxaudiosystems.com>
5  * Copyright (C) 2009-2010 David Robillard <d@drobilla.net>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #pragma once
23 
24 #include <string>
25 #include <map>
26 #include <vector>
27 
29 
30 namespace ARDOUR {
31 
33 {
34  public:
37 
38  void set_tags (std::string member, std::vector<std::string> tags);
39  std::vector<std::string> get_tags (std::string member);
40 
41  void search_members_and (std::vector<std::string>& results, const std::vector<std::string>& tags);
42 
43  void save_changes();
44 
45  private:
46  std::string src;
47 };
48 
50 
51 } // ARDOUR namespace
52 
std::vector< std::string > get_tags(std::string member)
void set_tags(std::string member, std::vector< std::string > tags)
void search_members_and(std::vector< std::string > &results, const std::vector< std::string > &tags)
#define LIBARDOUR_API
PBD::PropertyDescriptor< std::string > tags
AudioLibrary * Library