summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/DOMXPathResult.inc
blob: b5960b6c49f1fd790a99829c7cd3213269adb442 (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
{ Parsed from WebKit.framework DOMXPathResult.h }


{$ifdef TYPES}
type
  DOMXPathResultPtr = ^DOMXPathResult;
{$endif}

{$ifdef TYPES}
const
  DOM_ANY_TYPE = 0;
  DOM_NUMBER_TYPE = 1;
  DOM_STRING_TYPE = 2;
  DOM_BOOLEAN_TYPE = 3;
  DOM_UNORDERED_NODE_ITERATOR_TYPE = 4;
  DOM_ORDERED_NODE_ITERATOR_TYPE = 5;
  DOM_UNORDERED_NODE_SNAPSHOT_TYPE = 6;
  DOM_ORDERED_NODE_SNAPSHOT_TYPE = 7;
  DOM_ANY_UNORDERED_NODE_TYPE = 8;
  DOM_FIRST_ORDERED_NODE_TYPE = 9;
{$endif}

{$ifdef CLASSES}

type
  DOMXPathResult = objcclass external (DOMObject)
  public
    function resultType: cushort; message 'resultType';
    function numberValue: double; message 'numberValue';
    function stringValue: NSString; message 'stringValue';
    function ObjCBOOLValue: ObjCBOOL; message 'ObjCBOOLValue';
    function singleNodeValue: DOMNode; message 'singleNodeValue';
    function invalidIteratorState: ObjCBOOL; message 'invalidIteratorState';
    function snapshotLength: cuint; message 'snapshotLength';
    function iterateNext: DOMNode; message 'iterateNext';
    function snapshotItem (index: cuint): DOMNode; message 'snapshotItem:';
  end;
{$endif}