X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fsearch_paths.h;h=f280e5dd3f6d73c8c2d4075b9cc89b1ab2f5cbca;hb=da5119583aca2caec4082e3d13cfb1f687a5989d;hp=85ed2cbfd77f19e1f5dc39f14a0a6113e8cda90b;hpb=b32d9a1c70cb81680b75f3b02ae54d4e6afb20e5;p=ardour.git diff --git a/libs/ardour/ardour/search_paths.h b/libs/ardour/ardour/search_paths.h index 85ed2cbfd7..f280e5dd3f 100644 --- a/libs/ardour/ardour/search_paths.h +++ b/libs/ardour/ardour/search_paths.h @@ -1,6 +1,6 @@ /* - Copyright (C) 2011 Tim Mayberry - Copyright (C) 2013 Paul Davis + Copyright (C) 2011 Tim Mayberry + Copyright (C) 2013 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,8 @@ #ifndef __libardour_search_paths_h__ #define __libardour_search_paths_h__ +#include "ardour/libardour_visibility.h" + #include "pbd/search_path.h" namespace ARDOUR { @@ -77,22 +79,52 @@ namespace ARDOUR { * * If ARDOUR_MIDI_PATCH_PATH is defined then the Searchpath returned * will contain only those directories specified in it, otherwise it will - * contain the user and system directories which may contain control - * surface plugins. + * contain the user and system directories. */ LIBARDOUR_API PBD::Searchpath midi_patch_search_path (); + /** + * return a Searchpath containing directories in which to look for + * theme files. + * + * If ARDOUR_THEMES_PATH is defined then the Searchpath returned + * will contain only those directories specified in it, otherwise it will + * contain the user and system directories + */ + LIBARDOUR_API PBD::Searchpath theme_search_path (); + + /** * return a Searchpath containing directories in which to look for * panner plugins. * * If ARDOUR_PANNER_PATH is defined then the Searchpath returned * will contain only those directories specified in it, otherwise it will - * contain the user and system directories which may contain control - * surface plugins. + * contain the user and system directories which may contain panner + * plugins. */ LIBARDOUR_API PBD::Searchpath panner_search_path (); + /** + * return a Searchpath containing directories in which to look for + * route templates. + */ + LIBARDOUR_API PBD::Searchpath route_template_search_path (); + + /** + * return a Searchpath containing directories in which to look for + * other templates. + */ + LIBARDOUR_API PBD::Searchpath template_search_path (); + + + /** + * return a Searchpath containing directories in which to look for + * lua scripts + */ + LIBARDOUR_API PBD::Searchpath lua_search_path (); + + } // namespace ARDOUR #endif /* __libardour_search_paths_h__ */