summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/quartzcore/CAValueFunction.inc
blob: 4e2655b088717ed1d72f2897e15dcd193d1c3999 (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
64
65
66
67
68
69
70
71
72
{ Parsed from Quartzcore.framework CAValueFunction.h }

{$ifdef TYPES}
{$ifndef CAVALUEFUNCTION_PAS_T}
{$define CAVALUEFUNCTION_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef CAVALUEFUNCTION_PAS_R}
{$define CAVALUEFUNCTION_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef CAVALUEFUNCTION_PAS_F}
{$define CAVALUEFUNCTION_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef CAVALUEFUNCTION_PAS_S}
{$define CAVALUEFUNCTION_PAS_S}

{ External string constants }
var
  kCAValueFunctionRotateX: NSString; cvar; external;
  kCAValueFunctionRotateY: NSString; cvar; external;
  kCAValueFunctionRotateZ: NSString; cvar; external;
  kCAValueFunctionScale: NSString; cvar; external;
  kCAValueFunctionScaleX: NSString; cvar; external;
  kCAValueFunctionScaleY: NSString; cvar; external;
  kCAValueFunctionScaleZ: NSString; cvar; external;
  kCAValueFunctionTranslate: NSString; cvar; external;
  kCAValueFunctionTranslateX: NSString; cvar; external;
  kCAValueFunctionTranslateY: NSString; cvar; external;
  kCAValueFunctionTranslateZ: NSString; cvar; external;

{$endif}
{$endif}

{$ifdef FORWARD}
  CAValueFunction = objcclass;
  CAValueFunctionPointer = ^CAValueFunction;
  CAValueFunctionPtr = CAValueFunctionPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef CAVALUEFUNCTION_PAS_C}
{$define CAVALUEFUNCTION_PAS_C}

{ CAValueFunction }
  CAValueFunction = objcclass external (NSObject, NSCodingProtocol)
  private
    _string: NSString;
    _impl: Pointer;
    
  public
    class function functionWithName(name: NSString): id; message 'functionWithName:';
    function name: NSString; message 'name';

    { Adopted Protocols }
    procedure encodeWithCoder(aCoder: NSCoder);
    function initWithCoder(aDecoder: NSCoder): id;
  end;

{$endif}
{$endif}