* replaced dependency on MacOSAll with individual units (based on

information provided by Scott Knapp)
  - removed CFErrorRef declaration from UndefinedTypes since the CFError
    headers are available in the current univint translations

git-svn-id: trunk@15468 -
This commit is contained in:
Jonas Maebe 2010-06-21 15:43:34 +00:00
parent 267cb54cd6
commit 351d110507
3 changed files with 9 additions and 6 deletions

View File

@ -6,7 +6,11 @@ unit CocoaAll;
interface interface
uses uses
ctypes, MacOSAll; ctypes,
AEDataModel,IconsCore,
CFBase, CFArray, CFBag , CFCharacterSet, CFData, CFDate, CFDictionary, CFNumber ,CFPropertyList, CFSet, CFString, CFStringEncodingExt, CFTimeZone, CFTree, CFURL, CFXMLNode, CFXMLParser, CFMachPort, CFMessagePort, CFRunLoop, CFSocket, CFBinaryHeap, CFBitVector, CFBundle, CFByteOrders, CFPlugIn, CFPreferences, CFURLAccess, CFUUID, CFLocale, CFStream, CFDateFormatter, CFNumberFormatter, CFCalendar, CFUserNotification, CFNotificationCenter, CFAttributedString,
CGBase, CGAffineTransforms, CGBitmapContext, CGColor, CGColorSpace, CGContext, CGDataConsumer, CGDataProvider, CGDirectDisplay, CGDirectPalette, CGDisplayConfiguration, CGDisplayFades, CGErrors, CGEvent, CGEventSource, CGEventTypes, CGFont, CGFunction, CGGLContext, CGGeometry, CGImage, CGLayer, CGPDFArray, CGPDFContentStream, CGPDFContext, CGPDFDictionary, CGPDFDocument, CGPDFObject, CGPDFOperatorTable, CGPDFPage, CGPDFScanner, CGPDFStream, CGPDFString, CGPSConverter, CGPath, CGPattern, CGRemoteOperation, CGSession, CGShading, CGWindowLevels,
MacTypes;
{$linkframework Cocoa} {$linkframework Cocoa}
{$define INTERFACE} {$define INTERFACE}

View File

@ -70,10 +70,6 @@ const
NX_TABLET_BUTTON_PENLOWERSIDEMASK = $0002; NX_TABLET_BUTTON_PENLOWERSIDEMASK = $0002;
NX_TABLET_BUTTON_PENUPPERSIDEMASK = $0004; NX_TABLET_BUTTON_PENUPPERSIDEMASK = $0004;
{ The CFError API is not in MacOSAll! we need to port this for PasCocoa... }
type
CFErrorRef = Pointer;
{ Parser hacks - these types should never exist } { Parser hacks - these types should never exist }
type type
char_ = Pointer; char_ = Pointer;

View File

@ -8,7 +8,10 @@ interface
{$linkframework WebKit} {$linkframework WebKit}
uses uses
ctypes, CocoaAll, MacOSAll; ctypes, CocoaAll,
CFBase, CFArray, CFBag , CFCharacterSet, CFData, CFDate, CFDictionary, CFNumber ,CFPropertyList, CFSet, CFString, CFStringEncodingExt, CFTimeZone, CFTree, CFURL, CFXMLNode, CFXMLParser, CFMachPort, CFMessagePort, CFRunLoop, CFSocket, CFBinaryHeap, CFBitVector, CFBundle, CFByteOrders, CFPlugIn, CFPreferences, CFURLAccess, CFUUID, CFLocale, CFStream, CFDateFormatter, CFNumberFormatter, CFCalendar, CFUserNotification, CFNotificationCenter, CFAttributedString,
CGBase, CGAffineTransforms, CGBitmapContext, CGColor, CGColorSpace, CGContext, CGDataConsumer, CGDataProvider, CGDirectDisplay, CGDirectPalette, CGDisplayConfiguration, CGDisplayFades, CGErrors, CGEvent, CGEventSource, CGEventTypes, CGFont, CGFunction, CGGLContext, CGGeometry, CGImage, CGLayer, CGPDFArray, CGPDFContentStream, CGPDFContext, CGPDFDictionary, CGPDFDocument, CGPDFObject, CGPDFOperatorTable, CGPDFPage, CGPDFScanner, CGPDFStream, CGPDFString, CGPSConverter, CGPath, CGPattern, CGRemoteOperation, CGSession, CGShading, CGWindowLevels,
MacTypes;
{$define INTERFACE} {$define INTERFACE}