summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/appkit/NSActionCell.inc
blob: 176941dc67846cf0e4fd0cf9a1798aab2d00e3e7 (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
{ Parsed from Appkit.framework NSActionCell.h }

{$ifdef TYPES}
{$ifndef NSACTIONCELL_PAS_T}
{$define NSACTIONCELL_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSACTIONCELL_PAS_R}
{$define NSACTIONCELL_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSACTIONCELL_PAS_F}
{$define NSACTIONCELL_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSACTIONCELL_PAS_S}
{$define NSACTIONCELL_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSActionCell = objcclass;
  NSActionCellPointer = ^NSActionCell;
  NSActionCellPtr = NSActionCellPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef NSACTIONCELL_PAS_C}
{$define NSACTIONCELL_PAS_C}

{ NSActionCell }
  NSActionCell = objcclass external (NSCell)
  private
    _tag: NSInteger;
    _target: id;
    _action: SEL;
    _controlView: id;
    
  public
    function target: id; message 'target';
    procedure setTarget(anObject: id); message 'setTarget:';
    function action: SEL; message 'action';
    procedure setAction(aSelector: SEL); message 'setAction:';
    function tag: NSInteger; message 'tag';
    procedure setTag(anInt: NSInteger); message 'setTag:';
  end;

{$endif}
{$endif}