use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
#[deprecated]
pub struct DOMCounter;
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
unsafe impl ClassType for DOMCounter {
#[inherits(WebScriptObject, NSObject)]
type Super = DOMObject;
type Mutability = InteriorMutable;
}
);
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
unsafe impl NSCopying for DOMCounter {}
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
unsafe impl NSObjectProtocol for DOMCounter {}
extern_methods!(
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
unsafe impl DOMCounter {
#[deprecated]
#[method_id(@__retain_semantics Other identifier)]
pub unsafe fn identifier(&self) -> Retained<NSString>;
#[deprecated]
#[method_id(@__retain_semantics Other listStyle)]
pub unsafe fn listStyle(&self) -> Retained<NSString>;
#[deprecated]
#[method_id(@__retain_semantics Other separator)]
pub unsafe fn separator(&self) -> Retained<NSString>;
}
);
extern_methods!(
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
unsafe impl DOMCounter {
#[deprecated]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
}
);
extern_methods!(
#[cfg(all(feature = "DOMObject", feature = "WebScriptObject"))]
unsafe impl DOMCounter {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
}
);