objc2_automator/generated/
AMWorkspace.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(NSObject))]
11 #[derive(Debug, PartialEq, Eq, Hash)]
12 pub struct AMWorkspace;
13);
14
15unsafe impl NSObjectProtocol for AMWorkspace {}
16
17impl AMWorkspace {
18 extern_methods!(
19 #[unsafe(method(sharedWorkspace))]
20 #[unsafe(method_family = none)]
21 pub unsafe fn sharedWorkspace() -> Option<Retained<AMWorkspace>>;
22 );
23}
24
25impl AMWorkspace {
27 extern_methods!(
28 #[unsafe(method(init))]
29 #[unsafe(method_family = init)]
30 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
31
32 #[unsafe(method(new))]
33 #[unsafe(method_family = new)]
34 pub unsafe fn new() -> Retained<Self>;
35 );
36}