1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Plugin Client: Move all private helper functions into detail namespace

This commit is contained in:
reuk 2023-03-08 19:23:37 +00:00
parent a760307d0f
commit 10bd8235e7
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
17 changed files with 228 additions and 210 deletions

View file

@ -50,6 +50,32 @@ struct PluginUtilities
{
editor.addToDesktop (getDesktopFlags (editor), parent);
}
static const PluginHostType& getHostType()
{
static PluginHostType hostType;
return hostType;
}
#ifndef JUCE_VST3_CAN_REPLACE_VST2
#define JUCE_VST3_CAN_REPLACE_VST2 1
#endif
#if JucePlugin_Build_VST3 && JUCE_VST3_CAN_REPLACE_VST2 && (JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD)
#define VST3_REPLACEMENT_AVAILABLE 1
static void getUUIDForVST2ID (bool forControllerUID, uint8 uuid[16]);
#else
#define VST3_REPLACEMENT_AVAILABLE 0
#endif
#if JucePlugin_Build_VST
static bool handleManufacturerSpecificVST2Opcode (int32 index,
pointer_sized_int value,
void* ptr,
float);
#endif
};
} // namespace juce::detail