summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/DOMHTMLDocument.inc
blob: db2a30191b46b19da4fab37482d64b6d1bddd0fd (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
73
74
75
76
{ Parsed from Webkit.framework DOMHTMLDocument.h }
{ Version FrameworkParser: 1.3. PasCocoa 0.3, Objective-P 0.4 - Sat Oct 3 15:33:51 ICT 2009 }


{$ifdef TYPES}
{$ifndef DOMHTMLDOCUMENT_PAS_T}
{$define DOMHTMLDOCUMENT_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef DOMHTMLDOCUMENT_PAS_R}
{$define DOMHTMLDOCUMENT_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef DOMHTMLDOCUMENT_PAS_F}
{$define DOMHTMLDOCUMENT_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef DOMHTMLDOCUMENT_PAS_S}
{$define DOMHTMLDOCUMENT_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  DOMHTMLDocument = objcclass;
  DOMHTMLDocumentPointer = ^DOMHTMLDocument;

{$endif}

{$ifdef CLASSES}
{$ifndef DOMHTMLDOCUMENT_PAS_C}
{$define DOMHTMLDOCUMENT_PAS_C}

{ DOMHTMLDocument }
  DOMHTMLDocument = objcclass(DOMDocument)
    
  public
    class function alloc: DOMHTMLDocument; message 'alloc';

    procedure setTitle (newValue: NSString); message 'setTitle:';
    function title: NSString; message 'title';
    function referrer: NSString; message 'referrer';
    function domain: NSString; message 'domain';
    function uRL: NSString; message 'uRL';
    procedure setBody (newValue: DOMHTMLElement); message 'setBody:';
    function body: DOMHTMLElement; message 'body';
    function images: DOMHTMLCollection; message 'images';
    function applets: DOMHTMLCollection; message 'applets';
    function links: DOMHTMLCollection; message 'links';
    function forms: DOMHTMLCollection; message 'forms';
    function anchors: DOMHTMLCollection; message 'anchors';
    procedure setCookie (newValue: NSString); message 'setCookie:';
    function cookie: NSString; message 'cookie';
    procedure open; message 'open';
    procedure close; message 'close';
    procedure write(text: NSStringPointer); message 'write:';
    procedure writeln(text: NSStringPointer); message 'writeln:';
    function getElementsByName(elementName: NSStringPointer): DOMNodeList; message 'getElementsByName:';
    function getElementById(elementId: NSStringPointer): DOMElement; message 'getElementById:';

    { Category: DOMHTMLDocumentExtensions }
    function createDocumentFragmentWithMarkupString_baseURL(markupString: NSStringPointer; baseURL: NSURLPointer): DOMDocumentFragment; message 'createDocumentFragmentWithMarkupString:baseURL:';
    function createDocumentFragmentWithText(text: NSStringPointer): DOMDocumentFragment; message 'createDocumentFragmentWithText:';
  end; external;

{$endif}
{$endif}