move vst detection code into ARDOUR namespace
This commit is contained in:
@@ -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__ */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user