use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(DOMElement, DOMNode, DOMObject, WebScriptObject, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLElement;
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl DOMEventTarget for DOMHTMLElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSCopying for DOMHTMLElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl CopyingHelper for DOMHTMLElement {
type Result = Self;
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSObjectProtocol for DOMHTMLElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLElement {
extern_methods!(
#[deprecated]
#[unsafe(method(title))]
#[unsafe(method_family = none)]
pub unsafe fn title(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setTitle:))]
#[unsafe(method_family = none)]
pub unsafe fn setTitle(&self, title: Option<&NSString>);
#[deprecated]
#[unsafe(method(lang))]
#[unsafe(method_family = none)]
pub unsafe fn lang(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setLang:))]
#[unsafe(method_family = none)]
pub unsafe fn setLang(&self, lang: Option<&NSString>);
#[deprecated]
#[unsafe(method(dir))]
#[unsafe(method_family = none)]
pub unsafe fn dir(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setDir:))]
#[unsafe(method_family = none)]
pub unsafe fn setDir(&self, dir: Option<&NSString>);
#[deprecated]
#[unsafe(method(tabIndex))]
#[unsafe(method_family = none)]
pub unsafe fn tabIndex(&self) -> c_int;
#[deprecated]
#[unsafe(method(setTabIndex:))]
#[unsafe(method_family = none)]
pub unsafe fn setTabIndex(&self, tab_index: c_int);
#[unsafe(method(accessKey))]
#[unsafe(method_family = none)]
pub unsafe fn accessKey(&self) -> Retained<NSString>;
#[unsafe(method(setAccessKey:))]
#[unsafe(method_family = none)]
pub unsafe fn setAccessKey(&self, access_key: Option<&NSString>);
#[deprecated]
#[unsafe(method(innerText))]
#[unsafe(method_family = none)]
pub unsafe fn innerText(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setInnerText:))]
#[unsafe(method_family = none)]
pub unsafe fn setInnerText(&self, inner_text: Option<&NSString>);
#[deprecated]
#[unsafe(method(outerText))]
#[unsafe(method_family = none)]
pub unsafe fn outerText(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setOuterText:))]
#[unsafe(method_family = none)]
pub unsafe fn setOuterText(&self, outer_text: Option<&NSString>);
#[deprecated]
#[unsafe(method(contentEditable))]
#[unsafe(method_family = none)]
pub unsafe fn contentEditable(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setContentEditable:))]
#[unsafe(method_family = none)]
pub unsafe fn setContentEditable(&self, content_editable: Option<&NSString>);
#[deprecated]
#[unsafe(method(isContentEditable))]
#[unsafe(method_family = none)]
pub unsafe fn isContentEditable(&self) -> bool;
#[deprecated]
#[unsafe(method(idName))]
#[unsafe(method_family = none)]
pub unsafe fn idName(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setIdName:))]
#[unsafe(method_family = none)]
pub unsafe fn setIdName(&self, id_name: Option<&NSString>);
#[cfg(feature = "DOMHTMLCollection")]
#[deprecated]
#[unsafe(method(children))]
#[unsafe(method_family = none)]
pub unsafe fn children(&self) -> Option<Retained<DOMHTMLCollection>>;
#[unsafe(method(titleDisplayString))]
#[unsafe(method_family = none)]
pub unsafe fn titleDisplayString(&self) -> Retained<NSString>;
#[unsafe(method(click))]
#[unsafe(method_family = none)]
pub unsafe fn click(&self);
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLElement {
extern_methods!(
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLElement {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}