//! 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_DOMHTMLQuoteElement")]
    #[deprecated]
    pub struct DOMHTMLQuoteElement;

    #[cfg(feature = "WebKit_DOMHTMLQuoteElement")]
    unsafe impl ClassType for DOMHTMLQuoteElement {
        #[inherits(DOMElement, DOMNode, DOMObject, WebScriptObject, NSObject)]
        type Super = DOMHTMLElement;
        type Mutability = InteriorMutable;
    }
);

#[cfg(feature = "WebKit_DOMHTMLQuoteElement")]
unsafe impl DOMEventTarget for DOMHTMLQuoteElement {}

#[cfg(feature = "WebKit_DOMHTMLQuoteElement")]
unsafe impl NSCopying for DOMHTMLQuoteElement {}

#[cfg(feature = "WebKit_DOMHTMLQuoteElement")]
unsafe impl NSObjectProtocol for DOMHTMLQuoteElement {}

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

        #[cfg(feature = "Foundation_NSString")]
        #[method(setCite:)]
        pub unsafe fn setCite(&self, cite: Option<&NSString>);
    }
);

extern_methods!(
    /// Methods declared on superclass `DOMObject`
    #[cfg(feature = "WebKit_DOMHTMLQuoteElement")]
    unsafe impl DOMHTMLQuoteElement {
        #[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_DOMHTMLQuoteElement")]
    unsafe impl DOMHTMLQuoteElement {
        #[method_id(@__retain_semantics New new)]
        pub unsafe fn new() -> Id<Self>;
    }
);
