1{ Parsed from WebKit.framework WebPreferences.h }
2
3
4{$ifdef TYPES}
5type
6  WebPreferencesPtr = ^WebPreferences;
7{$endif}
8
9{$ifdef TYPES}
10type
11  WebCacheModel = NSUInteger;
12  WebCacheModelPtr = ^WebCacheModel;
13
14const
15  WebCacheModelDocumentViewer = 0;
16  WebCacheModelDocumentBrowser = 1;
17  WebCacheModelPrimaryWebBrowser = 2;
18
19type
20  WebPreferencesPrivate = OpaqueType;
21  WebPreferencesPrivatePtr = ^WebPreferencesPrivate;
22{$endif}
23
24{$ifdef EXTERNAL_SYMBOLS}
25var
26  WebPreferencesChangedNotification: NSString; cvar; external;
27{$endif}
28
29{$ifdef CLASSES}
30
31type
32  WebPreferences = objcclass external (NSObject, NSCodingProtocol)
33  private
34    _private: WebPreferencesPrivatePtr;
35  public
36    class function standardPreferences: WebPreferences; message 'standardPreferences';
37    function initWithIdentifier (anIdentifier: NSString): instancetype; message 'initWithIdentifier:';
38    function identifier: NSString; message 'identifier';
39    procedure setStandardFontFamily(newValue: NSString); message 'setStandardFontFamily:';
40    function standardFontFamily: NSString; message 'standardFontFamily';
41    procedure setFixedFontFamily(newValue: NSString); message 'setFixedFontFamily:';
42    function fixedFontFamily: NSString; message 'fixedFontFamily';
43    procedure setSerifFontFamily(newValue: NSString); message 'setSerifFontFamily:';
44    function serifFontFamily: NSString; message 'serifFontFamily';
45    procedure setSansSerifFontFamily(newValue: NSString); message 'setSansSerifFontFamily:';
46    function sansSerifFontFamily: NSString; message 'sansSerifFontFamily';
47    procedure setCursiveFontFamily(newValue: NSString); message 'setCursiveFontFamily:';
48    function cursiveFontFamily: NSString; message 'cursiveFontFamily';
49    procedure setFantasyFontFamily(newValue: NSString); message 'setFantasyFontFamily:';
50    function fantasyFontFamily: NSString; message 'fantasyFontFamily';
51    procedure setDefaultFontSize(newValue: cint); message 'setDefaultFontSize:';
52    function defaultFontSize: cint; message 'defaultFontSize';
53    procedure setDefaultFixedFontSize(newValue: cint); message 'setDefaultFixedFontSize:';
54    function defaultFixedFontSize: cint; message 'defaultFixedFontSize';
55    procedure setMinimumFontSize(newValue: cint); message 'setMinimumFontSize:';
56    function minimumFontSize: cint; message 'minimumFontSize';
57    procedure setMinimumLogicalFontSize(newValue: cint); message 'setMinimumLogicalFontSize:';
58    function minimumLogicalFontSize: cint; message 'minimumLogicalFontSize';
59    procedure setDefaultTextEncodingName(newValue: NSString); message 'setDefaultTextEncodingName:';
60    function defaultTextEncodingName: NSString; message 'defaultTextEncodingName';
61    procedure setUserStyleSheetEnabled(newValue: ObjCBOOL); message 'setUserStyleSheetEnabled:';
62    function userStyleSheetEnabled: ObjCBOOL; message 'userStyleSheetEnabled';
63    procedure setUserStyleSheetLocation(newValue: NSURL); message 'setUserStyleSheetLocation:';
64    function userStyleSheetLocation: NSURL; message 'userStyleSheetLocation';
65    procedure setJavaEnabled(newValue: ObjCBOOL); message 'setJavaEnabled:';
66    function isJavaEnabled: ObjCBOOL; message 'isJavaEnabled';
67    procedure setJavaScriptEnabled(newValue: ObjCBOOL); message 'setJavaScriptEnabled:';
68    function isJavaScriptEnabled: ObjCBOOL; message 'isJavaScriptEnabled';
69    procedure setJavaScriptCanOpenWindowsAutomatically(newValue: ObjCBOOL); message 'setJavaScriptCanOpenWindowsAutomatically:';
70    function javaScriptCanOpenWindowsAutomatically: ObjCBOOL; message 'javaScriptCanOpenWindowsAutomatically';
71    procedure setPlugInsEnabled(newValue: ObjCBOOL); message 'setPlugInsEnabled:';
72    function arePlugInsEnabled: ObjCBOOL; message 'arePlugInsEnabled';
73    procedure setAllowsAnimatedImages(newValue: ObjCBOOL); message 'setAllowsAnimatedImages:';
74    function allowsAnimatedImages: ObjCBOOL; message 'allowsAnimatedImages';
75    procedure setAllowsAnimatedImageLooping(newValue: ObjCBOOL); message 'setAllowsAnimatedImageLooping:';
76    function allowsAnimatedImageLooping: ObjCBOOL; message 'allowsAnimatedImageLooping';
77    procedure setLoadsImagesAutomatically(newValue: ObjCBOOL); message 'setLoadsImagesAutomatically:';
78    function loadsImagesAutomatically: ObjCBOOL; message 'loadsImagesAutomatically';
79    procedure setAutosaves(newValue: ObjCBOOL); message 'setAutosaves:';
80    function autosaves: ObjCBOOL; message 'autosaves';
81    procedure setShouldPrintBackgrounds(newValue: ObjCBOOL); message 'setShouldPrintBackgrounds:';
82    function shouldPrintBackgrounds: ObjCBOOL; message 'shouldPrintBackgrounds';
83    procedure setPrivateBrowsingEnabled(newValue: ObjCBOOL); message 'setPrivateBrowsingEnabled:';
84    function privateBrowsingEnabled: ObjCBOOL; message 'privateBrowsingEnabled';
85    procedure setTabsToLinks(newValue: ObjCBOOL); message 'setTabsToLinks:';
86    function tabsToLinks: ObjCBOOL; message 'tabsToLinks';
87    procedure setUsesPageCache(newValue: ObjCBOOL); message 'setUsesPageCache:';
88    function usesPageCache: ObjCBOOL; message 'usesPageCache';
89    procedure setCacheModel(newValue: WebCacheModel); message 'setCacheModel:';
90    function cacheModel: WebCacheModel; message 'cacheModel';
91    procedure setSuppressesIncrementalRendering(newValue: ObjCBOOL); message 'setSuppressesIncrementalRendering:';
92    function suppressesIncrementalRendering: ObjCBOOL; message 'suppressesIncrementalRendering';
93
94    { Adopted protocols }
95    procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
96    function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
97  end;
98{$endif}
99
100