objc2_intents/generated/
INSetProfileInCarIntent_Deprecated.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
9/// Deprecated.
10#[deprecated = "INSetProfileInCarIntent is deprecated. There is no replacement."]
11#[cfg(all(feature = "INIntent", feature = "INSetProfileInCarIntent"))]
12impl INSetProfileInCarIntent {
13    extern_methods!(
14        #[deprecated]
15        #[unsafe(method(initWithProfileNumber:profileLabel:defaultProfile:))]
16        #[unsafe(method_family = init)]
17        pub unsafe fn initWithProfileNumber_profileLabel_defaultProfile(
18            this: Allocated<Self>,
19            profile_number: Option<&NSNumber>,
20            profile_label: Option<&NSString>,
21            default_profile: Option<&NSNumber>,
22        ) -> Retained<Self>;
23
24        #[deprecated]
25        #[unsafe(method(initWithProfileNumber:profileName:defaultProfile:))]
26        #[unsafe(method_family = init)]
27        pub unsafe fn initWithProfileNumber_profileName_defaultProfile(
28            this: Allocated<Self>,
29            profile_number: Option<&NSNumber>,
30            profile_name: Option<&NSString>,
31            default_profile: Option<&NSNumber>,
32        ) -> Retained<Self>;
33
34        #[deprecated]
35        #[unsafe(method(profileLabel))]
36        #[unsafe(method_family = none)]
37        pub unsafe fn profileLabel(&self) -> Option<Retained<NSString>>;
38    );
39}