objc2_browser_engine_kit/generated/
BEExtensionProcess.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_protocol!(
9    /// [Apple's documentation](https://developer.apple.com/documentation/browserenginekit/beextensionprocess?language=objc)
10    pub unsafe trait BEExtensionProcess: NSObjectProtocol {
11        /// Stops the extension process.
12        ///
13        /// When you call this method, you tell the system your app no longer needs this extension process.
14        /// If this is the last connection from the host process to the extension process, the system terminates
15        /// the extension process.
16        #[unsafe(method(invalidate))]
17        #[unsafe(method_family = none)]
18        unsafe fn invalidate(&self);
19    }
20);