PageRenderTime 25ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/univint/src/CFLocale.pas

https://github.com/slibre/freepascal
Pascal | 394 lines | 70 code | 48 blank | 276 comment | 0 complexity | a69475f17c13baf666a2111ab71e9447 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
  1{	CFLocale.h
  2	Copyright (c) 2002-2012, Apple Inc. All rights reserved.
  3}
  4{	  Pascal Translation:  Peter N Lewis, <peter@stairways.com.au>, 2004 }
  5{	  Pascal Translation Updated:  Peter N Lewis, <peter@stairways.com.au>, September 2005 }
  6{   Pascal Translation Updated:  Gorazd Krosl, <gorazd_1957@yahoo.ca>, October 2009 }
  7{   Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2009 }
  8{   Pascal Translation Updated:  Jonas Maebe <jonas@freepascal.org>, September 2012 }
  9{
 10    Modified for use with Free Pascal
 11    Version 308
 12    Please report any bugs to <gpc@microbizz.nl>
 13}
 14
 15{$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
 16{$mode macpas}
 17{$packenum 1}
 18{$macro on}
 19{$inline on}
 20{$calling mwpascal}
 21
 22unit CFLocale;
 23interface
 24{$setc UNIVERSAL_INTERFACES_VERSION := $0400}
 25{$setc GAP_INTERFACES_VERSION := $0308}
 26
 27{$ifc not defined USE_CFSTR_CONSTANT_MACROS}
 28    {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
 29{$endc}
 30
 31{$ifc defined CPUPOWERPC and defined CPUI386}
 32	{$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
 33{$endc}
 34{$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
 35	{$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
 36{$endc}
 37
 38{$ifc not defined __ppc__ and defined CPUPOWERPC32}
 39	{$setc __ppc__ := 1}
 40{$elsec}
 41	{$setc __ppc__ := 0}
 42{$endc}
 43{$ifc not defined __ppc64__ and defined CPUPOWERPC64}
 44	{$setc __ppc64__ := 1}
 45{$elsec}
 46	{$setc __ppc64__ := 0}
 47{$endc}
 48{$ifc not defined __i386__ and defined CPUI386}
 49	{$setc __i386__ := 1}
 50{$elsec}
 51	{$setc __i386__ := 0}
 52{$endc}
 53{$ifc not defined __x86_64__ and defined CPUX86_64}
 54	{$setc __x86_64__ := 1}
 55{$elsec}
 56	{$setc __x86_64__ := 0}
 57{$endc}
 58{$ifc not defined __arm__ and defined CPUARM}
 59	{$setc __arm__ := 1}
 60{$elsec}
 61	{$setc __arm__ := 0}
 62{$endc}
 63
 64{$ifc defined cpu64}
 65  {$setc __LP64__ := 1}
 66{$elsec}
 67  {$setc __LP64__ := 0}
 68{$endc}
 69
 70
 71{$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
 72	{$error Conflicting definitions for __ppc__ and __i386__}
 73{$endc}
 74
 75{$ifc defined __ppc__ and __ppc__}
 76	{$setc TARGET_CPU_PPC := TRUE}
 77	{$setc TARGET_CPU_PPC64 := FALSE}
 78	{$setc TARGET_CPU_X86 := FALSE}
 79	{$setc TARGET_CPU_X86_64 := FALSE}
 80	{$setc TARGET_CPU_ARM := FALSE}
 81	{$setc TARGET_OS_MAC := TRUE}
 82	{$setc TARGET_OS_IPHONE := FALSE}
 83	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
 84	{$setc TARGET_OS_EMBEDDED := FALSE}
 85{$elifc defined __ppc64__ and __ppc64__}
 86	{$setc TARGET_CPU_PPC := FALSE}
 87	{$setc TARGET_CPU_PPC64 := TRUE}
 88	{$setc TARGET_CPU_X86 := FALSE}
 89	{$setc TARGET_CPU_X86_64 := FALSE}
 90	{$setc TARGET_CPU_ARM := FALSE}
 91	{$setc TARGET_OS_MAC := TRUE}
 92	{$setc TARGET_OS_IPHONE := FALSE}
 93	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
 94	{$setc TARGET_OS_EMBEDDED := FALSE}
 95{$elifc defined __i386__ and __i386__}
 96	{$setc TARGET_CPU_PPC := FALSE}
 97	{$setc TARGET_CPU_PPC64 := FALSE}
 98	{$setc TARGET_CPU_X86 := TRUE}
 99	{$setc TARGET_CPU_X86_64 := FALSE}
100	{$setc TARGET_CPU_ARM := FALSE}
101{$ifc defined(iphonesim)}
102 	{$setc TARGET_OS_MAC := FALSE}
103	{$setc TARGET_OS_IPHONE := TRUE}
104	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
105{$elsec}
106	{$setc TARGET_OS_MAC := TRUE}
107	{$setc TARGET_OS_IPHONE := FALSE}
108	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
109{$endc}
110	{$setc TARGET_OS_EMBEDDED := FALSE}
111{$elifc defined __x86_64__ and __x86_64__}
112	{$setc TARGET_CPU_PPC := FALSE}
113	{$setc TARGET_CPU_PPC64 := FALSE}
114	{$setc TARGET_CPU_X86 := FALSE}
115	{$setc TARGET_CPU_X86_64 := TRUE}
116	{$setc TARGET_CPU_ARM := FALSE}
117	{$setc TARGET_OS_MAC := TRUE}
118	{$setc TARGET_OS_IPHONE := FALSE}
119	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
120	{$setc TARGET_OS_EMBEDDED := FALSE}
121{$elifc defined __arm__ and __arm__}
122	{$setc TARGET_CPU_PPC := FALSE}
123	{$setc TARGET_CPU_PPC64 := FALSE}
124	{$setc TARGET_CPU_X86 := FALSE}
125	{$setc TARGET_CPU_X86_64 := FALSE}
126	{$setc TARGET_CPU_ARM := TRUE}
127	{ will require compiler define when/if other Apple devices with ARM cpus ship }
128	{$setc TARGET_OS_MAC := FALSE}
129	{$setc TARGET_OS_IPHONE := TRUE}
130	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
131	{$setc TARGET_OS_EMBEDDED := TRUE}
132{$elsec}
133	{$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ is defined.}
134{$endc}
135
136{$ifc defined __LP64__ and __LP64__ }
137  {$setc TARGET_CPU_64 := TRUE}
138{$elsec}
139  {$setc TARGET_CPU_64 := FALSE}
140{$endc}
141
142{$ifc defined FPC_BIG_ENDIAN}
143	{$setc TARGET_RT_BIG_ENDIAN := TRUE}
144	{$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
145{$elifc defined FPC_LITTLE_ENDIAN}
146	{$setc TARGET_RT_BIG_ENDIAN := FALSE}
147	{$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
148{$elsec}
149	{$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
150{$endc}
151{$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
152{$setc CALL_NOT_IN_CARBON := FALSE}
153{$setc OLDROUTINENAMES := FALSE}
154{$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
155{$setc OPAQUE_UPP_TYPES := TRUE}
156{$setc OTCARBONAPPLICATION := TRUE}
157{$setc OTKERNEL := FALSE}
158{$setc PM_USE_SESSION_APIS := TRUE}
159{$setc TARGET_API_MAC_CARBON := TRUE}
160{$setc TARGET_API_MAC_OS8 := FALSE}
161{$setc TARGET_API_MAC_OSX := TRUE}
162{$setc TARGET_CARBON := TRUE}
163{$setc TARGET_CPU_68K := FALSE}
164{$setc TARGET_CPU_MIPS := FALSE}
165{$setc TARGET_CPU_SPARC := FALSE}
166{$setc TARGET_OS_UNIX := FALSE}
167{$setc TARGET_OS_WIN32 := FALSE}
168{$setc TARGET_RT_MAC_68881 := FALSE}
169{$setc TARGET_RT_MAC_CFM := FALSE}
170{$setc TARGET_RT_MAC_MACHO := TRUE}
171{$setc TYPED_FUNCTION_POINTERS := TRUE}
172{$setc TYPE_BOOL := FALSE}
173{$setc TYPE_EXTENDED := FALSE}
174{$setc TYPE_LONGLONG := TRUE}
175uses MacTypes,CFBase,CFArray,CFDictionary;
176{$endc} {not MACOSALLINCLUDE}
177
178{$ALIGN POWER}
179
180
181{#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3}
182
183
184type
185	CFLocaleRef = ^__CFLocale; { an opaque type }
186	__CFLocale = record end;
187
188function CFLocaleGetTypeID: CFTypeID; external name '_CFLocaleGetTypeID';
189(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
190
191function CFLocaleGetSystem: CFLocaleRef; external name '_CFLocaleGetSystem';
192(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
193	// Returns the "root", canonical locale.  Contains fixed "backstop" settings.
194
195function CFLocaleCopyCurrent: CFLocaleRef; external name '_CFLocaleCopyCurrent';
196(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
197	// Returns the logical "user" locale for the current user.
198	// [This is Copy in the sense that you get a retain you have to release,
199	// but we may return the same cached object over and over.]  Settings
200	// you get from this locale do not change under you as CFPreferences
201	// are changed (for safety and correctness).  Generally you would not
202	// grab this and hold onto it forever, but use it to do the operations
203	// you need to do at the moment, then throw it away.  (The non-changing
204	// ensures that all the results of your operations are consistent.)
205
206function CFLocaleCopyAvailableLocaleIdentifiers: CFArrayRef; external name '_CFLocaleCopyAvailableLocaleIdentifiers';
207(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
208	// Returns an array of CFStrings that represents all locales for
209	// which locale data is available.
210
211function CFLocaleCopyISOLanguageCodes: CFArrayRef; external name '_CFLocaleCopyISOLanguageCodes';
212(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
213	// Returns an array of CFStrings that represents all known legal ISO
214	// language codes.  Note: many of these will not have any supporting
215	// locale data in Mac OS X.
216
217function CFLocaleCopyISOCountryCodes: CFArrayRef; external name '_CFLocaleCopyISOCountryCodes';
218(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
219	// Returns an array of CFStrings that represents all known legal ISO
220	// country codes.  Note: many of these will not have any supporting
221	// locale data in Mac OS X.
222
223function CFLocaleCopyISOCurrencyCodes: CFArrayRef; external name '_CFLocaleCopyISOCurrencyCodes';
224(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
225	// Returns an array of CFStrings that represents all known legal ISO
226	// currency codes.  Note: some of these currencies may be obsolete, or
227	// represent other financial instruments.
228
229function CFLocaleCopyCommonISOCurrencyCodes: CFArrayRef; external name '_CFLocaleCopyCommonISOCurrencyCodes';
230(* CF_AVAILABLE_STARTING(10_5, 2_0) *)
231	// Returns an array of CFStrings that represents ISO currency codes for
232	// currencies in common use.
233
234function CFLocaleCopyPreferredLanguages: CFArrayRef; external name '_CFLocaleCopyPreferredLanguages';
235(* CF_AVAILABLE_STARTING(10_5, 2_0) *)
236	// Returns the array of canonicalized CFString locale IDs that the user prefers.
237
238function CFLocaleCreateCanonicalLanguageIdentifierFromString( allocator: CFAllocatorRef; localeIdentifier: CFStringRef ): CFStringRef; external name '_CFLocaleCreateCanonicalLanguageIdentifierFromString';
239(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
240	// Map an arbitrary language identification string (something close at
241	// least) to a canonical language identifier.
242
243function CFLocaleCreateCanonicalLocaleIdentifierFromString( allocator: CFAllocatorRef; localeIdentifier: CFStringRef ): CFStringRef; external name '_CFLocaleCreateCanonicalLocaleIdentifierFromString';
244(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
245	// Map an arbitrary locale identification string (something close at
246	// least) to the canonical identifier.
247
248function CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes( allocator: CFAllocatorRef; lcode: LangCode; rcode: RegionCode ): CFStringRef; external name '_CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes';
249(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
250	// Map a Mac OS LangCode and RegionCode to the canonical locale identifier.
251
252function CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode( allocator: CFAllocatorRef; lcid: UInt32 ): CFStringRef; external name '_CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode';
253(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
254	// Map a Windows LCID to the canonical locale identifier.
255
256function CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier( localeIdentifier: CFStringRef ): UInt32; external name '_CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier';
257(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
258	// Map a locale identifier to a Windows LCID.
259
260type
261	CFLocaleLanguageDirection = CFIndex;
262const
263	kCFLocaleLanguageDirectionUnknown = 0;
264	kCFLocaleLanguageDirectionLeftToRight = 1;
265	kCFLocaleLanguageDirectionRightToLeft = 2;
266	kCFLocaleLanguageDirectionTopToBottom = 3;
267	kCFLocaleLanguageDirectionBottomToTop = 4;
268
269function CFLocaleGetLanguageCharacterDirection( isoLangCode: CFStringRef ): CFLocaleLanguageDirection; external name '_CFLocaleGetLanguageCharacterDirection';
270(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
271
272function CFLocaleGetLanguageLineDirection( isoLangCode: CFStringRef ): CFLocaleLanguageDirection; external name '_CFLocaleGetLanguageLineDirection';
273(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
274
275function CFLocaleCreateComponentsFromLocaleIdentifier( allocator: CFAllocatorRef; localeID: CFStringRef ): CFDictionaryRef; external name '_CFLocaleCreateComponentsFromLocaleIdentifier';
276(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
277	// Parses a locale ID consisting of language, script, country, variant,
278	// and keyword/value pairs into a dictionary. The keys are the constant
279	// CFStrings corresponding to the locale ID components, and the values
280	// will correspond to constants where available.
281	// Example: "en_US@calendar=japanese" yields a dictionary with three
282	// entries: kCFLocaleLanguageCode=en, kCFLocaleCountryCode=US, and
283	// kCFLocaleCalendarIdentifier=kCFJapaneseCalendar.
284
285function CFLocaleCreateLocaleIdentifierFromComponents( allocator: CFAllocatorRef; dictionary: CFDictionaryRef ): CFStringRef; external name '_CFLocaleCreateLocaleIdentifierFromComponents';
286(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
287	// Reverses the actions of CFLocaleCreateDictionaryFromLocaleIdentifier,
288	// creating a single string from the data in the dictionary. The
289	// dictionary {kCFLocaleLanguageCode=en, kCFLocaleCountryCode=US,
290	// kCFLocaleCalendarIdentifier=kCFJapaneseCalendar} becomes
291	// "en_US@calendar=japanese".
292
293function CFLocaleCreate( allocator: CFAllocatorRef; localeIdentifier: CFStringRef ): CFLocaleRef; external name '_CFLocaleCreate';
294(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
295	// Returns a CFLocaleRef for the locale named by the "arbitrary" locale identifier.
296
297function CFLocaleCreateCopy( allocator: CFAllocatorRef; locale: CFLocaleRef ): CFLocaleRef; external name '_CFLocaleCreateCopy';
298(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
299	// Having gotten a CFLocale from somebody, code should make a copy
300	// if it is going to use it for several operations
301	// or hold onto it.  In the future, there may be mutable locales.
302
303function CFLocaleGetIdentifier( locale: CFLocaleRef ): CFStringRef; external name '_CFLocaleGetIdentifier';
304(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
305	// Returns the locale's identifier.  This may not be the same string
306	// that the locale was created with (CFLocale may canonicalize it).
307
308function CFLocaleGetValue( locale: CFLocaleRef; key: CFStringRef ): CFTypeRef; external name '_CFLocaleGetValue';
309(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
310	// Returns the value for the given key.  This is how settings and state
311	// are accessed via a CFLocale.  Values might be of any CF type.
312
313function CFLocaleCopyDisplayNameForPropertyValue( displayLocale: CFLocaleRef; key: CFStringRef; value: CFStringRef ): CFStringRef; external name '_CFLocaleCopyDisplayNameForPropertyValue';
314(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
315	// Returns the display name for the given value.  The key tells what
316	// the value is, and is one of the usual locale property keys, though
317	// not all locale property keys have values with display name values.
318
319
320var kCFLocaleCurrentLocaleDidChangeNotification: CFStringRef; external name '_kCFLocaleCurrentLocaleDidChangeNotification'; (* attribute const *)
321(* CF_AVAILABLE_STARTING(10_5, 2_0) *)
322
323
324// Locale Keys
325var kCFLocaleIdentifier: CFStringRef; external name '_kCFLocaleIdentifier'; (* attribute const *)
326(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
327var kCFLocaleLanguageCode: CFStringRef; external name '_kCFLocaleLanguageCode'; (* attribute const *)
328(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
329var kCFLocaleCountryCode: CFStringRef; external name '_kCFLocaleCountryCode'; (* attribute const *)
330(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
331var kCFLocaleScriptCode: CFStringRef; external name '_kCFLocaleScriptCode'; (* attribute const *)
332(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
333var kCFLocaleVariantCode: CFStringRef; external name '_kCFLocaleVariantCode'; (* attribute const *)
334(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
335
336var kCFLocaleExemplarCharacterSet: CFStringRef; external name '_kCFLocaleExemplarCharacterSet'; (* attribute const *)
337(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
338var kCFLocaleCalendarIdentifier: CFStringRef; external name '_kCFLocaleCalendarIdentifier'; (* attribute const *)
339(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
340var kCFLocaleCalendar: CFStringRef; external name '_kCFLocaleCalendar'; (* attribute const *)
341(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
342var kCFLocaleCollationIdentifier: CFStringRef; external name '_kCFLocaleCollationIdentifier'; (* attribute const *)
343(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
344var kCFLocaleUsesMetricSystem: CFStringRef; external name '_kCFLocaleUsesMetricSystem'; (* attribute const *)
345(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
346var kCFLocaleMeasurementSystem: CFStringRef; external name '_kCFLocaleMeasurementSystem'; (* attribute const *)
347(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *) // "Metric" or "U.S."
348var kCFLocaleDecimalSeparator: CFStringRef; external name '_kCFLocaleDecimalSeparator'; (* attribute const *)
349(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
350var kCFLocaleGroupingSeparator: CFStringRef; external name '_kCFLocaleGroupingSeparator'; (* attribute const *)
351(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
352var kCFLocaleCurrencySymbol: CFStringRef; external name '_kCFLocaleCurrencySymbol'; (* attribute const *)
353(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
354var kCFLocaleCurrencyCode: CFStringRef; external name '_kCFLocaleCurrencyCode'; (* attribute const *)
355(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *) // ISO 3-letter currency code
356var kCFLocaleCollatorIdentifier: CFStringRef; external name '_kCFLocaleCollatorIdentifier'; (* attribute const *)
357(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
358var kCFLocaleQuotationBeginDelimiterKey: CFStringRef; external name '_kCFLocaleQuotationBeginDelimiterKey'; (* attribute const *)
359(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
360var kCFLocaleQuotationEndDelimiterKey: CFStringRef; external name '_kCFLocaleQuotationEndDelimiterKey'; (* attribute const *)
361(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
362var kCFLocaleAlternateQuotationBeginDelimiterKey: CFStringRef; external name '_kCFLocaleAlternateQuotationBeginDelimiterKey'; (* attribute const *)
363(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
364var kCFLocaleAlternateQuotationEndDelimiterKey: CFStringRef; external name '_kCFLocaleAlternateQuotationEndDelimiterKey'; (* attribute const *)
365(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
366
367// Values for kCFLocaleCalendarIdentifier
368var kCFGregorianCalendar: CFStringRef; external name '_kCFGregorianCalendar'; (* attribute const *)
369(* AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER *)
370var kCFBuddhistCalendar: CFStringRef; external name '_kCFBuddhistCalendar'; (* attribute const *)
371(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
372var kCFChineseCalendar: CFStringRef; external name '_kCFChineseCalendar'; (* attribute const *)
373(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
374var kCFHebrewCalendar: CFStringRef; external name '_kCFHebrewCalendar'; (* attribute const *)
375(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
376var kCFIslamicCalendar: CFStringRef; external name '_kCFIslamicCalendar'; (* attribute const *)
377(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
378var kCFIslamicCivilCalendar: CFStringRef; external name '_kCFIslamicCivilCalendar'; (* attribute const *)
379(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
380var kCFJapaneseCalendar: CFStringRef; external name '_kCFJapaneseCalendar'; (* attribute const *)
381(* AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER *)
382var kCFRepublicOfChinaCalendar: CFStringRef; external name '_kCFRepublicOfChinaCalendar'; (* attribute const *)
383(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
384var kCFPersianCalendar: CFStringRef; external name '_kCFPersianCalendar'; (* attribute const *)
385(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
386var kCFIndianCalendar: CFStringRef; external name '_kCFIndianCalendar'; (* attribute const *)
387(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
388var kCFISO8601Calendar: CFStringRef; external name '_kCFISO8601Calendar'; (* attribute const *)
389(* CF_AVAILABLE_STARTING(10_6, 4_0) *)
390
391{$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
392
393end.
394{$endc} {not MACOSALLINCLUDE}