summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/cloudkit/CKReference.inc
blob: b1f919c43a2b37afe4956b045298183f27278185 (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
29
30
31
32
33
34
35
36
37
{ Parsed from CloudKit.framework CKReference.h }


{$ifdef TYPES}
type
  CKReferencePtr = ^CKReference;
{$endif}

{$ifdef TYPES}
type
  CKReferenceAction = NSUInteger;
  CKReferenceActionPtr = ^CKReferenceAction;

const
  CKReferenceActionNone = 0;
  CKReferenceActionDeleteSelf = 1;
{$endif}

{$ifdef CLASSES}

type
  CKReference = objcclass external (NSObject, NSSecureCodingProtocol, NSCopyingProtocol)
  public
    function init: instancetype; message 'init';
    function initWithRecordID_action (recordID: CKRecordID; action: CKReferenceAction): instancetype; message 'initWithRecordID:action:'; { NS_DESIGNATED_INITIALIZER }
    function initWithRecord_action (record_: CKRecord; action: CKReferenceAction): instancetype; message 'initWithRecord:action:';
    function referenceAction: CKReferenceAction; message 'referenceAction';
    function recordID: CKRecordID; message 'recordID';

    { 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}