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 "pbd/search_path.h"
28 LIBARDOUR_API const char *vst_search_path ();
31 * return a SearchPath containing directories in which to look for
34 * If ARDOUR_BACKEND_PATH is defined then the SearchPath returned
35 * will contain only those directories specified in it, otherwise it will
36 * contain the user and system directories which may contain audio/MIDI
39 LIBARDOUR_API PBD::Searchpath backend_search_path ();
42 * return a Searchpath containing directories in which to look for
43 * control surface plugins.
45 * If ARDOUR_SURFACES_PATH is defined then the Searchpath returned
46 * will contain only those directories specified in it, otherwise it will
47 * contain the user and system directories which may contain control
50 LIBARDOUR_API PBD::Searchpath control_protocol_search_path ();
53 * return a Searchpath containing directories in which to look for
56 LIBARDOUR_API PBD::Searchpath export_formats_search_path ();
59 * return a Searchpath containing directories in which to look for
62 * If LADSPA_PATH is defined then the Searchpath returned
63 * will contain the directories specified in it as well as the
64 * user and system directories.
66 LIBARDOUR_API PBD::Searchpath ladspa_search_path ();
69 * return a Searchpath containing directories in which to look for
72 LIBARDOUR_API PBD::Searchpath lv2_bundled_search_path ();
75 * return a Searchpath containing directories in which to look for
76 * MIDI patch files ("*.midnam") aka MIDNAM files
78 * If ARDOUR_MIDI_PATCH_PATH is defined then the Searchpath returned
79 * will contain only those directories specified in it, otherwise it will
80 * contain the user and system directories which may contain control
83 LIBARDOUR_API PBD::Searchpath midi_patch_search_path ();
86 * return a Searchpath containing directories in which to look for
89 * If ARDOUR_PANNER_PATH is defined then the Searchpath returned
90 * will contain only those directories specified in it, otherwise it will
91 * contain the user and system directories which may contain control
94 LIBARDOUR_API PBD::Searchpath panner_search_path ();
98 #endif /* __libardour_search_paths_h__ */