objc2_app_kit/generated/NSSpellProtocol.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/appkit/nschangespelling?language=objc)
10 pub unsafe trait NSChangeSpelling {
11 /// # Safety
12 ///
13 /// `sender` should be of the correct type.
14 #[unsafe(method(changeSpelling:))]
15 #[unsafe(method_family = none)]
16 unsafe fn changeSpelling(&self, sender: Option<&AnyObject>);
17 }
18);
19
20extern_protocol!(
21 /// [Apple's documentation](https://developer.apple.com/documentation/appkit/nsignoremisspelledwords?language=objc)
22 pub unsafe trait NSIgnoreMisspelledWords {
23 /// # Safety
24 ///
25 /// `sender` should be of the correct type.
26 #[unsafe(method(ignoreSpelling:))]
27 #[unsafe(method_family = none)]
28 unsafe fn ignoreSpelling(&self, sender: Option<&AnyObject>);
29 }
30);