blob: 226aeb1d3f761e5e8b1f0f1bd1027b61d84422cd (
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
|
{ Parsed from Webkit.framework WebHistory.h }
{$ifdef TYPES}
{$ifndef WEBHISTORY_PAS_T}
{$define WEBHISTORY_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef WEBHISTORY_PAS_R}
{$define WEBHISTORY_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef WEBHISTORY_PAS_F}
{$define WEBHISTORY_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef WEBHISTORY_PAS_S}
{$define WEBHISTORY_PAS_S}
{ External string constants }
var
WebHistoryItemsAddedNotification: NSString; cvar; external;
WebHistoryItemsRemovedNotification: NSString; cvar; external;
WebHistoryAllItemsRemovedNotification: NSString; cvar; external;
WebHistoryLoadedNotification: NSString; cvar; external;
WebHistorySavedNotification: NSString; cvar; external;
WebHistoryItemsKey: NSString; cvar; external;
{$endif}
{$endif}
{$ifdef FORWARD}
WebHistory = objcclass;
WebHistoryPointer = ^WebHistory;
WebHistoryPtr = WebHistoryPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef WEBHISTORY_PAS_C}
{$define WEBHISTORY_PAS_C}
{ WebHistory }
WebHistory = objcclass external (NSObject)
private
_historyPrivate: WebHistoryPrivate;
public
class function optionalSharedHistory: WebHistory; message 'optionalSharedHistory';
class procedure setOptionalSharedHistory(history: WebHistory); message 'setOptionalSharedHistory:';
function loadFromURL_error(URL: NSURL; error: NSErrorPointer): Boolean; message 'loadFromURL:error:';
function saveToURL_error(URL: NSURL; error: NSErrorPointer): Boolean; message 'saveToURL:error:';
procedure addItems(newItems: NSArray); message 'addItems:';
procedure removeItems(items: NSArray); message 'removeItems:';
procedure removeAllItems; message 'removeAllItems';
function orderedLastVisitedDays: NSArray; message 'orderedLastVisitedDays';
function orderedItemsLastVisitedOnDay(calendarDate: NSCalendarDate): NSArray; message 'orderedItemsLastVisitedOnDay:';
function itemForURL(URL: NSURL): WebHistoryItem; message 'itemForURL:';
procedure setHistoryItemLimit(limit: cint); message 'setHistoryItemLimit:';
function historyItemLimit: cint; message 'historyItemLimit';
procedure setHistoryAgeInDaysLimit(limit: cint); message 'setHistoryAgeInDaysLimit:';
function historyAgeInDaysLimit: cint; message 'historyAgeInDaysLimit';
end;
{$endif}
{$endif}
|