objc2_browser_engine_kit/generated/
BETextInteractionDelegate.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use core::ptr::NonNull;
5use objc2::__framework_prelude::*;
6
7use crate::*;
8
9extern_protocol!(
10    /// [Apple's documentation](https://developer.apple.com/documentation/browserenginekit/betextinteractiondelegate?language=objc)
11    pub unsafe trait BETextInteractionDelegate {
12        #[cfg(feature = "BETextInteraction")]
13        /// Invoked by the system when the selection is about to change in the document.
14        #[unsafe(method(systemWillChangeSelectionForInteraction:))]
15        #[unsafe(method_family = none)]
16        unsafe fn systemWillChangeSelectionForInteraction(
17            &self,
18            text_interaction: &BETextInteraction,
19        );
20
21        #[cfg(feature = "BETextInteraction")]
22        /// Invoked by the system when the selection is about to change in the document.
23        #[unsafe(method(systemDidChangeSelectionForInteraction:))]
24        #[unsafe(method_family = none)]
25        unsafe fn systemDidChangeSelectionForInteraction(
26            &self,
27            text_interaction: &BETextInteraction,
28        );
29    }
30);