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