]> git.saurik.com Git - apple/cf.git/blame - PlugIn.subproj/CFBundle_BinaryTypes.h
CF-368.1.tar.gz
[apple/cf.git] / PlugIn.subproj / CFBundle_BinaryTypes.h
CommitLineData
9ce05555 1/*
d8925383 2 * Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
9ce05555
A
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
9ce05555
A
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23/* CFBundle_BinaryTypes.h
d8925383 24 Copyright (c) 1999-2005, Apple, Inc. All rights reserved.
9ce05555
A
25*/
26
27#if !defined(__COREFOUNDATION_CFBUNDLE_BINARYTYPES__)
28#define __COREFOUNDATION_CFBUNDLE_BINARYTYPES__ 1
29
30#if defined(__cplusplus)
31extern "C" {
32#endif
33
34/* We support CFM on OS8 and on PPC OSX */
35
36/* We support DYLD on OSX only */
37#if defined(__MACH__)
38#define BINARY_SUPPORT_DYLD 1
39#endif
40
41/* We support DLL on Windows only */
42#if defined(__WIN32__)
43#define BINARY_SUPPORT_DLL 1
44#endif
45
46typedef enum {
47 __CFBundleUnknownBinary,
48 __CFBundleCFMBinary,
49 __CFBundleDYLDExecutableBinary,
50 __CFBundleDYLDBundleBinary,
51 __CFBundleDYLDFrameworkBinary,
52 __CFBundleDLLBinary,
53 __CFBundleUnreadableBinary,
d8925383
A
54 __CFBundleNoBinary,
55 __CFBundleELFBinary
9ce05555
A
56} __CFPBinaryType;
57
d8925383
A
58/* Intended for eventual public consumption */
59typedef enum {
60 kCFBundleOtherExecutableType = 0,
61 kCFBundleMachOExecutableType,
62 kCFBundlePEFExecutableType,
63 kCFBundleELFExecutableType,
64 kCFBundleDLLExecutableType
65} CFBundleExecutableType;
66
9ce05555
A
67#if defined(__cplusplus)
68}
69#endif
70
71#endif /* ! __COREFOUNDATION_CFBUNDLE_BINARYTYPES__ */
72