icrate/generated/EventKit/
EKVirtualConferenceDescriptor.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use crate::common::*;
4use crate::AppKit::*;
5use crate::CoreLocation::*;
6use crate::EventKit::*;
7use crate::Foundation::*;
8use crate::MapKit::*;
9
10pub type EKVirtualConferenceRoomTypeIdentifier = NSString;
11
12extern_class!(
13    #[derive(Debug, PartialEq, Eq, Hash)]
14    #[cfg(feature = "EventKit_EKVirtualConferenceRoomTypeDescriptor")]
15    pub struct EKVirtualConferenceRoomTypeDescriptor;
16
17    #[cfg(feature = "EventKit_EKVirtualConferenceRoomTypeDescriptor")]
18    unsafe impl ClassType for EKVirtualConferenceRoomTypeDescriptor {
19        type Super = NSObject;
20        type Mutability = InteriorMutable;
21    }
22);
23
24#[cfg(feature = "EventKit_EKVirtualConferenceRoomTypeDescriptor")]
25unsafe impl NSObjectProtocol for EKVirtualConferenceRoomTypeDescriptor {}
26
27extern_methods!(
28    #[cfg(feature = "EventKit_EKVirtualConferenceRoomTypeDescriptor")]
29    unsafe impl EKVirtualConferenceRoomTypeDescriptor {
30        #[cfg(feature = "Foundation_NSString")]
31        #[method_id(@__retain_semantics Init initWithTitle:identifier:)]
32        pub unsafe fn initWithTitle_identifier(
33            this: Allocated<Self>,
34            title: &NSString,
35            identifier: &EKVirtualConferenceRoomTypeIdentifier,
36        ) -> Id<Self>;
37
38        #[cfg(feature = "Foundation_NSString")]
39        #[method_id(@__retain_semantics Other title)]
40        pub unsafe fn title(&self) -> Id<NSString>;
41
42        #[method_id(@__retain_semantics Other identifier)]
43        pub unsafe fn identifier(&self) -> Id<EKVirtualConferenceRoomTypeIdentifier>;
44
45        #[method_id(@__retain_semantics Init init)]
46        pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
47
48        #[method_id(@__retain_semantics New new)]
49        pub unsafe fn new() -> Id<Self>;
50    }
51);
52
53extern_class!(
54    #[derive(Debug, PartialEq, Eq, Hash)]
55    #[cfg(feature = "EventKit_EKVirtualConferenceURLDescriptor")]
56    pub struct EKVirtualConferenceURLDescriptor;
57
58    #[cfg(feature = "EventKit_EKVirtualConferenceURLDescriptor")]
59    unsafe impl ClassType for EKVirtualConferenceURLDescriptor {
60        type Super = NSObject;
61        type Mutability = InteriorMutable;
62    }
63);
64
65#[cfg(feature = "EventKit_EKVirtualConferenceURLDescriptor")]
66unsafe impl NSObjectProtocol for EKVirtualConferenceURLDescriptor {}
67
68extern_methods!(
69    #[cfg(feature = "EventKit_EKVirtualConferenceURLDescriptor")]
70    unsafe impl EKVirtualConferenceURLDescriptor {
71        #[cfg(all(feature = "Foundation_NSString", feature = "Foundation_NSURL"))]
72        #[method_id(@__retain_semantics Init initWithTitle:URL:)]
73        pub unsafe fn initWithTitle_URL(
74            this: Allocated<Self>,
75            title: Option<&NSString>,
76            url: &NSURL,
77        ) -> Id<Self>;
78
79        #[cfg(feature = "Foundation_NSString")]
80        #[method_id(@__retain_semantics Other title)]
81        pub unsafe fn title(&self) -> Option<Id<NSString>>;
82
83        #[cfg(feature = "Foundation_NSURL")]
84        #[method_id(@__retain_semantics Other URL)]
85        pub unsafe fn URL(&self) -> Id<NSURL>;
86
87        #[method_id(@__retain_semantics Init init)]
88        pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
89
90        #[method_id(@__retain_semantics New new)]
91        pub unsafe fn new() -> Id<Self>;
92    }
93);
94
95extern_class!(
96    #[derive(Debug, PartialEq, Eq, Hash)]
97    #[cfg(feature = "EventKit_EKVirtualConferenceDescriptor")]
98    pub struct EKVirtualConferenceDescriptor;
99
100    #[cfg(feature = "EventKit_EKVirtualConferenceDescriptor")]
101    unsafe impl ClassType for EKVirtualConferenceDescriptor {
102        type Super = NSObject;
103        type Mutability = InteriorMutable;
104    }
105);
106
107#[cfg(feature = "EventKit_EKVirtualConferenceDescriptor")]
108unsafe impl NSObjectProtocol for EKVirtualConferenceDescriptor {}
109
110extern_methods!(
111    #[cfg(feature = "EventKit_EKVirtualConferenceDescriptor")]
112    unsafe impl EKVirtualConferenceDescriptor {
113        #[cfg(all(
114            feature = "EventKit_EKVirtualConferenceURLDescriptor",
115            feature = "Foundation_NSArray",
116            feature = "Foundation_NSString"
117        ))]
118        #[method_id(@__retain_semantics Init initWithTitle:URLDescriptors:conferenceDetails:)]
119        pub unsafe fn initWithTitle_URLDescriptors_conferenceDetails(
120            this: Allocated<Self>,
121            title: Option<&NSString>,
122            url_descriptors: &NSArray<EKVirtualConferenceURLDescriptor>,
123            conference_details: Option<&NSString>,
124        ) -> Id<Self>;
125
126        #[cfg(feature = "Foundation_NSString")]
127        #[method_id(@__retain_semantics Other title)]
128        pub unsafe fn title(&self) -> Option<Id<NSString>>;
129
130        #[cfg(all(
131            feature = "EventKit_EKVirtualConferenceURLDescriptor",
132            feature = "Foundation_NSArray"
133        ))]
134        #[method_id(@__retain_semantics Other URLDescriptors)]
135        pub unsafe fn URLDescriptors(&self) -> Id<NSArray<EKVirtualConferenceURLDescriptor>>;
136
137        #[cfg(feature = "Foundation_NSString")]
138        #[method_id(@__retain_semantics Other conferenceDetails)]
139        pub unsafe fn conferenceDetails(&self) -> Option<Id<NSString>>;
140
141        #[method_id(@__retain_semantics Init init)]
142        pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
143
144        #[method_id(@__retain_semantics New new)]
145        pub unsafe fn new() -> Id<Self>;
146    }
147);