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 DOMHTMLTableColElement;
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl ClassType for DOMHTMLTableColElement {
#[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 DOMHTMLTableColElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLTableColElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLTableColElement {}
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableColElement {
#[deprecated]
#[method_id(@__retain_semantics Other align)]
pub unsafe fn align(&self) -> Retained<NSString>;
#[deprecated]
#[method(setAlign:)]
pub unsafe fn setAlign(&self, align: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other ch)]
pub unsafe fn ch(&self) -> Retained<NSString>;
#[deprecated]
#[method(setCh:)]
pub unsafe fn setCh(&self, ch: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other chOff)]
pub unsafe fn chOff(&self) -> Retained<NSString>;
#[deprecated]
#[method(setChOff:)]
pub unsafe fn setChOff(&self, ch_off: Option<&NSString>);
#[deprecated]
#[method(span)]
pub unsafe fn span(&self) -> c_int;
#[deprecated]
#[method(setSpan:)]
pub unsafe fn setSpan(&self, span: c_int);
#[deprecated]
#[method_id(@__retain_semantics Other vAlign)]
pub unsafe fn vAlign(&self) -> Retained<NSString>;
#[deprecated]
#[method(setVAlign:)]
pub unsafe fn setVAlign(&self, v_align: Option<&NSString>);
#[deprecated]
#[method_id(@__retain_semantics Other width)]
pub unsafe fn width(&self) -> Retained<NSString>;
#[deprecated]
#[method(setWidth:)]
pub unsafe fn setWidth(&self, width: Option<&NSString>);
}
);
extern_methods!(
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMHTMLTableColElement {
#[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 DOMHTMLTableColElement {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);