objc2_web_kit/generated/
DOMHTMLAppletElement.rs1use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6use objc2_foundation::*;
7
8use crate::*;
9
10extern_class!(
11 #[unsafe(super(
13 DOMHTMLElement,
14 DOMElement,
15 DOMNode,
16 DOMObject,
17 WebScriptObject,
18 NSObject
19 ))]
20 #[derive(Debug, PartialEq, Eq, Hash)]
21 #[cfg(all(
22 feature = "DOMElement",
23 feature = "DOMHTMLElement",
24 feature = "DOMNode",
25 feature = "DOMObject",
26 feature = "WebScriptObject"
27 ))]
28 #[deprecated]
29 pub struct DOMHTMLAppletElement;
30);
31
32#[cfg(all(
33 feature = "DOMElement",
34 feature = "DOMEventTarget",
35 feature = "DOMHTMLElement",
36 feature = "DOMNode",
37 feature = "DOMObject",
38 feature = "WebScriptObject"
39))]
40unsafe impl DOMEventTarget for DOMHTMLAppletElement {}
41
42#[cfg(all(
43 feature = "DOMElement",
44 feature = "DOMHTMLElement",
45 feature = "DOMNode",
46 feature = "DOMObject",
47 feature = "WebScriptObject"
48))]
49unsafe impl NSCopying for DOMHTMLAppletElement {}
50
51#[cfg(all(
52 feature = "DOMElement",
53 feature = "DOMHTMLElement",
54 feature = "DOMNode",
55 feature = "DOMObject",
56 feature = "WebScriptObject"
57))]
58unsafe impl CopyingHelper for DOMHTMLAppletElement {
59 type Result = Self;
60}
61
62#[cfg(all(
63 feature = "DOMElement",
64 feature = "DOMHTMLElement",
65 feature = "DOMNode",
66 feature = "DOMObject",
67 feature = "WebScriptObject"
68))]
69unsafe impl NSObjectProtocol for DOMHTMLAppletElement {}
70
71#[cfg(all(
72 feature = "DOMElement",
73 feature = "DOMHTMLElement",
74 feature = "DOMNode",
75 feature = "DOMObject",
76 feature = "WebScriptObject"
77))]
78impl DOMHTMLAppletElement {
79 extern_methods!(
80 #[deprecated]
81 #[unsafe(method(align))]
82 #[unsafe(method_family = none)]
83 pub unsafe fn align(&self) -> Retained<NSString>;
84
85 #[deprecated]
87 #[unsafe(method(setAlign:))]
88 #[unsafe(method_family = none)]
89 pub unsafe fn setAlign(&self, align: Option<&NSString>);
90
91 #[deprecated]
92 #[unsafe(method(alt))]
93 #[unsafe(method_family = none)]
94 pub unsafe fn alt(&self) -> Retained<NSString>;
95
96 #[deprecated]
98 #[unsafe(method(setAlt:))]
99 #[unsafe(method_family = none)]
100 pub unsafe fn setAlt(&self, alt: Option<&NSString>);
101
102 #[deprecated]
103 #[unsafe(method(archive))]
104 #[unsafe(method_family = none)]
105 pub unsafe fn archive(&self) -> Retained<NSString>;
106
107 #[deprecated]
109 #[unsafe(method(setArchive:))]
110 #[unsafe(method_family = none)]
111 pub unsafe fn setArchive(&self, archive: Option<&NSString>);
112
113 #[deprecated]
114 #[unsafe(method(code))]
115 #[unsafe(method_family = none)]
116 pub unsafe fn code(&self) -> Retained<NSString>;
117
118 #[deprecated]
120 #[unsafe(method(setCode:))]
121 #[unsafe(method_family = none)]
122 pub unsafe fn setCode(&self, code: Option<&NSString>);
123
124 #[deprecated]
125 #[unsafe(method(codeBase))]
126 #[unsafe(method_family = none)]
127 pub unsafe fn codeBase(&self) -> Retained<NSString>;
128
129 #[deprecated]
131 #[unsafe(method(setCodeBase:))]
132 #[unsafe(method_family = none)]
133 pub unsafe fn setCodeBase(&self, code_base: Option<&NSString>);
134
135 #[deprecated]
136 #[unsafe(method(height))]
137 #[unsafe(method_family = none)]
138 pub unsafe fn height(&self) -> Retained<NSString>;
139
140 #[deprecated]
142 #[unsafe(method(setHeight:))]
143 #[unsafe(method_family = none)]
144 pub unsafe fn setHeight(&self, height: Option<&NSString>);
145
146 #[deprecated]
147 #[unsafe(method(hspace))]
148 #[unsafe(method_family = none)]
149 pub unsafe fn hspace(&self) -> c_int;
150
151 #[deprecated]
153 #[unsafe(method(setHspace:))]
154 #[unsafe(method_family = none)]
155 pub unsafe fn setHspace(&self, hspace: c_int);
156
157 #[deprecated]
158 #[unsafe(method(name))]
159 #[unsafe(method_family = none)]
160 pub unsafe fn name(&self) -> Retained<NSString>;
161
162 #[deprecated]
164 #[unsafe(method(setName:))]
165 #[unsafe(method_family = none)]
166 pub unsafe fn setName(&self, name: Option<&NSString>);
167
168 #[deprecated]
169 #[unsafe(method(object))]
170 #[unsafe(method_family = none)]
171 pub unsafe fn object(&self) -> Retained<NSString>;
172
173 #[deprecated]
175 #[unsafe(method(setObject:))]
176 #[unsafe(method_family = none)]
177 pub unsafe fn setObject(&self, object: Option<&NSString>);
178
179 #[deprecated]
180 #[unsafe(method(vspace))]
181 #[unsafe(method_family = none)]
182 pub unsafe fn vspace(&self) -> c_int;
183
184 #[deprecated]
186 #[unsafe(method(setVspace:))]
187 #[unsafe(method_family = none)]
188 pub unsafe fn setVspace(&self, vspace: c_int);
189
190 #[deprecated]
191 #[unsafe(method(width))]
192 #[unsafe(method_family = none)]
193 pub unsafe fn width(&self) -> Retained<NSString>;
194
195 #[deprecated]
197 #[unsafe(method(setWidth:))]
198 #[unsafe(method_family = none)]
199 pub unsafe fn setWidth(&self, width: Option<&NSString>);
200 );
201}
202
203#[cfg(all(
205 feature = "DOMElement",
206 feature = "DOMHTMLElement",
207 feature = "DOMNode",
208 feature = "DOMObject",
209 feature = "WebScriptObject"
210))]
211impl DOMHTMLAppletElement {
212 extern_methods!(
213 #[deprecated]
214 #[unsafe(method(init))]
215 #[unsafe(method_family = init)]
216 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
217 );
218}
219
220#[cfg(all(
222 feature = "DOMElement",
223 feature = "DOMHTMLElement",
224 feature = "DOMNode",
225 feature = "DOMObject",
226 feature = "WebScriptObject"
227))]
228impl DOMHTMLAppletElement {
229 extern_methods!(
230 #[unsafe(method(new))]
231 #[unsafe(method_family = new)]
232 pub unsafe fn new() -> Retained<Self>;
233 );
234}