use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct HMEvent;
);
unsafe impl Send for HMEvent {}
unsafe impl Sync for HMEvent {}
extern_conformance!(
unsafe impl NSObjectProtocol for HMEvent {}
);
impl HMEvent {
extern_methods!(
#[deprecated = "HMEvent is abstract"]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[deprecated = "HMEvent is abstract"]
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[unsafe(method(uniqueIdentifier))]
#[unsafe(method_family = none)]
pub unsafe fn uniqueIdentifier(&self) -> Retained<NSUUID>;
#[cfg(feature = "HMHome")]
#[unsafe(method(isSupportedForHome:))]
#[unsafe(method_family = none)]
pub unsafe fn isSupportedForHome(home: &HMHome) -> bool;
);
}