//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
#[cfg(feature = "objc2")]
use objc2::__framework_prelude::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/corefoundation/cfstringencodings?language=objc)
// NS_ENUM
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct CFStringEncodings(pub CFIndex);
impl CFStringEncodings {
    #[doc(alias = "kCFStringEncodingMacJapanese")]
    pub const MacJapanese: Self = Self(1);
    #[doc(alias = "kCFStringEncodingMacChineseTrad")]
    pub const MacChineseTrad: Self = Self(2);
    #[doc(alias = "kCFStringEncodingMacKorean")]
    pub const MacKorean: Self = Self(3);
    #[doc(alias = "kCFStringEncodingMacArabic")]
    pub const MacArabic: Self = Self(4);
    #[doc(alias = "kCFStringEncodingMacHebrew")]
    pub const MacHebrew: Self = Self(5);
    #[doc(alias = "kCFStringEncodingMacGreek")]
    pub const MacGreek: Self = Self(6);
    #[doc(alias = "kCFStringEncodingMacCyrillic")]
    pub const MacCyrillic: Self = Self(7);
    #[doc(alias = "kCFStringEncodingMacDevanagari")]
    pub const MacDevanagari: Self = Self(9);
    #[doc(alias = "kCFStringEncodingMacGurmukhi")]
    pub const MacGurmukhi: Self = Self(10);
    #[doc(alias = "kCFStringEncodingMacGujarati")]
    pub const MacGujarati: Self = Self(11);
    #[doc(alias = "kCFStringEncodingMacOriya")]
    pub const MacOriya: Self = Self(12);
    #[doc(alias = "kCFStringEncodingMacBengali")]
    pub const MacBengali: Self = Self(13);
    #[doc(alias = "kCFStringEncodingMacTamil")]
    pub const MacTamil: Self = Self(14);
    #[doc(alias = "kCFStringEncodingMacTelugu")]
    pub const MacTelugu: Self = Self(15);
    #[doc(alias = "kCFStringEncodingMacKannada")]
    pub const MacKannada: Self = Self(16);
    #[doc(alias = "kCFStringEncodingMacMalayalam")]
    pub const MacMalayalam: Self = Self(17);
    #[doc(alias = "kCFStringEncodingMacSinhalese")]
    pub const MacSinhalese: Self = Self(18);
    #[doc(alias = "kCFStringEncodingMacBurmese")]
    pub const MacBurmese: Self = Self(19);
    #[doc(alias = "kCFStringEncodingMacKhmer")]
    pub const MacKhmer: Self = Self(20);
    #[doc(alias = "kCFStringEncodingMacThai")]
    pub const MacThai: Self = Self(21);
    #[doc(alias = "kCFStringEncodingMacLaotian")]
    pub const MacLaotian: Self = Self(22);
    #[doc(alias = "kCFStringEncodingMacGeorgian")]
    pub const MacGeorgian: Self = Self(23);
    #[doc(alias = "kCFStringEncodingMacArmenian")]
    pub const MacArmenian: Self = Self(24);
    #[doc(alias = "kCFStringEncodingMacChineseSimp")]
    pub const MacChineseSimp: Self = Self(25);
    #[doc(alias = "kCFStringEncodingMacTibetan")]
    pub const MacTibetan: Self = Self(26);
    #[doc(alias = "kCFStringEncodingMacMongolian")]
    pub const MacMongolian: Self = Self(27);
    #[doc(alias = "kCFStringEncodingMacEthiopic")]
    pub const MacEthiopic: Self = Self(28);
    #[doc(alias = "kCFStringEncodingMacCentralEurRoman")]
    pub const MacCentralEurRoman: Self = Self(29);
    #[doc(alias = "kCFStringEncodingMacVietnamese")]
    pub const MacVietnamese: Self = Self(30);
    #[doc(alias = "kCFStringEncodingMacExtArabic")]
    pub const MacExtArabic: Self = Self(31);
    #[doc(alias = "kCFStringEncodingMacSymbol")]
    pub const MacSymbol: Self = Self(33);
    #[doc(alias = "kCFStringEncodingMacDingbats")]
    pub const MacDingbats: Self = Self(34);
    #[doc(alias = "kCFStringEncodingMacTurkish")]
    pub const MacTurkish: Self = Self(35);
    #[doc(alias = "kCFStringEncodingMacCroatian")]
    pub const MacCroatian: Self = Self(36);
    #[doc(alias = "kCFStringEncodingMacIcelandic")]
    pub const MacIcelandic: Self = Self(37);
    #[doc(alias = "kCFStringEncodingMacRomanian")]
    pub const MacRomanian: Self = Self(38);
    #[doc(alias = "kCFStringEncodingMacCeltic")]
    pub const MacCeltic: Self = Self(39);
    #[doc(alias = "kCFStringEncodingMacGaelic")]
    pub const MacGaelic: Self = Self(40);
    #[doc(alias = "kCFStringEncodingMacFarsi")]
    pub const MacFarsi: Self = Self(0x8C);
    #[doc(alias = "kCFStringEncodingMacUkrainian")]
    pub const MacUkrainian: Self = Self(0x98);
    #[doc(alias = "kCFStringEncodingMacInuit")]
    pub const MacInuit: Self = Self(0xEC);
    #[doc(alias = "kCFStringEncodingMacVT100")]
    pub const MacVT100: Self = Self(0xFC);
    #[doc(alias = "kCFStringEncodingMacHFS")]
    pub const MacHFS: Self = Self(0xFF);
    #[doc(alias = "kCFStringEncodingISOLatin2")]
    pub const ISOLatin2: Self = Self(0x0202);
    #[doc(alias = "kCFStringEncodingISOLatin3")]
    pub const ISOLatin3: Self = Self(0x0203);
    #[doc(alias = "kCFStringEncodingISOLatin4")]
    pub const ISOLatin4: Self = Self(0x0204);
    #[doc(alias = "kCFStringEncodingISOLatinCyrillic")]
    pub const ISOLatinCyrillic: Self = Self(0x0205);
    #[doc(alias = "kCFStringEncodingISOLatinArabic")]
    pub const ISOLatinArabic: Self = Self(0x0206);
    #[doc(alias = "kCFStringEncodingISOLatinGreek")]
    pub const ISOLatinGreek: Self = Self(0x0207);
    #[doc(alias = "kCFStringEncodingISOLatinHebrew")]
    pub const ISOLatinHebrew: Self = Self(0x0208);
    #[doc(alias = "kCFStringEncodingISOLatin5")]
    pub const ISOLatin5: Self = Self(0x0209);
    #[doc(alias = "kCFStringEncodingISOLatin6")]
    pub const ISOLatin6: Self = Self(0x020A);
    #[doc(alias = "kCFStringEncodingISOLatinThai")]
    pub const ISOLatinThai: Self = Self(0x020B);
    #[doc(alias = "kCFStringEncodingISOLatin7")]
    pub const ISOLatin7: Self = Self(0x020D);
    #[doc(alias = "kCFStringEncodingISOLatin8")]
    pub const ISOLatin8: Self = Self(0x020E);
    #[doc(alias = "kCFStringEncodingISOLatin9")]
    pub const ISOLatin9: Self = Self(0x020F);
    #[doc(alias = "kCFStringEncodingISOLatin10")]
    pub const ISOLatin10: Self = Self(0x0210);
    #[doc(alias = "kCFStringEncodingDOSLatinUS")]
    pub const DOSLatinUS: Self = Self(0x0400);
    #[doc(alias = "kCFStringEncodingDOSGreek")]
    pub const DOSGreek: Self = Self(0x0405);
    #[doc(alias = "kCFStringEncodingDOSBalticRim")]
    pub const DOSBalticRim: Self = Self(0x0406);
    #[doc(alias = "kCFStringEncodingDOSLatin1")]
    pub const DOSLatin1: Self = Self(0x0410);
    #[doc(alias = "kCFStringEncodingDOSGreek1")]
    pub const DOSGreek1: Self = Self(0x0411);
    #[doc(alias = "kCFStringEncodingDOSLatin2")]
    pub const DOSLatin2: Self = Self(0x0412);
    #[doc(alias = "kCFStringEncodingDOSCyrillic")]
    pub const DOSCyrillic: Self = Self(0x0413);
    #[doc(alias = "kCFStringEncodingDOSTurkish")]
    pub const DOSTurkish: Self = Self(0x0414);
    #[doc(alias = "kCFStringEncodingDOSPortuguese")]
    pub const DOSPortuguese: Self = Self(0x0415);
    #[doc(alias = "kCFStringEncodingDOSIcelandic")]
    pub const DOSIcelandic: Self = Self(0x0416);
    #[doc(alias = "kCFStringEncodingDOSHebrew")]
    pub const DOSHebrew: Self = Self(0x0417);
    #[doc(alias = "kCFStringEncodingDOSCanadianFrench")]
    pub const DOSCanadianFrench: Self = Self(0x0418);
    #[doc(alias = "kCFStringEncodingDOSArabic")]
    pub const DOSArabic: Self = Self(0x0419);
    #[doc(alias = "kCFStringEncodingDOSNordic")]
    pub const DOSNordic: Self = Self(0x041A);
    #[doc(alias = "kCFStringEncodingDOSRussian")]
    pub const DOSRussian: Self = Self(0x041B);
    #[doc(alias = "kCFStringEncodingDOSGreek2")]
    pub const DOSGreek2: Self = Self(0x041C);
    #[doc(alias = "kCFStringEncodingDOSThai")]
    pub const DOSThai: Self = Self(0x041D);
    #[doc(alias = "kCFStringEncodingDOSJapanese")]
    pub const DOSJapanese: Self = Self(0x0420);
    #[doc(alias = "kCFStringEncodingDOSChineseSimplif")]
    pub const DOSChineseSimplif: Self = Self(0x0421);
    #[doc(alias = "kCFStringEncodingDOSKorean")]
    pub const DOSKorean: Self = Self(0x0422);
    #[doc(alias = "kCFStringEncodingDOSChineseTrad")]
    pub const DOSChineseTrad: Self = Self(0x0423);
    #[doc(alias = "kCFStringEncodingWindowsLatin2")]
    pub const WindowsLatin2: Self = Self(0x0501);
    #[doc(alias = "kCFStringEncodingWindowsCyrillic")]
    pub const WindowsCyrillic: Self = Self(0x0502);
    #[doc(alias = "kCFStringEncodingWindowsGreek")]
    pub const WindowsGreek: Self = Self(0x0503);
    #[doc(alias = "kCFStringEncodingWindowsLatin5")]
    pub const WindowsLatin5: Self = Self(0x0504);
    #[doc(alias = "kCFStringEncodingWindowsHebrew")]
    pub const WindowsHebrew: Self = Self(0x0505);
    #[doc(alias = "kCFStringEncodingWindowsArabic")]
    pub const WindowsArabic: Self = Self(0x0506);
    #[doc(alias = "kCFStringEncodingWindowsBalticRim")]
    pub const WindowsBalticRim: Self = Self(0x0507);
    #[doc(alias = "kCFStringEncodingWindowsVietnamese")]
    pub const WindowsVietnamese: Self = Self(0x0508);
    #[doc(alias = "kCFStringEncodingWindowsKoreanJohab")]
    pub const WindowsKoreanJohab: Self = Self(0x0510);
    #[doc(alias = "kCFStringEncodingANSEL")]
    pub const ANSEL: Self = Self(0x0601);
    #[doc(alias = "kCFStringEncodingJIS_X0201_76")]
    pub const JIS_X0201_76: Self = Self(0x0620);
    #[doc(alias = "kCFStringEncodingJIS_X0208_83")]
    pub const JIS_X0208_83: Self = Self(0x0621);
    #[doc(alias = "kCFStringEncodingJIS_X0208_90")]
    pub const JIS_X0208_90: Self = Self(0x0622);
    #[doc(alias = "kCFStringEncodingJIS_X0212_90")]
    pub const JIS_X0212_90: Self = Self(0x0623);
    #[doc(alias = "kCFStringEncodingJIS_C6226_78")]
    pub const JIS_C6226_78: Self = Self(0x0624);
    #[doc(alias = "kCFStringEncodingShiftJIS_X0213")]
    pub const ShiftJIS_X0213: Self = Self(0x0628);
    #[doc(alias = "kCFStringEncodingShiftJIS_X0213_MenKuTen")]
    pub const ShiftJIS_X0213_MenKuTen: Self = Self(0x0629);
    #[doc(alias = "kCFStringEncodingGB_2312_80")]
    pub const GB_2312_80: Self = Self(0x0630);
    #[doc(alias = "kCFStringEncodingGBK_95")]
    pub const GBK_95: Self = Self(0x0631);
    #[doc(alias = "kCFStringEncodingGB_18030_2000")]
    pub const GB_18030_2000: Self = Self(0x0632);
    #[doc(alias = "kCFStringEncodingKSC_5601_87")]
    pub const KSC_5601_87: Self = Self(0x0640);
    #[doc(alias = "kCFStringEncodingKSC_5601_92_Johab")]
    pub const KSC_5601_92_Johab: Self = Self(0x0641);
    #[doc(alias = "kCFStringEncodingCNS_11643_92_P1")]
    pub const CNS_11643_92_P1: Self = Self(0x0651);
    #[doc(alias = "kCFStringEncodingCNS_11643_92_P2")]
    pub const CNS_11643_92_P2: Self = Self(0x0652);
    #[doc(alias = "kCFStringEncodingCNS_11643_92_P3")]
    pub const CNS_11643_92_P3: Self = Self(0x0653);
    #[doc(alias = "kCFStringEncodingISO_2022_JP")]
    pub const ISO_2022_JP: Self = Self(0x0820);
    #[doc(alias = "kCFStringEncodingISO_2022_JP_2")]
    pub const ISO_2022_JP_2: Self = Self(0x0821);
    #[doc(alias = "kCFStringEncodingISO_2022_JP_1")]
    pub const ISO_2022_JP_1: Self = Self(0x0822);
    #[doc(alias = "kCFStringEncodingISO_2022_JP_3")]
    pub const ISO_2022_JP_3: Self = Self(0x0823);
    #[doc(alias = "kCFStringEncodingISO_2022_CN")]
    pub const ISO_2022_CN: Self = Self(0x0830);
    #[doc(alias = "kCFStringEncodingISO_2022_CN_EXT")]
    pub const ISO_2022_CN_EXT: Self = Self(0x0831);
    #[doc(alias = "kCFStringEncodingISO_2022_KR")]
    pub const ISO_2022_KR: Self = Self(0x0840);
    #[doc(alias = "kCFStringEncodingEUC_JP")]
    pub const EUC_JP: Self = Self(0x0920);
    #[doc(alias = "kCFStringEncodingEUC_CN")]
    pub const EUC_CN: Self = Self(0x0930);
    #[doc(alias = "kCFStringEncodingEUC_TW")]
    pub const EUC_TW: Self = Self(0x0931);
    #[doc(alias = "kCFStringEncodingEUC_KR")]
    pub const EUC_KR: Self = Self(0x0940);
    #[doc(alias = "kCFStringEncodingShiftJIS")]
    pub const ShiftJIS: Self = Self(0x0A01);
    #[doc(alias = "kCFStringEncodingKOI8_R")]
    pub const KOI8_R: Self = Self(0x0A02);
    #[doc(alias = "kCFStringEncodingBig5")]
    pub const Big5: Self = Self(0x0A03);
    #[doc(alias = "kCFStringEncodingMacRomanLatin1")]
    pub const MacRomanLatin1: Self = Self(0x0A04);
    #[doc(alias = "kCFStringEncodingHZ_GB_2312")]
    pub const HZ_GB_2312: Self = Self(0x0A05);
    #[doc(alias = "kCFStringEncodingBig5_HKSCS_1999")]
    pub const Big5_HKSCS_1999: Self = Self(0x0A06);
    #[doc(alias = "kCFStringEncodingVISCII")]
    pub const VISCII: Self = Self(0x0A07);
    #[doc(alias = "kCFStringEncodingKOI8_U")]
    pub const KOI8_U: Self = Self(0x0A08);
    #[doc(alias = "kCFStringEncodingBig5_E")]
    pub const Big5_E: Self = Self(0x0A09);
    #[doc(alias = "kCFStringEncodingNextStepJapanese")]
    pub const NextStepJapanese: Self = Self(0x0B02);
    #[doc(alias = "kCFStringEncodingEBCDIC_US")]
    pub const EBCDIC_US: Self = Self(0x0C01);
    #[doc(alias = "kCFStringEncodingEBCDIC_CP037")]
    pub const EBCDIC_CP037: Self = Self(0x0C02);
    #[doc(alias = "kCFStringEncodingUTF7")]
    pub const UTF7: Self = Self(0x04000100);
    #[doc(alias = "kCFStringEncodingUTF7_IMAP")]
    pub const UTF7_IMAP: Self = Self(0x0A10);
    #[doc(alias = "kCFStringEncodingShiftJIS_X0213_00")]
    pub const ShiftJIS_X0213_00: Self = Self(0x0628);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for CFStringEncodings {
    const ENCODING: Encoding = CFIndex::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for CFStringEncodings {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
