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

{$ifdef TYPES}
{$ifndef DOMOBJECT_PAS_T}
{$define DOMOBJECT_PAS_T}

{ Types }
type
  DOMObjectInternal = record end;
  DOMObjectInternalPtr = ^DOMObjectInternal;

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef DOMOBJECT_PAS_R}
{$define DOMOBJECT_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef DOMOBJECT_PAS_F}
{$define DOMOBJECT_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef DOMOBJECT_PAS_S}
{$define DOMOBJECT_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  DOMObject = objcclass;
  DOMObjectPointer = ^DOMObject;
  DOMObjectPtr = DOMObjectPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef DOMOBJECT_PAS_C}
{$define DOMOBJECT_PAS_C}

{ DOMObject }
  DOMObject = objcclass external (WebScriptObject, NSCopyingProtocol)
  private
    _internal: DOMObjectInternalPtr;
    
  public

    { Adopted Protocols }
    function copyWithZone(zone_: NSZonePtr): id;
  end;

{ DOMLinkStyleCategory }
  DOMLinkStyleCategory = objccategory external (DOMObject)
    function sheet: DOMStyleSheet; message 'sheet';
  end;

{$endif}
{$endif}