//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::Foundation::*;
use crate::WebKit::*;

extern_class!(
    #[derive(Debug, PartialEq, Eq, Hash)]
    #[cfg(feature = "WebKit_DOMCounter")]
    #[deprecated]
    pub struct DOMCounter;

    #[cfg(feature = "WebKit_DOMCounter")]
    unsafe impl ClassType for DOMCounter {
        #[inherits(WebScriptObject, NSObject)]
        type Super = DOMObject;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "WebKit_DOMCounter")]
unsafe impl NSCopying for DOMCounter {}

#[cfg(feature = "WebKit_DOMCounter")]
unsafe impl NSObjectProtocol for DOMCounter {}

extern_methods!(
    #[cfg(feature = "WebKit_DOMCounter")]
    unsafe impl DOMCounter {
        #[cfg(feature = "Foundation_NSString")]
        #[method_id(@__retain_semantics Other identifier)]
        pub unsafe fn identifier(&self) -> Id<NSString>;

        #[cfg(feature = "Foundation_NSString")]
        #[method_id(@__retain_semantics Other listStyle)]
        pub unsafe fn listStyle(&self) -> Id<NSString>;

        #[cfg(feature = "Foundation_NSString")]
        #[method_id(@__retain_semantics Other separator)]
        pub unsafe fn separator(&self) -> Id<NSString>;
    }
);

extern_methods!(
    /// Methods declared on superclass `DOMObject`
    #[cfg(feature = "WebKit_DOMCounter")]
    unsafe impl DOMCounter {
        #[method_id(@__retain_semantics Init init)]
        pub unsafe fn init(this: Option<Allocated<Self>>) -> Id<Self>;
    }
);

extern_methods!(
    /// Methods declared on superclass `NSObject`
    #[cfg(feature = "WebKit_DOMCounter")]
    unsafe impl DOMCounter {
        #[method_id(@__retain_semantics New new)]
        pub unsafe fn new() -> Id<Self>;
    }
);
