diff options
author | Robin Gareus <robin@gareus.org> | 2014-02-24 21:11:22 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-02-24 23:57:28 +0100 |
commit | adcb0faf6ba025d0ed8d79676d9a91ae1e00a9fd (patch) | |
tree | 149a1687037c1b210f209108d5d2b955c5f60fd1 /libs/ardour/ardour | |
parent | 6ee44cf3777c5c7fe781e0196ef3a71f96b65de5 (diff) |
preparations for VST blacklist (paths)
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 |