use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
pub struct GCDeviceCursor;
#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
unsafe impl ClassType for GCDeviceCursor {
#[inherits(GCControllerElement, NSObject)]
type Super = GCControllerDirectionPad;
type Mutability = InteriorMutable;
}
);
#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
unsafe impl NSObjectProtocol for GCDeviceCursor {}
extern_methods!(
#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
unsafe impl GCDeviceCursor {}
);
extern_methods!(
#[cfg(all(feature = "GCControllerDirectionPad", feature = "GCControllerElement"))]
unsafe impl GCDeviceCursor {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);