use objc2::__framework_prelude::*;
use crate::*;
#[deprecated]
pub const DOM_FILTER_ACCEPT: c_uint = 1;
#[deprecated]
pub const DOM_FILTER_REJECT: c_uint = 2;
#[deprecated]
pub const DOM_FILTER_SKIP: c_uint = 3;
#[deprecated]
pub const DOM_SHOW_ALL: c_uint = 0xFFFFFFFF;
#[deprecated]
pub const DOM_SHOW_ELEMENT: c_uint = 0x00000001;
#[deprecated]
pub const DOM_SHOW_ATTRIBUTE: c_uint = 0x00000002;
#[deprecated]
pub const DOM_SHOW_TEXT: c_uint = 0x00000004;
#[deprecated]
pub const DOM_SHOW_CDATA_SECTION: c_uint = 0x00000008;
#[deprecated]
pub const DOM_SHOW_ENTITY_REFERENCE: c_uint = 0x00000010;
#[deprecated]
pub const DOM_SHOW_ENTITY: c_uint = 0x00000020;
#[deprecated]
pub const DOM_SHOW_PROCESSING_INSTRUCTION: c_uint = 0x00000040;
#[deprecated]
pub const DOM_SHOW_COMMENT: c_uint = 0x00000080;
#[deprecated]
pub const DOM_SHOW_DOCUMENT: c_uint = 0x00000100;
#[deprecated]
pub const DOM_SHOW_DOCUMENT_TYPE: c_uint = 0x00000200;
#[deprecated]
pub const DOM_SHOW_DOCUMENT_FRAGMENT: c_uint = 0x00000400;
#[deprecated]
pub const DOM_SHOW_NOTATION: c_uint = 0x00000800;
extern_protocol!(
#[deprecated]
pub unsafe trait DOMNodeFilter: NSObjectProtocol {
#[cfg(all(
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
#[method(acceptNode:)]
unsafe fn acceptNode(&self, n: Option<&DOMNode>) -> c_short;
}
unsafe impl ProtocolType for dyn DOMNodeFilter {}
);