use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct AMWorkspace;
unsafe impl ClassType for AMWorkspace {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSObjectProtocol for AMWorkspace {}
extern_methods!(
unsafe impl AMWorkspace {
#[method_id(@__retain_semantics Other sharedWorkspace)]
pub unsafe fn sharedWorkspace() -> Option<Id<AMWorkspace>>;
}
);
extern_methods!(
unsafe impl AMWorkspace {
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);