summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/foundation/NSPortMessage.inc
blob: 4cc155f7284b9ca3c275679164f3fd605c974449 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{ Parsed from Foundation.framework NSPortMessage.h }

{$ifdef TYPES}
{$ifndef NSPORTMESSAGE_PAS_T}
{$define NSPORTMESSAGE_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSPORTMESSAGE_PAS_R}
{$define NSPORTMESSAGE_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSPORTMESSAGE_PAS_F}
{$define NSPORTMESSAGE_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSPORTMESSAGE_PAS_S}
{$define NSPORTMESSAGE_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSPortMessage = objcclass;
  NSPortMessagePointer = ^NSPortMessage;
  NSPortMessagePtr = NSPortMessagePointer;

{$endif}

{$ifdef CLASSES}
{$ifndef NSPORTMESSAGE_PAS_C}
{$define NSPORTMESSAGE_PAS_C}

{ NSPortMessage }
  NSPortMessage = objcclass external (NSObject)
  private
    localPort: NSPort;
    remotePort: NSPort;
    _components: NSMutableArray;
    _msgid: cuint32;
    reserved2: Pointer;
    reserved: Pointer;
    
  public
    function initWithSendPort_receivePort_components(sendPort_: NSPort; replyPort: NSPort; components_: NSArray): id; message 'initWithSendPort:receivePort:components:';
    function components: NSArray; message 'components';
    function receivePort: NSPort; message 'receivePort';
    function sendPort: NSPort; message 'sendPort';
    function sendBeforeDate(date: NSDate): Boolean; message 'sendBeforeDate:';
    function msgid: cuint32; message 'msgid';
    procedure setMsgid(msgid_: cuint32); message 'setMsgid:';
  end;

{$endif}
{$endif}