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 DOMHTMLAreaElement;
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl DOMEventTarget for DOMHTMLAreaElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSCopying for DOMHTMLAreaElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl CopyingHelper for DOMHTMLAreaElement {
type Result = Self;
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
extern_conformance!(
unsafe impl NSObjectProtocol for DOMHTMLAreaElement {}
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLAreaElement {
extern_methods!(
#[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(coords))]
#[unsafe(method_family = none)]
pub unsafe fn coords(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setCoords:))]
#[unsafe(method_family = none)]
pub unsafe fn setCoords(&self, coords: Option<&NSString>);
#[deprecated]
#[unsafe(method(noHref))]
#[unsafe(method_family = none)]
pub unsafe fn noHref(&self) -> bool;
#[deprecated]
#[unsafe(method(setNoHref:))]
#[unsafe(method_family = none)]
pub unsafe fn setNoHref(&self, no_href: bool);
#[deprecated]
#[unsafe(method(shape))]
#[unsafe(method_family = none)]
pub unsafe fn shape(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setShape:))]
#[unsafe(method_family = none)]
pub unsafe fn setShape(&self, shape: Option<&NSString>);
#[deprecated]
#[unsafe(method(target))]
#[unsafe(method_family = none)]
pub unsafe fn target(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setTarget:))]
#[unsafe(method_family = none)]
pub unsafe fn setTarget(&self, target: Option<&NSString>);
#[deprecated]
#[unsafe(method(accessKey))]
#[unsafe(method_family = none)]
pub unsafe fn accessKey(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setAccessKey:))]
#[unsafe(method_family = none)]
pub unsafe fn setAccessKey(&self, access_key: Option<&NSString>);
#[unsafe(method(absoluteLinkURL))]
#[unsafe(method_family = none)]
pub unsafe fn absoluteLinkURL(&self) -> Retained<NSURL>;
#[deprecated]
#[unsafe(method(href))]
#[unsafe(method_family = none)]
pub unsafe fn href(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setHref:))]
#[unsafe(method_family = none)]
pub unsafe fn setHref(&self, href: Option<&NSString>);
#[unsafe(method(protocol))]
#[unsafe(method_family = none)]
pub unsafe fn protocol(&self) -> Retained<NSString>;
#[unsafe(method(host))]
#[unsafe(method_family = none)]
pub unsafe fn host(&self) -> Retained<NSString>;
#[unsafe(method(hostname))]
#[unsafe(method_family = none)]
pub unsafe fn hostname(&self) -> Retained<NSString>;
#[unsafe(method(port))]
#[unsafe(method_family = none)]
pub unsafe fn port(&self) -> Retained<NSString>;
#[unsafe(method(pathname))]
#[unsafe(method_family = none)]
pub unsafe fn pathname(&self) -> Retained<NSString>;
#[unsafe(method(search))]
#[unsafe(method_family = none)]
pub unsafe fn search(&self) -> Retained<NSString>;
#[unsafe(method(hashName))]
#[unsafe(method_family = none)]
pub unsafe fn hashName(&self) -> Retained<NSString>;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLAreaElement {
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 DOMHTMLAreaElement {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}