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
7namespace 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
13using NativeWindowHandle = void*;
14
15// Opaque handle to a native OS view/surface
16// macOS: NSView* iOS: UIView*
17// Windows: HWND Linux: X11 Window
18using NativeViewHandle = void*;
19
20// Opaque handle to a native display/screen
21// macOS: NSScreen* Windows: HMONITOR Linux: Display*
22using NativeDisplayHandle = void*;
23
24} // namespace pulp::platform
Device capability vocabulary: one tier ladder, one thermal ladder, and the projection from observed i...
Definition child_process.hpp:15
void * NativeDisplayHandle
Definition native_handle.hpp:22
void * NativeViewHandle
Definition native_handle.hpp:18
void * NativeWindowHandle
Definition native_handle.hpp:13