From e63f3daa7eb2164c1efdd3dccaaff98e7e23628b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 25 Feb 2014 11:11:56 +0100 Subject: VST scanner tool.. part two --- libs/ardour/ardour/vst_info_file.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour/vst_info_file.h') diff --git a/libs/ardour/ardour/vst_info_file.h b/libs/ardour/ardour/vst_info_file.h index 5f191faf25..4e646194f0 100644 --- a/libs/ardour/ardour/vst_info_file.h +++ b/libs/ardour/ardour/vst_info_file.h @@ -25,16 +25,22 @@ #include "ardour/vst_types.h" #include +enum VSTScanMode { + VST_SCAN_CACHE_ONLY, + VST_SCAN_USE_APP, + VST_SCAN_INTERNAL +}; + 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 *infos); #ifdef LXVST_SUPPORT -LIBARDOUR_API extern std::vector * vstfx_get_info_lx (char *); +LIBARDOUR_API extern std::vector * vstfx_get_info_lx (char *, enum VSTScanMode mode = VST_SCAN_USE_APP); #endif #ifdef WINDOWS_VST_SUPPORT -LIBARDOUR_API extern std::vector * vstfx_get_info_fst (char *); +LIBARDOUR_API extern std::vector * vstfx_get_info_fst (char *, enum VSTScanMode mode = VST_SCAN_USE_APP); #endif #endif /* __vstfx_h__ */ -- cgit v1.2.3