diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/filesystem_paths.h | 8 | ||||
-rw-r--r-- | libs/ardour/ardour/vst_info_file.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/ardour/filesystem_paths.h b/libs/ardour/ardour/filesystem_paths.h index 0bf25c5153..a398a917f2 100644 --- a/libs/ardour/ardour/filesystem_paths.h +++ b/libs/ardour/ardour/filesystem_paths.h @@ -34,6 +34,14 @@ namespace ARDOUR { LIBARDOUR_API std::string user_config_directory (); /** + * @return the path to the directory used to store user specific + * caches (e.g. plugin indices, blacklist/whitelist) + * it defaults to XDG_CACHE_HOME + */ + LIBARDOUR_API std::string user_cache_directory (); + + + /** * @return the path to the directory that contains the system wide ardour * modules. */ diff --git a/libs/ardour/ardour/vst_info_file.h b/libs/ardour/ardour/vst_info_file.h index 21e9d19c65..5f191faf25 100644 --- a/libs/ardour/ardour/vst_info_file.h +++ b/libs/ardour/ardour/vst_info_file.h @@ -25,6 +25,8 @@ #include "ardour/vst_types.h" #include <vector> +LIBARDOUR_API extern std::string get_personal_vst_info_cache_dir (); +LIBARDOUR_API extern std::string get_personal_vst_blacklist_dir (); LIBARDOUR_API extern void vstfx_free_info_list (std::vector<VSTInfo *> *infos); #ifdef LXVST_SUPPORT |