objc2_intents/generated/
INCarAudioSource.rs1use objc2::__framework_prelude::*;
4
5use crate::*;
6
7#[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
10#[repr(transparent)]
11#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
12pub struct INCarAudioSource(pub NSInteger);
13impl INCarAudioSource {
14 #[doc(alias = "INCarAudioSourceUnknown")]
15 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
16 pub const SourceUnknown: Self = Self(0);
17 #[doc(alias = "INCarAudioSourceCarPlay")]
18 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
19 pub const SourceCarPlay: Self = Self(1);
20 #[doc(alias = "INCarAudioSourceiPod")]
21 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
22 pub const SourceiPod: Self = Self(2);
23 #[doc(alias = "INCarAudioSourceRadio")]
24 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
25 pub const SourceRadio: Self = Self(3);
26 #[doc(alias = "INCarAudioSourceBluetooth")]
27 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
28 pub const SourceBluetooth: Self = Self(4);
29 #[doc(alias = "INCarAudioSourceAUX")]
30 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
31 pub const SourceAUX: Self = Self(5);
32 #[doc(alias = "INCarAudioSourceUSB")]
33 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
34 pub const SourceUSB: Self = Self(6);
35 #[doc(alias = "INCarAudioSourceMemoryCard")]
36 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
37 pub const SourceMemoryCard: Self = Self(7);
38 #[doc(alias = "INCarAudioSourceOpticalDrive")]
39 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
40 pub const SourceOpticalDrive: Self = Self(8);
41 #[doc(alias = "INCarAudioSourceHardDrive")]
42 #[deprecated = "INCarAudioSource is deprecated. There is no replacement."]
43 pub const SourceHardDrive: Self = Self(9);
44}
45
46unsafe impl Encode for INCarAudioSource {
47 const ENCODING: Encoding = NSInteger::ENCODING;
48}
49
50unsafe impl RefEncode for INCarAudioSource {
51 const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
52}