2 Copyright (C) 2012-2014 Paul Davis
3 Author: Robin Gareus <robin@gareus.org>
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.
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.
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.
21 #ifndef __vst_info_file_h__
22 #define __vst_info_file_h__
24 #include "ardour/libardour_visibility.h"
25 #include "ardour/vst_types.h"
28 /* Cache File extensions */
29 # if ( defined(__x86_64__) || defined(_M_X64) )
30 # define VST_EXT_BLACKLIST ".fsb64"
32 # define VST_EXT_BLACKLIST ".fsb"
35 # if ( defined(__x86_64__) || defined(_M_X64) )
36 #define VST_EXT_INFOFILE ".fsi64"
37 #define VST_BLACKLIST "vst64_blacklist.txt"
39 #define VST_EXT_INFOFILE ".fsi32"
40 #define VST_BLACKLIST "vst32_blacklist.txt"
43 #ifndef VST_SCANNER_APP
53 LIBARDOUR_API extern void vstfx_free_info_list (std::vector<VSTInfo *> *infos);
56 LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_lx (char *, enum VSTScanMode mode = VST_SCAN_USE_APP);
59 #ifdef WINDOWS_VST_SUPPORT
60 LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_fst (char *, enum VSTScanMode mode = VST_SCAN_USE_APP);
64 LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_mac (char *, enum VSTScanMode mode = VST_SCAN_USE_APP);
67 #ifndef VST_SCANNER_APP
71 #endif /* __vstfx_h__ */