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

{$ifdef TYPES}
{$ifndef DOMHTMLOPTIONSCOLLECTION_PAS_T}
{$define DOMHTMLOPTIONSCOLLECTION_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef DOMHTMLOPTIONSCOLLECTION_PAS_R}
{$define DOMHTMLOPTIONSCOLLECTION_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef DOMHTMLOPTIONSCOLLECTION_PAS_F}
{$define DOMHTMLOPTIONSCOLLECTION_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef DOMHTMLOPTIONSCOLLECTION_PAS_S}
{$define DOMHTMLOPTIONSCOLLECTION_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  DOMHTMLOptionsCollection = objcclass;
  DOMHTMLOptionsCollectionPointer = ^DOMHTMLOptionsCollection;
  DOMHTMLOptionsCollectionPtr = DOMHTMLOptionsCollectionPointer;

{$endif}

{$ifdef CLASSES}
{$ifndef DOMHTMLOPTIONSCOLLECTION_PAS_C}
{$define DOMHTMLOPTIONSCOLLECTION_PAS_C}

{ DOMHTMLOptionsCollection }
  DOMHTMLOptionsCollection = objcclass external (DOMObject)
    
  public
    procedure setSelectedIndex (newValue: cint); message 'setSelectedIndex:';
    function selectedIndex: cint; message 'selectedIndex';
    procedure setLength (newValue: cuint); message 'setLength:';
    function length: cuint; message 'length';
    procedure add_index(option: DOMHTMLOptionElement; index: cuint); message 'add:index:';
    procedure remove(index: cuint); message 'remove:';
    function item(index: cuint): DOMNode; message 'item:';
    function namedItem(name: NSString): DOMNode; message 'namedItem:';
  end;

{$endif}
{$endif}