summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/webkit/DOMRect.inc
blob: f47bc24e95d8ec3c30fa6dd1af653f52912f98c1 (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
{ Parsed from Webkit.framework DOMRect.h }

{$ifdef TYPES}
{$ifndef DOMRECT_PAS_T}
{$define DOMRECT_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef DOMRECT_PAS_R}
{$define DOMRECT_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef DOMRECT_PAS_F}
{$define DOMRECT_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef DOMRECT_PAS_S}
{$define DOMRECT_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  DOMRect = objcclass;
  DOMRectPointer = ^DOMRect;
  DOMRectPtr = DOMRectPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef DOMRECT_PAS_C}
{$define DOMRECT_PAS_C}

{ DOMRect }
  DOMRect = objcclass external (DOMObject)
    
  public
    function top: DOMCSSPrimitiveValue; message 'top';
    function right: DOMCSSPrimitiveValue; message 'right';
    function bottom: DOMCSSPrimitiveValue; message 'bottom';
    function left: DOMCSSPrimitiveValue; message 'left';
  end;

{$endif}
{$endif}