fpc/packages/cocoaint/src/appkit/NSDockTile.inc
Jonas Maebe d6e7023038 * automatically comment out methods that take blocks as parameters or return
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 -
2011-02-11 21:26:24 +00:00

94 lines
2.1 KiB
PHP

{ Parsed from Appkit.framework NSDockTile.h }
{ Version: 2.1.5 - Fri Feb 11 21:45:55 CET 2011 }
{$ifdef TYPES}
{$ifndef NSDOCKTILE_PAS_T}
{$define NSDOCKTILE_PAS_T}
{ Defines }
const
NSAppKitVersionNumberWithDockTilePlugInSupport = 1001.0;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSDOCKTILE_PAS_R}
{$define NSDOCKTILE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSDOCKTILE_PAS_F}
{$define NSDOCKTILE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSDOCKTILE_PAS_S}
{$define NSDOCKTILE_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSDockTilePlugInProtocol = objcprotocol;
NSDockTile = objcclass;
NSDockTilePointer = ^NSDockTile;
NSDockTilePtr = NSDockTilePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSDOCKTILE_PAS_C}
{$define NSDOCKTILE_PAS_C}
{ NSDockTile }
NSDockTile = objcclass external (NSObject)
private
_owner: id;
_dockContextRef: Pointer;
_contentView: NSView;
_frameView: NSView;
_backstopView: NSView;
_badgeLabel: NSString;
__dFlags: bitpacked record
case byte of
0: (_anonbitfield_NSDockTile0: cuint);
1: (
showsAppBadge: 0..1;
reserved: 0..((1 shl 31)-1);
);
end;
_dockTileSize: NSSize;
reserved: array[0..4] of id;
public
function size: NSSize; message 'size';
procedure setContentView(view: NSView); message 'setContentView:';
function contentView: NSView; message 'contentView';
procedure display; message 'display';
procedure setShowsApplicationBadge(flag: Boolean); message 'setShowsApplicationBadge:';
function showsApplicationBadge: Boolean; message 'showsApplicationBadge';
procedure setBadgeLabel(string_: NSString); message 'setBadgeLabel:';
function badgeLabel: NSString; message 'badgeLabel';
function owner: id; message 'owner';
end;
{$endif}
{$endif}
{$ifdef PROTOCOLS}
{$ifndef NSDOCKTILE_PAS_P}
{$define NSDOCKTILE_PAS_P}
{ NSDockTilePlugIn Protocol }
NSDockTilePlugInProtocol = objcprotocol external name 'NSDockTilePlugIn'
procedure setDockTile(dockTile: NSDockTile); message 'setDockTile:';
function dockMenu: NSMenu; message 'dockMenu';
end;
{$endif}
{$endif}