fpc/packages/cocoaint/utils/frameworks.xml
Jonas Maebe b3ee4ea4eb + support for parsing docsets to add documentation to the parsed headers
* re-enabled support for ignoring certain methods, but removed all ignored
    methods because all of them are handled correctly with the current version
  - disabled adding the script version and time stamp to the generated headers,
    so not all headers change every time they are re-parsed
  + support for optional/required sections in protocols
  + documentation from Ryan

git-svn-id: trunk@16923 -
2011-02-16 18:46:26 +00:00

129 lines
5.2 KiB
XML

<?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>