use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(
DOMHTMLElement,
DOMElement,
DOMNode,
DOMObject,
WebScriptObject,
NSObject
))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLAppletElement;
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl DOMEventTarget for DOMHTMLAppletElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSCopying for DOMHTMLAppletElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl CopyingHelper for DOMHTMLAppletElement {
type Result = Self;
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSObjectProtocol for DOMHTMLAppletElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLAppletElement {
extern_methods!(
#[deprecated]
#[unsafe(method(align))]
#[unsafe(method_family = none)]
pub unsafe fn align(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setAlign:))]
#[unsafe(method_family = none)]
pub unsafe fn setAlign(&self, align: Option<&NSString>);
#[deprecated]
#[unsafe(method(alt))]
#[unsafe(method_family = none)]
pub unsafe fn alt(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setAlt:))]
#[unsafe(method_family = none)]
pub unsafe fn setAlt(&self, alt: Option<&NSString>);
#[deprecated]
#[unsafe(method(archive))]
#[unsafe(method_family = none)]
pub unsafe fn archive(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setArchive:))]
#[unsafe(method_family = none)]
pub unsafe fn setArchive(&self, archive: Option<&NSString>);
#[deprecated]
#[unsafe(method(code))]
#[unsafe(method_family = none)]
pub unsafe fn code(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setCode:))]
#[unsafe(method_family = none)]
pub unsafe fn setCode(&self, code: Option<&NSString>);
#[deprecated]
#[unsafe(method(codeBase))]
#[unsafe(method_family = none)]
pub unsafe fn codeBase(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setCodeBase:))]
#[unsafe(method_family = none)]
pub unsafe fn setCodeBase(&self, code_base: Option<&NSString>);
#[deprecated]
#[unsafe(method(height))]
#[unsafe(method_family = none)]
pub unsafe fn height(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setHeight:))]
#[unsafe(method_family = none)]
pub unsafe fn setHeight(&self, height: Option<&NSString>);
#[deprecated]
#[unsafe(method(hspace))]
#[unsafe(method_family = none)]
pub unsafe fn hspace(&self) -> c_int;
#[deprecated]
#[unsafe(method(setHspace:))]
#[unsafe(method_family = none)]
pub unsafe fn setHspace(&self, hspace: c_int);
#[deprecated]
#[unsafe(method(name))]
#[unsafe(method_family = none)]
pub unsafe fn name(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setName:))]
#[unsafe(method_family = none)]
pub unsafe fn setName(&self, name: Option<&NSString>);
#[deprecated]
#[unsafe(method(object))]
#[unsafe(method_family = none)]
pub unsafe fn object(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setObject:))]
#[unsafe(method_family = none)]
pub unsafe fn setObject(&self, object: Option<&NSString>);
#[deprecated]
#[unsafe(method(vspace))]
#[unsafe(method_family = none)]
pub unsafe fn vspace(&self) -> c_int;
#[deprecated]
#[unsafe(method(setVspace:))]
#[unsafe(method_family = none)]
pub unsafe fn setVspace(&self, vspace: c_int);
#[deprecated]
#[unsafe(method(width))]
#[unsafe(method_family = none)]
pub unsafe fn width(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setWidth:))]
#[unsafe(method_family = none)]
pub unsafe fn setWidth(&self, width: Option<&NSString>);
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLAppletElement {
extern_methods!(
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLAppletElement {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}