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


{$ifdef TYPES}
type
  WebBackForwardListPtr = ^WebBackForwardList;
{$endif}

{$ifdef CLASSES}

type
  WebBackForwardList = objcclass external (NSObject)
  private
    _private: WebBackForwardListPrivate;
  public
    procedure addItem (item: WebHistoryItem); message 'addItem:';
    procedure goBack; message 'goBack';
    procedure goForward; message 'goForward';
    procedure goToItem (item: WebHistoryItem); message 'goToItem:';
    function backItem: WebHistoryItem; message 'backItem';
    function currentItem: WebHistoryItem; message 'currentItem';
    function forwardItem: WebHistoryItem; message 'forwardItem';
    function backListWithLimit (limit: cint): NSArray; message 'backListWithLimit:';
    function forwardListWithLimit (limit: cint): NSArray; message 'forwardListWithLimit:';
    procedure setCapacity(newValue: cint); message 'setCapacity:';
    function capacity: cint; message 'capacity';
    function backListCount: cint; message 'backListCount';
    function forwardListCount: cint; message 'forwardListCount';
    function containsItem (item: WebHistoryItem): ObjCBOOL; message 'containsItem:';
    function itemAtIndex (index: cint): WebHistoryItem; message 'itemAtIndex:';
  end;


type
  WebBackForwardListDeprecated = objccategory external (WebBackForwardList)
    procedure setPageCacheSize (size: NSUInteger); message 'setPageCacheSize:';
    function pageCacheSize: NSUInteger; message 'pageCacheSize';
  end;
{$endif}