]> git.saurik.com Git - apple/cf.git/blobdiff - CFBundlePriv.h
CF-550.19.tar.gz
[apple/cf.git] / CFBundlePriv.h
index acac0a4a35c8fc4e9817635ceaf7ce48de64e3be..fb43736137013a2b7fbc279af5256efd50fb05b1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -20,8 +20,9 @@
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
+
 /*     CFBundlePriv.h
-       Copyright (c) 1999-2007, Apple Inc.  All rights reserved.
+       Copyright (c) 1999-2009, Apple Inc.  All rights reserved.
 */
 
 #if !defined(__COREFOUNDATION_CFBUNDLEPRIV__)
@@ -108,6 +109,14 @@ const CFStringRef _kCFBundleOldTypeExtensions2Key;
 CF_EXPORT
 const CFStringRef _kCFBundleOldTypeOSTypesKey;
 
+/* For platform specification */
+CF_EXPORT
+const CFStringRef _kCFBundleSupportedPlatformsKey;
+
+/* For Code Signing */
+CF_EXPORT
+const CFStringRef _kCFBundleResourceSpecificationKey;
+
 
 /* Functions for examining directories that may "look like" bundles */
 
@@ -135,6 +144,22 @@ CFURLRef _CFBundleCopyMainBundleExecutableURL(Boolean *looksLikeBundle);
 CF_EXPORT
 CFBundleRef _CFBundleGetExistingBundleWithBundleURL(CFURLRef bundleURL);
 
+CF_EXPORT
+CFArrayRef _CFBundleGetSupportedPlatforms(CFBundleRef bundle);
+
+CF_EXPORT
+CFStringRef _CFBundleGetCurrentPlatform(void);
+
+
+/* For Code Signing */
+
+CF_EXPORT
+CFBundleRef _CFBundleCreateIfMightBeBundle(CFAllocatorRef allocator, CFURLRef url);
+
+CF_EXPORT
+CFBundleRef _CFBundleCreateWithExecutableURLIfMightBeBundle(CFAllocatorRef allocator, CFURLRef url);
+
+
 /* Functions for examining the structure of a bundle */
 
 CF_EXPORT