1
0
Fork 0

Add window type constants missing from vst3_sys

This commit is contained in:
Robbert van der Helm 2022-02-05 18:41:41 +01:00
parent 2a0fde2fd5
commit 895dada6f6

View file

@ -60,6 +60,16 @@ pub use vst3_sys::sys::GUID;
/// The VST3 SDK version this is roughtly based on. /// The VST3 SDK version this is roughtly based on.
const VST3_SDK_VERSION: &str = "VST 3.6.14"; const VST3_SDK_VERSION: &str = "VST 3.6.14";
// Window handle type constants missing from vst3-sys
const VST3_PLATFORM_HWND: &str = "HWND";
#[allow(unused)]
const VST3_PLATFORM_HIVIEW: &str = "HIView";
const VST3_PLATFORM_NSVIEW: &str = "NSView";
#[allow(unused)]
const VST3_PLATFORM_UIVIEW: &str = "UIView";
const VST3_PLATFORM_X11_WINDOW: &str = "X11EmbedWindowID";
/// Right now the wrapper adds its own bypass parameter. /// Right now the wrapper adds its own bypass parameter.
/// ///
/// TODO: Actually use this parameter. /// TODO: Actually use this parameter.