VST scanner tool.. part two
[ardour.git] / libs / ardour / ardour / vst_info_file.h
1 /*
2     Copyright (C) 2012-2014 Paul Davis
3     Author: Robin Gareus <robin@gareus.org>
4
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.
9
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.
14
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.
18
19 */
20
21 #ifndef __vst_info_file_h__
22 #define __vst_info_file_h__
23
24 #include "ardour/libardour_visibility.h"
25 #include "ardour/vst_types.h"
26 #include <vector>
27
28 enum VSTScanMode {
29         VST_SCAN_CACHE_ONLY,
30         VST_SCAN_USE_APP,
31         VST_SCAN_INTERNAL
32 };
33
34 LIBARDOUR_API extern std::string get_personal_vst_info_cache_dir ();
35 LIBARDOUR_API extern std::string get_personal_vst_blacklist_dir ();
36 LIBARDOUR_API extern void vstfx_free_info_list (std::vector<VSTInfo *> *infos);
37
38 #ifdef LXVST_SUPPORT
39 LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_lx (char *, enum VSTScanMode mode = VST_SCAN_USE_APP);
40 #endif
41
42 #ifdef WINDOWS_VST_SUPPORT
43 LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_fst (char *, enum VSTScanMode mode = VST_SCAN_USE_APP);
44 #endif
45
46 #endif /* __vstfx_h__ */
47