objc2_intents/generated/
INCarDefrosterResolutionResult.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::*;
5
6use crate::*;
7
8extern_class!(
9    /// [Apple's documentation](https://developer.apple.com/documentation/intents/incardefrosterresolutionresult?language=objc)
10    #[unsafe(super(INIntentResolutionResult, NSObject))]
11    #[derive(Debug, PartialEq, Eq, Hash)]
12    #[cfg(feature = "INIntentResolutionResult")]
13    #[deprecated = "INCarDefrosterResolutionResult is deprecated. There is no replacement."]
14    pub struct INCarDefrosterResolutionResult;
15);
16
17#[cfg(feature = "INIntentResolutionResult")]
18extern_conformance!(
19    unsafe impl NSObjectProtocol for INCarDefrosterResolutionResult {}
20);
21
22#[cfg(feature = "INIntentResolutionResult")]
23impl INCarDefrosterResolutionResult {
24    extern_methods!(
25        #[cfg(feature = "INCarDefroster")]
26        #[deprecated = "INCarDefrosterResolutionResult is deprecated. There is no replacement."]
27        #[unsafe(method(successWithResolvedCarDefroster:))]
28        #[unsafe(method_family = none)]
29        pub unsafe fn successWithResolvedCarDefroster(
30            resolved_car_defroster: INCarDefroster,
31        ) -> Retained<Self>;
32
33        #[cfg(feature = "INCarDefroster")]
34        #[deprecated]
35        #[unsafe(method(successWithResolvedValue:))]
36        #[unsafe(method_family = none)]
37        pub unsafe fn successWithResolvedValue(resolved_value: INCarDefroster) -> Retained<Self>;
38
39        #[cfg(feature = "INCarDefroster")]
40        #[deprecated = "INCarDefrosterResolutionResult is deprecated. There is no replacement."]
41        #[unsafe(method(confirmationRequiredWithCarDefrosterToConfirm:))]
42        #[unsafe(method_family = none)]
43        pub unsafe fn confirmationRequiredWithCarDefrosterToConfirm(
44            car_defroster_to_confirm: INCarDefroster,
45        ) -> Retained<Self>;
46
47        #[cfg(feature = "INCarDefroster")]
48        #[deprecated]
49        #[unsafe(method(confirmationRequiredWithValueToConfirm:))]
50        #[unsafe(method_family = none)]
51        pub unsafe fn confirmationRequiredWithValueToConfirm(
52            value_to_confirm: INCarDefroster,
53        ) -> Retained<Self>;
54    );
55}
56
57/// Methods declared on superclass `INIntentResolutionResult`.
58#[cfg(feature = "INIntentResolutionResult")]
59impl INCarDefrosterResolutionResult {
60    extern_methods!(
61        #[unsafe(method(init))]
62        #[unsafe(method_family = init)]
63        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
64
65        #[unsafe(method(needsValue))]
66        #[unsafe(method_family = none)]
67        pub unsafe fn needsValue() -> Retained<Self>;
68
69        #[unsafe(method(notRequired))]
70        #[unsafe(method_family = none)]
71        pub unsafe fn notRequired() -> Retained<Self>;
72
73        #[unsafe(method(unsupported))]
74        #[unsafe(method_family = none)]
75        pub unsafe fn unsupported() -> Retained<Self>;
76    );
77}
78
79/// Methods declared on superclass `NSObject`.
80#[cfg(feature = "INIntentResolutionResult")]
81impl INCarDefrosterResolutionResult {
82    extern_methods!(
83        #[unsafe(method(new))]
84        #[unsafe(method_family = new)]
85        pub unsafe fn new() -> Retained<Self>;
86    );
87}