blob: 226429e02ad2ae975d5e3baedf55f52c769276f5 (
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
{ Parsed from Webkit.framework WebPreferences.h }
{$ifdef TYPES}
{$ifndef WEBPREFERENCES_PAS_T}
{$define WEBPREFERENCES_PAS_T}
{ Constants }
const
WebCacheModelDocumentViewer = 0;
WebCacheModelDocumentBrowser = 1;
WebCacheModelPrimaryWebBrowser = 2;
{ Types }
type
WebCacheModel = WebNSUInteger;
WebCacheModelPtr = ^WebCacheModel;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef WEBPREFERENCES_PAS_R}
{$define WEBPREFERENCES_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef WEBPREFERENCES_PAS_F}
{$define WEBPREFERENCES_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef WEBPREFERENCES_PAS_S}
{$define WEBPREFERENCES_PAS_S}
{ External string constants }
var
WebPreferencesChangedNotification: NSString; cvar; external;
{$endif}
{$endif}
{$ifdef FORWARD}
WebPreferences = objcclass;
WebPreferencesPointer = ^WebPreferences;
WebPreferencesPtr = WebPreferencesPointer;
{$endif}
{$ifdef CLASSES}
{$ifndef WEBPREFERENCES_PAS_C}
{$define WEBPREFERENCES_PAS_C}
{ WebPreferences }
WebPreferences = objcclass external (NSObject, NSCodingProtocol)
private
_private: WebPreferencesPrivate;
public
class function standardPreferences: WebPreferences; message 'standardPreferences';
function initWithIdentifier(anIdentifier: NSString): id; message 'initWithIdentifier:';
function identifier: NSString; message 'identifier';
function standardFontFamily: NSString; message 'standardFontFamily';
procedure setStandardFontFamily(family: NSString); message 'setStandardFontFamily:';
function fixedFontFamily: NSString; message 'fixedFontFamily';
procedure setFixedFontFamily(family: NSString); message 'setFixedFontFamily:';
function serifFontFamily: NSString; message 'serifFontFamily';
procedure setSerifFontFamily(family: NSString); message 'setSerifFontFamily:';
function sansSerifFontFamily: NSString; message 'sansSerifFontFamily';
procedure setSansSerifFontFamily(family: NSString); message 'setSansSerifFontFamily:';
function cursiveFontFamily: NSString; message 'cursiveFontFamily';
procedure setCursiveFontFamily(family: NSString); message 'setCursiveFontFamily:';
function fantasyFontFamily: NSString; message 'fantasyFontFamily';
procedure setFantasyFontFamily(family: NSString); message 'setFantasyFontFamily:';
function defaultFontSize: cint; message 'defaultFontSize';
procedure setDefaultFontSize(size: cint); message 'setDefaultFontSize:';
function defaultFixedFontSize: cint; message 'defaultFixedFontSize';
procedure setDefaultFixedFontSize(size: cint); message 'setDefaultFixedFontSize:';
function minimumFontSize: cint; message 'minimumFontSize';
procedure setMinimumFontSize(size: cint); message 'setMinimumFontSize:';
function minimumLogicalFontSize: cint; message 'minimumLogicalFontSize';
procedure setMinimumLogicalFontSize(size: cint); message 'setMinimumLogicalFontSize:';
function defaultTextEncodingName: NSString; message 'defaultTextEncodingName';
procedure setDefaultTextEncodingName(encoding: NSString); message 'setDefaultTextEncodingName:';
function userStyleSheetEnabled: Boolean; message 'userStyleSheetEnabled';
procedure setUserStyleSheetEnabled(flag: Boolean); message 'setUserStyleSheetEnabled:';
function userStyleSheetLocation: NSURL; message 'userStyleSheetLocation';
procedure setUserStyleSheetLocation(URL: NSURL); message 'setUserStyleSheetLocation:';
function isJavaEnabled: Boolean; message 'isJavaEnabled';
procedure setJavaEnabled(flag: Boolean); message 'setJavaEnabled:';
function isJavaScriptEnabled: Boolean; message 'isJavaScriptEnabled';
procedure setJavaScriptEnabled(flag: Boolean); message 'setJavaScriptEnabled:';
function javaScriptCanOpenWindowsAutomatically: Boolean; message 'javaScriptCanOpenWindowsAutomatically';
procedure setJavaScriptCanOpenWindowsAutomatically(flag: Boolean); message 'setJavaScriptCanOpenWindowsAutomatically:';
function arePlugInsEnabled: Boolean; message 'arePlugInsEnabled';
procedure setPlugInsEnabled(flag: Boolean); message 'setPlugInsEnabled:';
function allowsAnimatedImages: Boolean; message 'allowsAnimatedImages';
procedure setAllowsAnimatedImages(flag: Boolean); message 'setAllowsAnimatedImages:';
function allowsAnimatedImageLooping: Boolean; message 'allowsAnimatedImageLooping';
procedure setAllowsAnimatedImageLooping(flag: Boolean); message 'setAllowsAnimatedImageLooping:';
procedure setLoadsImagesAutomatically(flag: Boolean); message 'setLoadsImagesAutomatically:';
function loadsImagesAutomatically: Boolean; message 'loadsImagesAutomatically';
procedure setAutosaves(flag: Boolean); message 'setAutosaves:';
function autosaves: Boolean; message 'autosaves';
procedure setShouldPrintBackgrounds(flag: Boolean); message 'setShouldPrintBackgrounds:';
function shouldPrintBackgrounds: Boolean; message 'shouldPrintBackgrounds';
procedure setPrivateBrowsingEnabled(flag: Boolean); message 'setPrivateBrowsingEnabled:';
function privateBrowsingEnabled: Boolean; message 'privateBrowsingEnabled';
procedure setTabsToLinks(flag: Boolean); message 'setTabsToLinks:';
function tabsToLinks: Boolean; message 'tabsToLinks';
procedure setUsesPageCache(usesPageCache_: Boolean); message 'setUsesPageCache:';
function usesPageCache: Boolean; message 'usesPageCache';
procedure setCacheModel(cacheModel_: WebCacheModel); message 'setCacheModel:';
function cacheModel: WebCacheModel; message 'cacheModel';
{ Adopted Protocols }
procedure encodeWithCoder(aCoder: NSCoder);
function initWithCoder(aDecoder: NSCoder): id;
end;
{$endif}
{$endif}
|