mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:39:28 +02:00
* 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:
parent
267cb54cd6
commit
351d110507
@ -6,7 +6,11 @@ unit CocoaAll;
|
||||
interface
|
||||
|
||||
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}
|
||||
{$define INTERFACE}
|
||||
|
@ -70,10 +70,6 @@ const
|
||||
NX_TABLET_BUTTON_PENLOWERSIDEMASK = $0002;
|
||||
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 }
|
||||
type
|
||||
char_ = Pointer;
|
||||
|
@ -8,7 +8,10 @@ interface
|
||||
{$linkframework WebKit}
|
||||
|
||||
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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user