Pulp
1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
native_handle.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
// pulp::platform — opaque native handle types for platform windowing
6
7
namespace
pulp::platform
{
8
9
// Opaque handle to a native OS window
10
// macOS: NSWindow* iOS: UIWindow*
11
// Windows: HWND Linux: X11 Window (unsigned long)
12
// Cast to the appropriate type in platform-specific code
13
using
NativeWindowHandle
=
void
*;
14
15
// Opaque handle to a native OS view/surface
16
// macOS: NSView* iOS: UIView*
17
// Windows: HWND Linux: X11 Window
18
using
NativeViewHandle
=
void
*;
19
20
// Opaque handle to a native display/screen
21
// macOS: NSScreen* Windows: HMONITOR Linux: Display*
22
using
NativeDisplayHandle
=
void
*;
23
24
}
// namespace pulp::platform
pulp::platform
Device capability vocabulary: one tier ladder, one thermal ladder, and the projection from observed i...
Definition
child_process.hpp:15
pulp::platform::NativeDisplayHandle
void * NativeDisplayHandle
Definition
native_handle.hpp:22
pulp::platform::NativeViewHandle
void * NativeViewHandle
Definition
native_handle.hpp:18
pulp::platform::NativeWindowHandle
void * NativeWindowHandle
Definition
native_handle.hpp:13
core
platform
include
pulp
platform
native_handle.hpp
Generated by
1.15.0