use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLBodyElement;
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl ClassType for DOMHTMLBodyElement {
#[inherits(DOMElement, DOMNode, DOMObject, WebScriptObject, NSObject)]
type Super = DOMHTMLElement;
type Mutability = InteriorMutable;
}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMEventTarget for DOMHTMLBodyElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLBodyElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLBodyElement {}
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLBodyElement {
#[deprecated]
#[method_id(@__retain_semantics Other aLink)]
pub unsafe fn aLink(&self) -> Retained<NSString>;
#[deprecated]
#[method(setALink:)]
pub unsafe fn setALink(&self, a_link: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other background)]
pub unsafe fn background(&self) -> Retained<NSString>;
#[deprecated]
#[method(setBackground:)]
pub unsafe fn setBackground(&self, background: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other bgColor)]
pub unsafe fn bgColor(&self) -> Retained<NSString>;
#[deprecated]
#[method(setBgColor:)]
pub unsafe fn setBgColor(&self, bg_color: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other link)]
pub unsafe fn link(&self) -> Retained<NSString>;
#[deprecated]
#[method(setLink:)]
pub unsafe fn setLink(&self, link: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other text)]
pub unsafe fn text(&self) -> Retained<NSString>;
#[deprecated]
#[method(setText:)]
pub unsafe fn setText(&self, text: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other vLink)]
pub unsafe fn vLink(&self) -> Retained<NSString>;
#[deprecated]
#[method(setVLink:)]
pub unsafe fn setVLink(&self, v_link: Option<&NSString>);
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLBodyElement {
#[deprecated]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLBodyElement {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);