2 Copyright (C) 2011 Tim Mayberry
3 Copyright (C) 2013 Paul Davis
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef __libardour_search_paths_h__
22 #define __libardour_search_paths_h__
24 #include "ardour/libardour_visibility.h"
26 #include "pbd/search_path.h"
30 LIBARDOUR_API const char *vst_search_path ();
33 * return a SearchPath containing directories in which to look for
36 * If ARDOUR_BACKEND_PATH is defined then the SearchPath returned
37 * will contain only those directories specified in it, otherwise it will
38 * contain the user and system directories which may contain audio/MIDI
41 LIBARDOUR_API PBD::Searchpath backend_search_path ();
44 * return a Searchpath containing directories in which to look for
45 * control surface plugins.
47 * If ARDOUR_SURFACES_PATH is defined then the Searchpath returned
48 * will contain only those directories specified in it, otherwise it will
49 * contain the user and system directories which may contain control
52 LIBARDOUR_API PBD::Searchpath control_protocol_search_path ();
55 * return a Searchpath containing directories in which to look for
58 LIBARDOUR_API PBD::Searchpath export_formats_search_path ();
61 * return a Searchpath containing directories in which to look for
64 * If LADSPA_PATH is defined then the Searchpath returned
65 * will contain the directories specified in it as well as the
66 * user and system directories.
68 LIBARDOUR_API PBD::Searchpath ladspa_search_path ();
71 * return a Searchpath containing directories in which to look for
74 LIBARDOUR_API PBD::Searchpath lv2_bundled_search_path ();
77 * return a Searchpath containing directories in which to look for
78 * MIDI patch files ("*.midnam") aka MIDNAM files
80 * If ARDOUR_MIDI_PATCH_PATH is defined then the Searchpath returned
81 * will contain only those directories specified in it, otherwise it will
82 * contain the user and system directories.
84 LIBARDOUR_API PBD::Searchpath midi_patch_search_path ();
87 * return a Searchpath containing directories in which to look for
90 * If ARDOUR_THEMES_PATH is defined then the Searchpath returned
91 * will contain only those directories specified in it, otherwise it will
92 * contain the user and system directories
94 LIBARDOUR_API PBD::Searchpath theme_search_path ();
98 * return a Searchpath containing directories in which to look for
101 * If ARDOUR_PANNER_PATH is defined then the Searchpath returned
102 * will contain only those directories specified in it, otherwise it will
103 * contain the user and system directories which may contain panner
106 LIBARDOUR_API PBD::Searchpath panner_search_path ();
109 * return a Searchpath containing directories in which to look for
110 * plugin metadata ( tags and favorite/hidden status ).
112 LIBARDOUR_API PBD::Searchpath plugin_metadata_search_path ();
115 * return a Searchpath containing directories in which to look for
118 LIBARDOUR_API PBD::Searchpath route_template_search_path ();
121 * return a Searchpath containing directories in which to look for
124 LIBARDOUR_API PBD::Searchpath template_search_path ();
128 * return a Searchpath containing directories in which to look for
131 LIBARDOUR_API PBD::Searchpath lua_search_path ();
134 } // namespace ARDOUR
136 #endif /* __libardour_search_paths_h__ */