summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/foundation/NSUUID.inc
blob: 9503f5bfdcef7321c0bd478e2a6db9ed97fe77fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ Parsed from Foundation.framework NSUUID.h }


{$ifdef TYPES}
type
  NSUUIDPtr = ^NSUUID;
{$endif}

{$ifdef CLASSES}

type
  NSUUID = objcclass external (NSObject, NSCopyingProtocol, NSSecureCodingProtocol)
  public
    class function UUID: instancetype; message 'UUID';
    function init: instancetype; message 'init'; { NS_DESIGNATED_INITIALIZER }
    function initWithUUIDString (string_: NSString): instancetype; message 'initWithUUIDString:';
    function initWithUUIDBytes (bytes: uuid_t): instancetype; message 'initWithUUIDBytes:';
    procedure getUUIDBytes (uuid_: uuid_t); message 'getUUIDBytes:';
    function UUIDString: NSString; message 'UUIDString';

    { Adopted protocols }
    function copyWithZone (zone: NSZonePtr): id; message 'copyWithZone:';
    procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
    function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
    class function supportsSecureCoding: ObjCBOOL; message 'supportsSecureCoding';
  end;
{$endif}