objc2_core_spotlight/generated/
CSIndexExtensionRequestHandler.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10    /// [Apple's documentation](https://developer.apple.com/documentation/corespotlight/csindexextensionrequesthandler?language=objc)
11    #[unsafe(super(NSObject))]
12    #[derive(Debug, PartialEq, Eq, Hash)]
13    pub struct CSIndexExtensionRequestHandler;
14);
15
16#[cfg(feature = "CSSearchableIndex")]
17extern_conformance!(
18    unsafe impl CSSearchableIndexDelegate for CSIndexExtensionRequestHandler {}
19);
20
21extern_conformance!(
22    unsafe impl NSExtensionRequestHandling for CSIndexExtensionRequestHandler {}
23);
24
25extern_conformance!(
26    unsafe impl NSObjectProtocol for CSIndexExtensionRequestHandler {}
27);
28
29impl CSIndexExtensionRequestHandler {
30    extern_methods!();
31}
32
33/// Methods declared on superclass `NSObject`.
34impl CSIndexExtensionRequestHandler {
35    extern_methods!(
36        #[unsafe(method(init))]
37        #[unsafe(method_family = init)]
38        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
39
40        #[unsafe(method(new))]
41        #[unsafe(method_family = new)]
42        pub unsafe fn new() -> Retained<Self>;
43    );
44}