objc2-web-kit 0.3.1

Bindings to the WebKit framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ffi::*;
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_filter_accept?language=objc)
#[deprecated]
pub const DOM_FILTER_ACCEPT: c_uint = 1;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_filter_reject?language=objc)
#[deprecated]
pub const DOM_FILTER_REJECT: c_uint = 2;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_filter_skip?language=objc)
#[deprecated]
pub const DOM_FILTER_SKIP: c_uint = 3;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_all?language=objc)
#[deprecated]
pub const DOM_SHOW_ALL: c_uint = 0xFFFFFFFF;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_element?language=objc)
#[deprecated]
pub const DOM_SHOW_ELEMENT: c_uint = 0x00000001;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_attribute?language=objc)
#[deprecated]
pub const DOM_SHOW_ATTRIBUTE: c_uint = 0x00000002;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_text?language=objc)
#[deprecated]
pub const DOM_SHOW_TEXT: c_uint = 0x00000004;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_cdata_section?language=objc)
#[deprecated]
pub const DOM_SHOW_CDATA_SECTION: c_uint = 0x00000008;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_entity_reference?language=objc)
#[deprecated]
pub const DOM_SHOW_ENTITY_REFERENCE: c_uint = 0x00000010;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_entity?language=objc)
#[deprecated]
pub const DOM_SHOW_ENTITY: c_uint = 0x00000020;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_processing_instruction?language=objc)
#[deprecated]
pub const DOM_SHOW_PROCESSING_INSTRUCTION: c_uint = 0x00000040;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_comment?language=objc)
#[deprecated]
pub const DOM_SHOW_COMMENT: c_uint = 0x00000080;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_document?language=objc)
#[deprecated]
pub const DOM_SHOW_DOCUMENT: c_uint = 0x00000100;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_document_type?language=objc)
#[deprecated]
pub const DOM_SHOW_DOCUMENT_TYPE: c_uint = 0x00000200;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_document_fragment?language=objc)
#[deprecated]
pub const DOM_SHOW_DOCUMENT_FRAGMENT: c_uint = 0x00000400;
/// [Apple's documentation](https://developer.apple.com/documentation/webkit/dom_show_notation?language=objc)
#[deprecated]
pub const DOM_SHOW_NOTATION: c_uint = 0x00000800;

extern_protocol!(
    /// [Apple's documentation](https://developer.apple.com/documentation/webkit/domnodefilter?language=objc)
    #[deprecated]
    pub unsafe trait DOMNodeFilter: NSObjectProtocol {
        #[cfg(all(
            feature = "DOMNode",
            feature = "DOMObject",
            feature = "WebScriptObject"
        ))]
        #[deprecated]
        #[unsafe(method(acceptNode:))]
        #[unsafe(method_family = none)]
        unsafe fn acceptNode(&self, n: Option<&DOMNode>) -> c_short;
    }
);