summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/utils/frameworks.xml
blob: af8be71eac7247be9cd473c9b17058f9601c288d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="UTF-8" ?>
<!--
	All frameworks that will be parsed must contain an entry in this file
-->

<frameworks>
	
	<framework>
		<name>foundation</name>
		<root>/foundation/Foundation.inc</root>
		<headers>/System/Library/Frameworks/Foundation.framework/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<docset>/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset</docset>
		<!-- ignore_lines accepts regular expressions --> 
		<ignore_lines>
			<line>#define NS_BLOCKS_AVAILABLE [0-9]+</line>
			<line>FOUNDATION_EXPORT void NSLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);</line>
			<line>FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args) NS_FORMAT_FUNCTION(1,0);</line>
			<line>FOUNDATION_EXPORT void NSLog(NSString *format, ...) __attribute__((format(__NSString__, 1, 2)));</line>
      <line>FOUNDATION_EXPORT void NSLogv(NSString *format, va_list args);</line>
		</ignore_lines>
		<ignore_comments>
			<line>^[[:space:]]*NS.*\.h</line>
			<line>MAC_OS_X_VERSION_MAX_ALLOWED</line>
			<line>AVAILABLE_MAC_OS_X_VERSION</line>
			<line>^[[:space:]]*Copyright[[:space:]]+(C)[[:space:]]+[0-9]+[[:space:]]+Apple Computer, Inc.</line>
		</ignore_comments>
	</framework>
	
	<framework>
		<name>appkit</name>
		<root>/appkit/AppKit.inc</root>
		<headers>/System/Library/Frameworks/AppKit.framework/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<docset>/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset</docset>
		<ignore_comments>
			<line>^[[:space:]]*NS.*\.h</line>
			<line>MAC_OS_X_VERSION_MAX_ALLOWED</line>
			<line>AVAILABLE_MAC_OS_X_VERSION</line>
			<line>^[[:space:]]*Copyright[[:space:]]+(C)[[:space:]]+[0-9]+[[:space:]]+Apple Computer, Inc.</line>
		</ignore_comments>
	</framework>

	<framework>
		<name>uikit</name>
		<root>/uikit/UIKit.inc</root>
		<headers>/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers</headers>
		<docset>/Developer/Platforms/iPhoneOS.platform/Developer/Documentation/DocSets/com.apple.adc.documentation.AppleiOS4_2.iOSLibrary.docset</docset>
		<include_pattern>{[$]+include (UI.*).inc}</include_pattern>
		<header_pattern>^UI(.*)\.h</header_pattern>
		<external_macro>UIKIT_EXTERN</external_macro>
	</framework>

	<framework>
		<name>opengles</name>
		<root>/opengles/OpenGLES.inc</root>
		<headers>/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers</headers>
		<include_pattern>{[$]+include (EAGL.*).inc}</include_pattern>
		<header_pattern>^EAGL(.*)\.h</header_pattern>
		<external_macro>EAGL_EXTERN_CLASS</external_macro>
	</framework>

	<framework>
		<name>webkit</name>
		<root>/webkit/WebKit.inc</root>
		<headers>/System/Library/Frameworks/WebKit.framework/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<ignore_comments>
			<line>^[[:space:]]*(DOM|Web).*\.h</line>
			<line>^[[:space:]]*Copyright[[:space:]]+(C)[[:space:]]+[0-9]+[[:space:]]+Apple Computer, Inc.</line>
		</ignore_comments>
	</framework>
	
	<framework>
		<name>coredata</name>
		<root>/coredata/CoreData.inc</root>
		<headers>/System/Library/Frameworks/CoreData.framework/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<external_macro>COREDATA_EXTERN</external_macro>
	</framework>
	
	<framework>
		<name>calendarstore</name>
		<root>/calendarstore/CalendarStore.inc</root>
		<headers>/System/Library/Frameworks/CalendarStore.framework/Versions/A/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
	</framework>
	
	<framework>
		<name>quicklook</name>
		<root>/quicklook/QuickLook.inc</root>
		<headers>/System/Library/Frameworks/QuickLook.framework/Versions/A/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<external_macro>QL_EXPORT</external_macro>
	</framework>
	
	<framework>
		<name>quicklookui</name>
		<root>/quicklookui/QuickLookUI.inc</root>
		<headers>/System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<external_macro>QL_EXPORT</external_macro>
	</framework>

	<framework>
		<name>quartzcore</name>
		<root>/quartzcore/QuartzCore.inc</root>
		<headers>/System/Library/Frameworks/QuartzCore.framework/Headers</headers>
		<include_pattern>{[$]+include (.*).inc}</include_pattern>
		<header_pattern>^(.*)\.h</header_pattern>
		<!-- Seperate with | (no spaces, regex is accepted) -->
		<external_macro>CA_EXTERN</external_macro>
		<!-- No spaces! -->
		<ignore_types>SomeQuartzPointer,AnotherQuartzPointer</ignore_types>
		<!-- Ignore these methods (Pascal names, no spaces) -->
		<ignore_methods></ignore_methods>
		<replace_types>
		</replace_types>
	</framework>
	
	
</frameworks>