mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-20 02:18:18 +02:00

them * handle inline protocol definitions in parameter lists (replace id<protocol> with protocol, and class<protocol[,protocol,..]> with class), and made some fixes to this support for fields (many "id" fields/parameters are now protocols) * fix from Phil Hess for parsing some read-only properties * also translate ..._BUT_DEPRECATED macros (without any "_IN_VERSION..." coming after it) into "deprecated" modifiers * several fixes for handling deprecation macros (in several cases, half the macro was mangled into the name of the symbol itself) * default now to parsing the iOS 4.2 SDK headers, and fixed passing an alternate SDK on the command line to make-ios-headers.sh * updated Cocoa headers as parsed by the new parser, and with the headers from Mac OS X 10.6.5/Safari 5.0.2 (contains some WebKit updates) git-svn-id: trunk@16908 -
87 lines
2.3 KiB
PHP
87 lines
2.3 KiB
PHP
{ Parsed from Appkit.framework NSController.h }
|
|
{ Version: 2.1.5 - Fri Feb 11 21:45:56 CET 2011 }
|
|
|
|
|
|
{$ifdef TYPES}
|
|
{$ifndef NSCONTROLLER_PAS_T}
|
|
{$define NSCONTROLLER_PAS_T}
|
|
|
|
{$endif}
|
|
{$endif}
|
|
|
|
{$ifdef RECORDS}
|
|
{$ifndef NSCONTROLLER_PAS_R}
|
|
{$define NSCONTROLLER_PAS_R}
|
|
|
|
{$endif}
|
|
{$endif}
|
|
|
|
{$ifdef FUNCTIONS}
|
|
{$ifndef NSCONTROLLER_PAS_F}
|
|
{$define NSCONTROLLER_PAS_F}
|
|
|
|
{$endif}
|
|
{$endif}
|
|
|
|
{$ifdef EXTERNAL_SYMBOLS}
|
|
{$ifndef NSCONTROLLER_PAS_S}
|
|
{$define NSCONTROLLER_PAS_S}
|
|
|
|
{$endif}
|
|
{$endif}
|
|
|
|
{$ifdef FORWARD}
|
|
NSController = objcclass;
|
|
NSControllerPointer = ^NSController;
|
|
NSControllerPtr = NSControllerPointer;
|
|
|
|
{$endif}
|
|
|
|
{$ifdef CLASSES}
|
|
{$ifndef NSCONTROLLER_PAS_C}
|
|
{$define NSCONTROLLER_PAS_C}
|
|
|
|
{ NSController }
|
|
NSController = objcclass external (NSObject, NSCodingProtocol)
|
|
private
|
|
_reserved: Pointer;
|
|
_reserved2: Pointer;
|
|
_specialPurposeType: cint;
|
|
_bindingAdaptor: id;
|
|
_editors: NSMutableArray;
|
|
_declaredKeys: NSMutableArray;
|
|
_dependentKeyToModelKeyTable: NSMutableDictionary;
|
|
_modelKeyToDependentKeyTable: NSMutableDictionary;
|
|
_modelKeysToRefreshEachTime: NSMutableArray;
|
|
__bindingsControllerFlags: bitpacked record
|
|
case byte of
|
|
0: (_anonbitfield_NSController0: cuint);
|
|
1: (
|
|
_alwaysPresentsApplicationModalAlerts: 0..1;
|
|
_refreshesAllModelKeys: 0..1;
|
|
_multipleObservedModelObjects: 0..1;
|
|
_isEditing: 0..1;
|
|
_reservedController: 0..((1 shl 28)-1);
|
|
);
|
|
end;
|
|
_reservedOther: NSMutableDictionary;
|
|
_modelObservingTracker: id;
|
|
_expectedObservingInfo: id;
|
|
_singleValueAccessor: id;
|
|
|
|
public
|
|
procedure objectDidBeginEditing(editor: id); message 'objectDidBeginEditing:';
|
|
procedure objectDidEndEditing(editor: id); message 'objectDidEndEditing:';
|
|
procedure discardEditing; message 'discardEditing';
|
|
function commitEditing: Boolean; message 'commitEditing';
|
|
procedure commitEditingWithDelegate_didCommitSelector_contextInfo(delegate: id; didCommitSelector: SEL; contextInfo: Pointer); message 'commitEditingWithDelegate:didCommitSelector:contextInfo:';
|
|
function isEditing: Boolean; message 'isEditing';
|
|
|
|
{ Adopted Protocols }
|
|
procedure encodeWithCoder(aCoder: NSCoder);
|
|
function initWithCoder(aDecoder: NSCoder): id;
|
|
end;
|
|
|
|
{$endif}
|
|
{$endif}
|