13
0

move vst detection code into ARDOUR namespace

This commit is contained in:
Robin Gareus 2014-03-05 08:47:54 +01:00
parent dd1c397344
commit f3300ec03c
2 changed files with 15 additions and 0 deletions

View File

@ -25,6 +25,10 @@
#include "ardour/vst_types.h"
#include <vector>
#ifndef VST_SCANNER_APP
namespace ARDOUR {
#endif
enum VSTScanMode {
VST_SCAN_CACHE_ONLY,
VST_SCAN_USE_APP,
@ -43,5 +47,9 @@ LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_lx (char *, enum VST
LIBARDOUR_API extern std::vector<VSTInfo*> * vstfx_get_info_fst (char *, enum VSTScanMode mode = VST_SCAN_USE_APP);
#endif
#ifndef VST_SCANNER_APP
} // namespace
#endif
#endif /* __vstfx_h__ */

View File

@ -65,6 +65,9 @@
using namespace std;
#ifndef VST_SCANNER_APP
namespace ARDOUR {
#endif
/* prototypes */
#ifdef WINDOWS_VST_SUPPORT
@ -1010,3 +1013,7 @@ vstfx_get_info_fst (char* dllpath, enum VSTScanMode mode)
return vstfx_get_info(dllpath, ARDOUR::Windows_VST, mode);
}
#endif
#ifndef VST_SCANNER_APP
} // namespace
#endif