use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(VZBootLoader, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "VZBootLoader")]
pub struct VZEFIBootLoader;
);
#[cfg(feature = "VZBootLoader")]
extern_conformance!(
unsafe impl NSCopying for VZEFIBootLoader {}
);
#[cfg(feature = "VZBootLoader")]
unsafe impl CopyingHelper for VZEFIBootLoader {
type Result = Self;
}
#[cfg(feature = "VZBootLoader")]
extern_conformance!(
unsafe impl NSObjectProtocol for VZEFIBootLoader {}
);
#[cfg(feature = "VZBootLoader")]
impl VZEFIBootLoader {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[cfg(feature = "VZEFIVariableStore")]
#[unsafe(method(variableStore))]
#[unsafe(method_family = none)]
pub unsafe fn variableStore(&self) -> Option<Retained<VZEFIVariableStore>>;
#[cfg(feature = "VZEFIVariableStore")]
#[unsafe(method(setVariableStore:))]
#[unsafe(method_family = none)]
pub unsafe fn setVariableStore(&self, variable_store: Option<&VZEFIVariableStore>);
);
}
#[cfg(feature = "VZBootLoader")]
impl VZEFIBootLoader {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}