use core::ffi::c_void;
use core::ptr::NonNull;
#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct HaikuDisplayHandle {}
impl HaikuDisplayHandle {
pub fn new() -> Self {
Self {}
}
}
#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct HaikuWindowHandle {
pub b_window: NonNull<c_void>,
pub b_direct_window: Option<NonNull<c_void>>,
}
impl HaikuWindowHandle {
pub fn new(b_window: NonNull<c_void>) -> Self {
Self {
b_window,
b_direct_window: None,
}
}
}