1 {
2      File:       HTMLRendering/HTMLRendering.h
3 
4      Contains:   HTML Rendering Library Interfaces.
5 
6      Version:    HTMLRenderingLib-78~55
7 
8      Copyright:  � 1999-2008 by Apple Computer, Inc., all rights reserved
9 
10      Bugs?:      For bug reports, consult the following page on
11                  the World Wide Web:
12 
13                      http://bugs.freepascal.org
14 
15 }
16 {  Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2009 }
17 {  Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2012 }
18 {
19     Modified for use with Free Pascal
20     Version 308
21     Please report any bugs to <gpc@microbizz.nl>
22 }
23 
24 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
25 {$mode macpas}
26 {$modeswitch cblocks}
27 {$packenum 1}
28 {$macro on}
29 {$inline on}
30 {$calling mwpascal}
31 
32 unit HTMLRendering;
33 interface
34 {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
35 {$setc GAP_INTERFACES_VERSION := $0308}
36 
37 {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
38     {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
39 {$endc}
40 
41 {$ifc defined CPUPOWERPC and defined CPUI386}
42 	{$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
43 {$endc}
44 {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
45 	{$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
46 {$endc}
47 
48 {$ifc not defined __ppc__ and defined CPUPOWERPC32}
49 	{$setc __ppc__ := 1}
50 {$elsec}
51 	{$setc __ppc__ := 0}
52 {$endc}
53 {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
54 	{$setc __ppc64__ := 1}
55 {$elsec}
56 	{$setc __ppc64__ := 0}
57 {$endc}
58 {$ifc not defined __i386__ and defined CPUI386}
59 	{$setc __i386__ := 1}
60 {$elsec}
61 	{$setc __i386__ := 0}
62 {$endc}
63 {$ifc not defined __x86_64__ and defined CPUX86_64}
64 	{$setc __x86_64__ := 1}
65 {$elsec}
66 	{$setc __x86_64__ := 0}
67 {$endc}
68 {$ifc not defined __arm__ and defined CPUARM}
69 	{$setc __arm__ := 1}
70 {$elsec}
71 	{$setc __arm__ := 0}
72 {$endc}
73 {$ifc not defined __arm64__ and defined CPUAARCH64}
74   {$setc __arm64__ := 1}
75 {$elsec}
76   {$setc __arm64__ := 0}
77 {$endc}
78 
79 {$ifc defined cpu64}
80   {$setc __LP64__ := 1}
81 {$elsec}
82   {$setc __LP64__ := 0}
83 {$endc}
84 
85 
86 {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
87 	{$error Conflicting definitions for __ppc__ and __i386__}
88 {$endc}
89 
90 {$ifc defined __ppc__ and __ppc__}
91 	{$setc TARGET_CPU_PPC := TRUE}
92 	{$setc TARGET_CPU_PPC64 := FALSE}
93 	{$setc TARGET_CPU_X86 := FALSE}
94 	{$setc TARGET_CPU_X86_64 := FALSE}
95 	{$setc TARGET_CPU_ARM := FALSE}
96 	{$setc TARGET_CPU_ARM64 := FALSE}
97 	{$setc TARGET_OS_MAC := TRUE}
98 	{$setc TARGET_OS_IPHONE := FALSE}
99 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
100 	{$setc TARGET_OS_EMBEDDED := FALSE}
101 {$elifc defined __ppc64__ and __ppc64__}
102 	{$setc TARGET_CPU_PPC := FALSE}
103 	{$setc TARGET_CPU_PPC64 := TRUE}
104 	{$setc TARGET_CPU_X86 := FALSE}
105 	{$setc TARGET_CPU_X86_64 := FALSE}
106 	{$setc TARGET_CPU_ARM := FALSE}
107 	{$setc TARGET_CPU_ARM64 := FALSE}
108 	{$setc TARGET_OS_MAC := TRUE}
109 	{$setc TARGET_OS_IPHONE := FALSE}
110 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
111 	{$setc TARGET_OS_EMBEDDED := FALSE}
112 {$elifc defined __i386__ and __i386__}
113 	{$setc TARGET_CPU_PPC := FALSE}
114 	{$setc TARGET_CPU_PPC64 := FALSE}
115 	{$setc TARGET_CPU_X86 := TRUE}
116 	{$setc TARGET_CPU_X86_64 := FALSE}
117 	{$setc TARGET_CPU_ARM := FALSE}
118 	{$setc TARGET_CPU_ARM64 := FALSE}
119 {$ifc defined iphonesim}
120  	{$setc TARGET_OS_MAC := FALSE}
121 	{$setc TARGET_OS_IPHONE := TRUE}
122 	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
123 {$elsec}
124 	{$setc TARGET_OS_MAC := TRUE}
125 	{$setc TARGET_OS_IPHONE := FALSE}
126 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
127 {$endc}
128 	{$setc TARGET_OS_EMBEDDED := FALSE}
129 {$elifc defined __x86_64__ and __x86_64__}
130 	{$setc TARGET_CPU_PPC := FALSE}
131 	{$setc TARGET_CPU_PPC64 := FALSE}
132 	{$setc TARGET_CPU_X86 := FALSE}
133 	{$setc TARGET_CPU_X86_64 := TRUE}
134 	{$setc TARGET_CPU_ARM := FALSE}
135 	{$setc TARGET_CPU_ARM64 := FALSE}
136 {$ifc defined iphonesim}
137  	{$setc TARGET_OS_MAC := FALSE}
138 	{$setc TARGET_OS_IPHONE := TRUE}
139 	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
140 {$elsec}
141 	{$setc TARGET_OS_MAC := TRUE}
142 	{$setc TARGET_OS_IPHONE := FALSE}
143 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
144 {$endc}
145 	{$setc TARGET_OS_EMBEDDED := FALSE}
146 {$elifc defined __arm__ and __arm__}
147 	{$setc TARGET_CPU_PPC := FALSE}
148 	{$setc TARGET_CPU_PPC64 := FALSE}
149 	{$setc TARGET_CPU_X86 := FALSE}
150 	{$setc TARGET_CPU_X86_64 := FALSE}
151 	{$setc TARGET_CPU_ARM := TRUE}
152 	{$setc TARGET_CPU_ARM64 := FALSE}
153 	{$setc TARGET_OS_MAC := FALSE}
154 	{$setc TARGET_OS_IPHONE := TRUE}
155 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
156 	{$setc TARGET_OS_EMBEDDED := TRUE}
157 {$elifc defined __arm64__ and __arm64__}
158 	{$setc TARGET_CPU_PPC := FALSE}
159 	{$setc TARGET_CPU_PPC64 := FALSE}
160 	{$setc TARGET_CPU_X86 := FALSE}
161 	{$setc TARGET_CPU_X86_64 := FALSE}
162 	{$setc TARGET_CPU_ARM := FALSE}
163 	{$setc TARGET_CPU_ARM64 := TRUE}
164 {$ifc defined ios}
165 	{$setc TARGET_OS_MAC := FALSE}
166 	{$setc TARGET_OS_IPHONE := TRUE}
167 	{$setc TARGET_OS_EMBEDDED := TRUE}
168 {$elsec}
169 	{$setc TARGET_OS_MAC := TRUE}
170 	{$setc TARGET_OS_IPHONE := FALSE}
171 	{$setc TARGET_OS_EMBEDDED := FALSE}
172 {$endc}
173 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
174 {$elsec}
175 	{$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ nor __arm64__ is defined.}
176 {$endc}
177 
178 {$ifc defined __LP64__ and __LP64__ }
179   {$setc TARGET_CPU_64 := TRUE}
180 {$elsec}
181   {$setc TARGET_CPU_64 := FALSE}
182 {$endc}
183 
184 {$ifc defined FPC_BIG_ENDIAN}
185 	{$setc TARGET_RT_BIG_ENDIAN := TRUE}
186 	{$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
187 {$elifc defined FPC_LITTLE_ENDIAN}
188 	{$setc TARGET_RT_BIG_ENDIAN := FALSE}
189 	{$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
190 {$elsec}
191 	{$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
192 {$endc}
193 {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
194 {$setc CALL_NOT_IN_CARBON := FALSE}
195 {$setc OLDROUTINENAMES := FALSE}
196 {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
197 {$setc OPAQUE_UPP_TYPES := TRUE}
198 {$setc OTCARBONAPPLICATION := TRUE}
199 {$setc OTKERNEL := FALSE}
200 {$setc PM_USE_SESSION_APIS := TRUE}
201 {$setc TARGET_API_MAC_CARBON := TRUE}
202 {$setc TARGET_API_MAC_OS8 := FALSE}
203 {$setc TARGET_API_MAC_OSX := TRUE}
204 {$setc TARGET_CARBON := TRUE}
205 {$setc TARGET_CPU_68K := FALSE}
206 {$setc TARGET_CPU_MIPS := FALSE}
207 {$setc TARGET_CPU_SPARC := FALSE}
208 {$setc TARGET_OS_UNIX := FALSE}
209 {$setc TARGET_OS_WIN32 := FALSE}
210 {$setc TARGET_RT_MAC_68881 := FALSE}
211 {$setc TARGET_RT_MAC_CFM := FALSE}
212 {$setc TARGET_RT_MAC_MACHO := TRUE}
213 {$setc TYPED_FUNCTION_POINTERS := TRUE}
214 {$setc TYPE_BOOL := FALSE}
215 {$setc TYPE_EXTENDED := FALSE}
216 {$setc TYPE_LONGLONG := TRUE}
217 uses MacTypes,CFBase,QuickdrawTypes,Events,Files,CodeFragments,Controls,CFData,CFString,CFURL,HIObject;
218 {$endc} {not MACOSALLINCLUDE}
219 
220 
221 {$ifc TARGET_OS_MAC}
222 
223 {
224     HTMLRenderingLib has been deprecated. Please use WebKit instead for your OS X Carbon web widget needs.
225  }
226 
227 
228 type
229 	HRReference = ^OpaqueHRReference; { an opaque type }
230 	OpaqueHRReference = record end;
231 {
232  *  HRGetHTMLRenderingLibVersion()   *** DEPRECATED ***
233  *
234  *  Availability:
235  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
236  *    CarbonLib:        in CarbonLib 1.1 and later
237  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
238  }
HRGetHTMLRenderingLibVersionnull239 function HRGetHTMLRenderingLibVersion( var returnVers: NumVersion ): OSStatus; external name '_HRGetHTMLRenderingLibVersion';
240 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
241 
242 
243 const
244 	kHRRendererHTML32Type = FourCharCode('ht32'); { HTML 3.2 }
245 
246 
247 {
248  *  HRNewReference()   *** DEPRECATED ***
249  *
250  *  Availability:
251  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
252  *    CarbonLib:        in CarbonLib 1.1 and later
253  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
254  }
HRNewReferencenull255 function HRNewReference( var hrRef: HRReference; rendererType: OSType; grafPtr_: GrafPtr ): OSStatus; external name '_HRNewReference';
256 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
257 
258 
259 {
260  *  HRNewReferenceInWindow()   *** DEPRECATED ***
261  *
262  *  Discussion:
263  *    Use this API from  a Carbon App. All the contrrols created by the
264  *    HTML renderer will be embedded in the root control of the window
265  *    specified by the window ref.
266  *
267  *  Parameters:
268  *
269  *    hrRef:
270  *      Pointer to the new reference created and returned by the
271  *      renderer.
272  *
273  *    rendererType:
274  *      Type of the renderer e.g. kHRRendererHTML32Type. Only this type
275  *      is supported for now.
276  *
277  *    inWindowRef:
278  *      Reference to the window for which rendering area will be
279  *      specified.
280  *
281  *  Availability:
282  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
283  *    CarbonLib:        in CarbonLib 1.3 and later
284  *    Non-Carbon CFM:   not available
285  }
HRNewReferenceInWindownull286 function HRNewReferenceInWindow( var hrRef: HRReference; rendererType: OSType; inWindowRef: WindowRef ): OSStatus; external name '_HRNewReferenceInWindow';
287 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
288 
289 
290 {
291  *  HRDisposeReference()   *** DEPRECATED ***
292  *
293  *  Availability:
294  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
295  *    CarbonLib:        in CarbonLib 1.1 and later
296  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
297  }
HRDisposeReferencenull298 function HRDisposeReference( hrRef: HRReference ): OSStatus; external name '_HRDisposeReference';
299 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
300 
301 
302 {
303  *  HRFreeMemory()   *** DEPRECATED ***
304  *
305  *  Availability:
306  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
307  *    CarbonLib:        in CarbonLib 1.1 and later
308  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
309  }
HRFreeMemorynull310 function HRFreeMemory( inBytesNeeded: Size ): SInt32; external name '_HRFreeMemory';
311 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
312 
313 
314 { System level notifications }
315 {
316  *  HRScreenConfigurationChanged()   *** DEPRECATED ***
317  *
318  *  Availability:
319  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
320  *    CarbonLib:        in CarbonLib 1.1 and later
321  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
322  }
323 procedure HRScreenConfigurationChanged; external name '_HRScreenConfigurationChanged';
324 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
325 
326 
327 {
328  *  HRIsHREvent()   *** DEPRECATED ***
329  *
330  *  Availability:
331  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
332  *    CarbonLib:        in CarbonLib 1.1 and later
333  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
334  }
HRIsHREventnull335 function HRIsHREvent( const (*var*) eventRecord_: EventRecord ): Boolean; external name '_HRIsHREvent';
336 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
337 
338 
339 { Drawing }
340 {
341  *  HRSetGrafPtr()   *** DEPRECATED ***
342  *
343  *  Availability:
344  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
345  *    CarbonLib:        in CarbonLib 1.1 and later
346  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
347  }
HRSetGrafPtrnull348 function HRSetGrafPtr( hrRef: HRReference; grafPtr_: GrafPtr ): OSStatus; external name '_HRSetGrafPtr';
349 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
350 
351 
352 {
353  *  HRSetWindowRef()   *** DEPRECATED ***
354  *
355  *  Discussion:
356  *    Use this API from  a Carbon App. All the contrrols created by the
357  *    HTML renderer will be moved in the root control of the window
358  *    specified by the window ref. All the drawing will now happen in
359  *    the specified window.
360  *
361  *  Parameters:
362  *
363  *    hrRef:
364  *      Reference to the renderer object.
365  *
366  *    windowRef:
367  *      new Reference to the window to be attached to the above hrRef.
368  *
369  *  Availability:
370  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
371  *    CarbonLib:        in CarbonLib 1.3 and later
372  *    Non-Carbon CFM:   not available
373  }
HRSetWindowRefnull374 function HRSetWindowRef( hrRef: HRReference; windowRef_: WindowRef ): OSStatus; external name '_HRSetWindowRef';
375 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
376 
377 
378 {
379  *  HRSetEmbeddingControl()   *** DEPRECATED ***
380  *
381  *  Discussion:
382  *    Use this API to tell the HTML Renderer to embed all the controls
383  *    it has created so far and the new controls it creates after this
384  *    call to be embedded in the given control. Useful if you wish to
385  *    have an HTML displayed with in your dialog. e.g. Software Update
386  *    needs this.
387  *
388  *  Parameters:
389  *
390  *    hrRef:
391  *      Reference to the renderer object.
392  *
393  *    controlRef:
394  *      all the future controls created by renderer are embeded in this
395  *      controlRef.
396  *
397  *  Availability:
398  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
399  *    CarbonLib:        in CarbonLib 1.3 and later
400  *    Non-Carbon CFM:   not available
401  }
HRSetEmbeddingControlnull402 function HRSetEmbeddingControl( hrRef: HRReference; controlRef_: ControlRef ): OSStatus; external name '_HRSetEmbeddingControl';
403 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
404 
405 
406 {
407  *  HRActivate()   *** DEPRECATED ***
408  *
409  *  Availability:
410  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
411  *    CarbonLib:        in CarbonLib 1.1 and later
412  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
413  }
HRActivatenull414 function HRActivate( hrRef: HRReference ): OSStatus; external name '_HRActivate';
415 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
416 
417 
418 {
419  *  HRDeactivate()   *** DEPRECATED ***
420  *
421  *  Availability:
422  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
423  *    CarbonLib:        in CarbonLib 1.1 and later
424  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
425  }
HRDeactivatenull426 function HRDeactivate( hrRef: HRReference ): OSStatus; external name '_HRDeactivate';
427 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
428 
429 
430 {
431  *  HRDraw()   *** DEPRECATED ***
432  *
433  *  Availability:
434  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
435  *    CarbonLib:        in CarbonLib 1.1 and later
436  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
437  }
HRDrawnull438 function HRDraw( hrRef: HRReference; updateRgnH: RgnHandle ): OSStatus; external name '_HRDraw';
439 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
440 
441 
442 {
443  *  HRDrawInPort()   *** DEPRECATED ***
444  *
445  *  Discussion:
446  *    Use this API from  a Carbon App.  All the drawing will now happen
447  *    in the specified port. This is the API you want to use to draw in
448  *    an offscreen port, for example when printing. You could also use
449  *    this API to draw in an on screen port.
450  *
451  *  Parameters:
452  *
453  *    hrRef:
454  *      Reference to the renderer object.
455  *
456  *    updateRgnH:
457  *      Region to be updated.
458  *
459  *    grafPtr:
460  *      A graf pointer to render HTML into.
461  *
462  *  Availability:
463  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
464  *    CarbonLib:        in CarbonLib 1.3 and later
465  *    Non-Carbon CFM:   not available
466  }
HRDrawInPortnull467 function HRDrawInPort( hrRef: HRReference; updateRgnH: RgnHandle; grafPtr: CGrafPtr ): OSStatus; external name '_HRDrawInPort';
468 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
469 
470 
471 {
472  *  HRSetRenderingRect()   *** DEPRECATED ***
473  *
474  *  Availability:
475  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
476  *    CarbonLib:        in CarbonLib 1.1 and later
477  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
478  }
HRSetRenderingRectnull479 function HRSetRenderingRect( hrRef: HRReference; const (*var*) renderingRect: Rect ): OSStatus; external name '_HRSetRenderingRect';
480 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
481 
482 
483 {
484  *  HRGetRenderedImageSize()   *** DEPRECATED ***
485  *
486  *  Availability:
487  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
488  *    CarbonLib:        in CarbonLib 1.1 and later
489  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
490  }
HRGetRenderedImageSizenull491 function HRGetRenderedImageSize( hrRef: HRReference; var renderingSize: Point ): OSStatus; external name '_HRGetRenderedImageSize';
492 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
493 
494 
495 {
496  *  HRGetRenderedImageSize32()   *** DEPRECATED ***
497  *
498  *  Discussion:
499  *    Use this API when the rendered image could have coordinates
500  *    larger than what SInt16 can hold.
501  *
502  *  Parameters:
503  *
504  *    hrRef:
505  *      Reference to the renderer object.
506  *
507  *    height:
508  *      Height of the image is returned in this parameter.
509  *
510  *    width:
511  *      Width of the image is returned in this parameter.
512  *
513  *  Availability:
514  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
515  *    CarbonLib:        in CarbonLib 1.3 and later
516  *    Non-Carbon CFM:   not available
517  }
HRGetRenderedImageSize32null518 function HRGetRenderedImageSize32( hrRef: HRReference; var height: UInt32; var width: UInt32 ): OSStatus; external name '_HRGetRenderedImageSize32';
519 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
520 
521 
522 {
523  *  HRScrollToLocation()   *** DEPRECATED ***
524  *
525  *  Availability:
526  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
527  *    CarbonLib:        in CarbonLib 1.1 and later
528  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
529  }
HRScrollToLocationnull530 function HRScrollToLocation( hrRef: HRReference; var location: Point ): OSStatus; external name '_HRScrollToLocation';
531 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
532 
533 
534 {
535  *  HRScrollToImageLocation32()   *** DEPRECATED ***
536  *
537  *  Discussion:
538  *    Use this API when specifying location to scroll to. Location is
539  *    specified in image space.
540  *
541  *  Parameters:
542  *
543  *    hrRef:
544  *      Reference to the renderer object.
545  *
546  *    h:
547  *      Horizontal location.
548  *
549  *    v:
550  *      Vertical location.
551  *
552  *  Availability:
553  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
554  *    CarbonLib:        in CarbonLib 1.3 and later
555  *    Non-Carbon CFM:   not available
556  }
HRScrollToImageLocation32null557 function HRScrollToImageLocation32( hrRef: HRReference; h: SInt32; v: SInt32 ): OSStatus; external name '_HRScrollToImageLocation32';
558 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
559 
560 
561 {
562  *  HRForceQuickdraw()   *** DEPRECATED ***
563  *
564  *  Availability:
565  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
566  *    CarbonLib:        in CarbonLib 1.1 and later
567  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
568  }
HRForceQuickdrawnull569 function HRForceQuickdraw( hrRef: HRReference; forceQuickdraw: Boolean ): OSStatus; external name '_HRForceQuickdraw';
570 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
571 
572 
573 type
574 	HRScrollbarState = SInt16;
575 const
576 	eHRScrollbarOn = 0;
577 	eHRScrollbarOff = 1;
578 	eHRScrollbarAuto = 2;
579 
580 {
581  *  HRSetScrollbarState()   *** DEPRECATED ***
582  *
583  *  Availability:
584  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
585  *    CarbonLib:        in CarbonLib 1.1 and later
586  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
587  }
HRSetScrollbarStatenull588 function HRSetScrollbarState( hrRef: HRReference; hScrollbarState: HRScrollbarState; vScrollbarState: HRScrollbarState ): OSStatus; external name '_HRSetScrollbarState';
589 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
590 
591 
592 {
593  *  HRSetDrawBorder()   *** DEPRECATED ***
594  *
595  *  Availability:
596  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
597  *    CarbonLib:        in CarbonLib 1.1 and later
598  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
599  }
HRSetDrawBordernull600 function HRSetDrawBorder( hrRef: HRReference; drawBorder: Boolean ): OSStatus; external name '_HRSetDrawBorder';
601 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
602 
603 
604 {
605  *  HRSetGrowboxCutout()   *** DEPRECATED ***
606  *
607  *  Availability:
608  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
609  *    CarbonLib:        in CarbonLib 1.1 and later
610  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
611  }
HRSetGrowboxCutoutnull612 function HRSetGrowboxCutout( hrRef: HRReference; allowCutout: Boolean ): OSStatus; external name '_HRSetGrowboxCutout';
613 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
614 
615 
616 { Navigation }
617 {
618  *  HRGoToFile()   *** DEPRECATED ***
619  *
620  *  Availability:
621  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
622  *    CarbonLib:        in CarbonLib 1.1 and later
623  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
624  }
HRGoToFilenull625 function HRGoToFile( hrRef: HRReference; const (*var*) fsspec_: FSSpec; addToHistory: Boolean; forceRefresh: Boolean ): OSStatus; external name '_HRGoToFile';
626 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
627 
628 
629 {
630  *  HRGoToURL()   *** DEPRECATED ***
631  *
632  *  Availability:
633  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
634  *    CarbonLib:        in CarbonLib 1.1 and later
635  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
636  }
HRGoToURLnull637 function HRGoToURL( hrRef: HRReference; url: ConstCStringPtr; addToHistory: Boolean; forceRefresh: Boolean ): OSStatus; external name '_HRGoToURL';
638 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
639 
640 
641 {
642  *  HRGoToAnchor()   *** DEPRECATED ***
643  *
644  *  Availability:
645  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
646  *    CarbonLib:        in CarbonLib 1.1 and later
647  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
648  }
HRGoToAnchornull649 function HRGoToAnchor( hrRef: HRReference; anchorName: ConstCStringPtr ): OSStatus; external name '_HRGoToAnchor';
650 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
651 
652 
653 {
654  *  HRGoToPtr()   *** DEPRECATED ***
655  *
656  *  Availability:
657  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
658  *    CarbonLib:        in CarbonLib 1.1 and later
659  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
660  }
HRGoToPtrnull661 function HRGoToPtr( hrRef: HRReference; buffer: CStringPtr; bufferSize: UInt32; addToHistory: Boolean; forceRefresh: Boolean ): OSStatus; external name '_HRGoToPtr';
662 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
663 
664 
665 {
666  *  HRGoToFSRef()   *** DEPRECATED ***
667  *
668  *  Discussion:
669  *    Use these API from  a Carbon App instead of using HRGoToFile,
670  *    HRGoToURL, HRGoToAnchor and HRGoToPtr. These APIs are same in
671  *    behavior with their old counter parts. The only difference is
672  *    that they take FSRef, CFURLRef, CFString, and CFData as
673  *    parameters.
674  *
675  *  Parameters:
676  *
677  *    hrRef:
678  *      Reference to the renderer object.
679  *
680  *    fref:
681  *      Reference to HTML file that is be opened and rendered.
682  *
683  *    addToHistory:
684  *      true if this file URL should be added to history.
685  *
686  *    forceRefresh:
687  *      true if the rendering area should be refreshed.
688  *
689  *  Availability:
690  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
691  *    CarbonLib:        in CarbonLib 1.3 and later
692  *    Non-Carbon CFM:   not available
693  }
HRGoToFSRefnull694 function HRGoToFSRef( hrRef: HRReference; const (*var*) fref: FSRef; addToHistory: Boolean; forceRefresh: Boolean ): OSStatus; external name '_HRGoToFSRef';
695 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
696 
697 
698 {
699  *  HRGoToCFURL()   *** DEPRECATED ***
700  *
701  *  Discussion:
702  *    Use these API from  a Carbon App instead of using HRGoToFile,
703  *    HRGoToURL, HRGoToAnchor and HRGoToPtr. These APIs are same in
704  *    behavior with their old counter parts. The only difference is
705  *    that they take FSRef, CFURLRef, CFString, and CFData as
706  *    parameters.
707  *
708  *  Parameters:
709  *
710  *    hrRef:
711  *      Reference to the renderer object.
712  *
713  *    url:
714  *      Reference to url that is be rendered.
715  *
716  *    addToHistory:
717  *      true if this URL should be added to history.
718  *
719  *    forceRefresh:
720  *      true if the rendering area should be refreshed.
721  *
722  *  Availability:
723  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
724  *    CarbonLib:        in CarbonLib 1.3 and later
725  *    Non-Carbon CFM:   not available
726  }
HRGoToCFURLnull727 function HRGoToCFURL( hrRef: HRReference; url: CFURLRef; addToHistory: Boolean; forceRefresh: Boolean ): OSStatus; external name '_HRGoToCFURL';
728 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
729 
730 
731 {
732  *  HRGoToAnchorCFString()   *** DEPRECATED ***
733  *
734  *  Discussion:
735  *    Use these API from  a Carbon App instead of using HRGoToFile,
736  *    HRGoToURL, HRGoToAnchor and HRGoToPtr. These APIs are same in
737  *    behavior with their old counter parts. The only difference is
738  *    that they take FSRef, CFURLRef, CFString, and CFData as
739  *    parameters.
740  *
741  *  Parameters:
742  *
743  *    hrRef:
744  *      Reference to the renderer object.
745  *
746  *    anchorName:
747  *      Name of the anchor to be displayed.
748  *
749  *  Availability:
750  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
751  *    CarbonLib:        in CarbonLib 1.3 and later
752  *    Non-Carbon CFM:   not available
753  }
HRGoToAnchorCFStringnull754 function HRGoToAnchorCFString( hrRef: HRReference; anchorName: CFStringRef ): OSStatus; external name '_HRGoToAnchorCFString';
755 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
756 
757 
758 {
759  *  HRGoToData()   *** DEPRECATED ***
760  *
761  *  Discussion:
762  *    Use these API from  a Carbon App instead of using HRGoToFile,
763  *    HRGoToURL, HRGoToAnchor and HRGoToPtr. These APIs are same in
764  *    behavior with their old counter parts. The only difference is
765  *    that they take FSRef, CFURLRef, CFString, and CFData as
766  *    parameters.
767  *
768  *  Parameters:
769  *
770  *    hrRef:
771  *      Reference to the renderer object.
772  *
773  *    data:
774  *      Reference to data in the memory that is be rendered.
775  *
776  *    addToHistory:
777  *      true if this file URL should be added to history.
778  *
779  *    forceRefresh:
780  *      true if the rendering area should be refreshed.
781  *
782  *  Availability:
783  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
784  *    CarbonLib:        in CarbonLib 1.3 and later
785  *    Non-Carbon CFM:   not available
786  }
HRGoToDatanull787 function HRGoToData( hrRef: HRReference; data: CFDataRef; addToHistory: Boolean; forceRefresh: Boolean ): OSStatus; external name '_HRGoToData';
788 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
789 
790 
791 { Accessors }
792 { either file url or url of <base> tag }
793 {
794  *  HRGetRootURL()   *** DEPRECATED ***
795  *
796  *  Availability:
797  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
798  *    CarbonLib:        in CarbonLib 1.1 and later
799  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
800  }
HRGetRootURLnull801 function HRGetRootURL( hrRef: HRReference; rootURLH: Handle ): OSStatus; external name '_HRGetRootURL';
802 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
803 
804 
805 { url of <base> tag }
806 {
807  *  HRGetBaseURL()   *** DEPRECATED ***
808  *
809  *  Availability:
810  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
811  *    CarbonLib:        in CarbonLib 1.1 and later
812  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
813  }
HRGetBaseURLnull814 function HRGetBaseURL( hrRef: HRReference; baseURLH: Handle ): OSStatus; external name '_HRGetBaseURL';
815 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
816 
817 
818 { file url }
819 {
820  *  HRGetHTMLURL()   *** DEPRECATED ***
821  *
822  *  Availability:
823  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
824  *    CarbonLib:        in CarbonLib 1.1 and later
825  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
826  }
HRGetHTMLURLnull827 function HRGetHTMLURL( hrRef: HRReference; HTMLURLH: Handle ): OSStatus; external name '_HRGetHTMLURL';
828 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
829 
830 
831 {
832  *  HRGetTitle()   *** DEPRECATED ***
833  *
834  *  Availability:
835  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
836  *    CarbonLib:        in CarbonLib 1.1 and later
837  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
838  }
HRGetTitlenull839 function HRGetTitle( hrRef: HRReference; title: StringPtr ): OSStatus; external name '_HRGetTitle';
840 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
841 
842 
843 {
844  *  HRGetHTMLFile()   *** DEPRECATED ***
845  *
846  *  Availability:
847  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
848  *    CarbonLib:        in CarbonLib 1.1 and later
849  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
850  }
HRGetHTMLFilenull851 function HRGetHTMLFile( hrRef: HRReference; var fsspec_: FSSpec ): OSStatus; external name '_HRGetHTMLFile';
852 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
853 
854 
855 {
856  *  HRGetRootURLAsCFString()   *** DEPRECATED ***
857  *
858  *  Discussion:
859  *    Use these API from  a Carbon App instead of using HRGetRootURL,
860  *    HRGetBaseURL, HRGetHTMLURL, HRGetTitle and HRGetHTMLFile. These
861  *    APIs are same in behavior with their old counter parts. The only
862  *    difference is that they take CFString, CFURLRef, and FSRef as
863  *    parameters.
864  *
865  *  Parameters:
866  *
867  *    hrRef:
868  *      Reference to the renderer object.
869  *
870  *    rootString:
871  *      Get CFString equivalent for the root url.
872  *
873  *  Availability:
874  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
875  *    CarbonLib:        in CarbonLib 1.3 and later
876  *    Non-Carbon CFM:   not available
877  }
HRGetRootURLAsCFStringnull878 function HRGetRootURLAsCFString( hrRef: HRReference; var rootString: CFStringRef ): OSStatus; external name '_HRGetRootURLAsCFString';
879 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
880 
881 
882 {
883  *  HRGetBaseURLAsCFString()   *** DEPRECATED ***
884  *
885  *  Discussion:
886  *    Use these API from  a Carbon App instead of using HRGetRootURL,
887  *    HRGetBaseURL, HRGetHTMLURL, HRGetTitle and HRGetHTMLFile. These
888  *    APIs are same in behavior with their old counter parts. The only
889  *    difference is that they take CFString, CFURLRef, and FSRef as
890  *    parameters.
891  *
892  *  Parameters:
893  *
894  *    hrRef:
895  *      Reference to the renderer object.
896  *
897  *    baseString:
898  *      Get CFString equivalent for the base url.
899  *
900  *  Availability:
901  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
902  *    CarbonLib:        in CarbonLib 1.3 and later
903  *    Non-Carbon CFM:   not available
904  }
HRGetBaseURLAsCFStringnull905 function HRGetBaseURLAsCFString( hrRef: HRReference; var baseString: CFStringRef ): OSStatus; external name '_HRGetBaseURLAsCFString';
906 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
907 
908 
909 {
910  *  HRGetHTMLURLAsCFURL()   *** DEPRECATED ***
911  *
912  *  Discussion:
913  *    Use these API from  a Carbon App instead of using HRGetRootURL,
914  *    HRGetBaseURL, HRGetHTMLURL, HRGetTitle and HRGetHTMLFile. These
915  *    APIs are same in behavior with their old counter parts. The only
916  *    difference is that they take CFString, CFURLRef, and FSRef as
917  *    parameters.
918  *
919  *  Parameters:
920  *
921  *    hrRef:
922  *      Reference to the renderer object.
923  *
924  *    theURL:
925  *      Get currently displayed HTML as a CFURL.
926  *
927  *  Availability:
928  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
929  *    CarbonLib:        in CarbonLib 1.3 and later
930  *    Non-Carbon CFM:   not available
931  }
HRGetHTMLURLAsCFURLnull932 function HRGetHTMLURLAsCFURL( hrRef: HRReference; var theURL: CFURLRef ): OSStatus; external name '_HRGetHTMLURLAsCFURL';
933 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
934 
935 
936 {
937  *  HRGetTitleAsCFString()   *** DEPRECATED ***
938  *
939  *  Discussion:
940  *    Use these API from  a Carbon App instead of using HRGetRootURL,
941  *    HRGetBaseURL, HRGetHTMLURL, HRGetTitle and HRGetHTMLFile. These
942  *    APIs are same in behavior with their old counter parts. The only
943  *    difference is that they take CFString, CFURLRef, and FSRef as
944  *    parameters.
945  *
946  *  Parameters:
947  *
948  *    hrRef:
949  *      Reference to the renderer object.
950  *
951  *    title:
952  *      Get title of the currently displayed HTML as a CFString.
953  *
954  *  Availability:
955  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
956  *    CarbonLib:        in CarbonLib 1.3 and later
957  *    Non-Carbon CFM:   not available
958  }
HRGetTitleAsCFStringnull959 function HRGetTitleAsCFString( hrRef: HRReference; var title: CFStringRef ): OSStatus; external name '_HRGetTitleAsCFString';
960 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
961 
962 
963 {
964  *  HRGetHTMLFileAsFSRef()   *** DEPRECATED ***
965  *
966  *  Discussion:
967  *    Use these API from  a Carbon App instead of using HRGetRootURL,
968  *    HRGetBaseURL, HRGetHTMLURL, HRGetTitle and HRGetHTMLFile. These
969  *    APIs are same in behavior with their old counter parts. The only
970  *    difference is that they take CFString, CFURLRef, and FSRef as
971  *    parameters.
972  *
973  *  Parameters:
974  *
975  *    hrRef:
976  *      Reference to the renderer object.
977  *
978  *    fref:
979  *      Get currently displayed HTML as a FSRef.
980  *
981  *  Availability:
982  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
983  *    CarbonLib:        in CarbonLib 1.3 and later
984  *    Non-Carbon CFM:   not available
985  }
HRGetHTMLFileAsFSRefnull986 function HRGetHTMLFileAsFSRef( hrRef: HRReference; var fref: FSRef ): OSStatus; external name '_HRGetHTMLFileAsFSRef';
987 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
988 
989 
990 { Utilities }
991 {
992  *  HRUtilCreateFullURL()   *** DEPRECATED ***
993  *
994  *  Availability:
995  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
996  *    CarbonLib:        in CarbonLib 1.1 and later
997  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
998  }
HRUtilCreateFullURLnull999 function HRUtilCreateFullURL( rootURL: ConstCStringPtr; linkURL: ConstCStringPtr; fullURLH: Handle ): OSStatus; external name '_HRUtilCreateFullURL';
1000 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1001 
1002 
1003 {
1004  *  HRUtilGetFSSpecFromURL()   *** DEPRECATED ***
1005  *
1006  *  Availability:
1007  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1008  *    CarbonLib:        in CarbonLib 1.1 and later
1009  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1010  }
HRUtilGetFSSpecFromURLnull1011 function HRUtilGetFSSpecFromURL( rootURL: ConstCStringPtr; linkURL: ConstCStringPtr; var destSpec: FSSpec ): OSStatus; external name '_HRUtilGetFSSpecFromURL';
1012 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1013 
1014 
1015 { urlHandle should be valid on input }
1016 {
1017  *  HRUtilGetURLFromFSSpec()   *** DEPRECATED ***
1018  *
1019  *  Availability:
1020  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1021  *    CarbonLib:        in CarbonLib 1.1 and later
1022  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1023  }
HRUtilGetURLFromFSSpecnull1024 function HRUtilGetURLFromFSSpec( const (*var*) fsspec_: FSSpec; urlHandle: Handle ): OSStatus; external name '_HRUtilGetURLFromFSSpec';
1025 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1026 
1027 
1028 {
1029  *  HRUtilCreateFullCFURL()   *** DEPRECATED ***
1030  *
1031  *  Discussion:
1032  *    Use these API from  a Carbon App instead of using
1033  *    HRUtilCreateFullURL, HRUtilGetFSSpecFromURL,
1034  *    HRUtilGetURLFromFSSpec. These APIs are same in behavior with
1035  *    their old counter parts. The only difference is that they take
1036  *    CFURLRef, and FSRef as parameters.
1037  *
1038  *  Parameters:
1039  *
1040  *    rootString:
1041  *      a CFString for the root.
1042  *
1043  *    linkString:
1044  *      a CFString for a partial link.
1045  *
1046  *    url:
1047  *      Fully qualified URL is returned after attaching a link string
1048  *      to the root.
1049  *
1050  *  Availability:
1051  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1052  *    CarbonLib:        in CarbonLib 1.3 and later
1053  *    Non-Carbon CFM:   not available
1054  }
HRUtilCreateFullCFURLnull1055 function HRUtilCreateFullCFURL( rootString: CFStringRef; linkString: CFStringRef; var url: CFURLRef ): OSStatus; external name '_HRUtilCreateFullCFURL';
1056 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1057 
1058 
1059 {
1060  *  HRUtilGetFSRefFromURL()   *** DEPRECATED ***
1061  *
1062  *  Discussion:
1063  *    Use these API from  a Carbon App instead of using
1064  *    HRUtilCreateFullURL, HRUtilGetFSSpecFromURL,
1065  *    HRUtilGetURLFromFSSpec. These APIs are same in behavior with
1066  *    their old counter parts. The only difference is that they take
1067  *    CFURLRef, and FSRef as parameters.
1068  *
1069  *  Parameters:
1070  *
1071  *    rootString:
1072  *      a CFString for the root.
1073  *
1074  *    linkString:
1075  *      a CFString for a partial link.
1076  *
1077  *    destRef:
1078  *      File reference is returned for the complete path created after
1079  *      attaching link string to the root. If File does not exist,
1080  *      fnfErr is returned as a function result.
1081  *
1082  *  Availability:
1083  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1084  *    CarbonLib:        in CarbonLib 1.3 and later
1085  *    Non-Carbon CFM:   not available
1086  }
HRUtilGetFSRefFromURLnull1087 function HRUtilGetFSRefFromURL( rootString: CFStringRef; linkString: CFStringRef; var destRef: FSRef ): OSStatus; external name '_HRUtilGetFSRefFromURL';
1088 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1089 
1090 
1091 {
1092  *  HRUtilGetURLFromFSRef()   *** DEPRECATED ***
1093  *
1094  *  Discussion:
1095  *    Use these API from  a Carbon App instead of using
1096  *    HRUtilCreateFullURL, HRUtilGetFSSpecFromURL,
1097  *    HRUtilGetURLFromFSSpec. These APIs are same in behavior with
1098  *    their old counter parts. The only difference is that they take
1099  *    CFURLRef, and FSRef as parameters.
1100  *
1101  *  Parameters:
1102  *
1103  *    fileRef:
1104  *      Refernce to a file whose URL is desired.
1105  *
1106  *    url:
1107  *      a fully qualified URL is returned in this parameter. The
1108  *      returned URL gives the path of the file specified in the above
1109  *      parameter.
1110  *
1111  *  Availability:
1112  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1113  *    CarbonLib:        in CarbonLib 1.3 and later
1114  *    Non-Carbon CFM:   not available
1115  }
HRUtilGetURLFromFSRefnull1116 function HRUtilGetURLFromFSRef( const (*var*) fileRef: FSRef; var url: CFURLRef ): OSStatus; external name '_HRUtilGetURLFromFSRef';
1117 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1118 
1119 
1120 {
1121     Visited links
1122 
1123     If you register a function here, it will be called to determine
1124     whether or not the given URL has been visited. It should return
1125     true if the URL has been visited.
1126 
1127     In addition to the URLs that the application may add to the list
1128     of visited links, it should also add URLs that the user clicks
1129     on. These URLs can be caught by the "add URL to history" callback
1130     below.
1131  }
1132 type
urlnull1133 	HRWasURLVisitedProcPtr = function( url: ConstCStringPtr; refCon: UnivPtr ): Boolean;
1134 	HRWasURLVisitedUPP = HRWasURLVisitedProcPtr;
1135 {
1136  *  HRRegisterWasURLVisitedUPP()   *** DEPRECATED ***
1137  *
1138  *  Availability:
1139  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1140  *    CarbonLib:        in CarbonLib 1.1 and later
1141  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1142  }
1143 procedure HRRegisterWasURLVisitedUPP( inWasURLVisitedUPP: HRWasURLVisitedUPP; hrRef: HRReference; inRefCon: UnivPtr ); external name '_HRRegisterWasURLVisitedUPP';
1144 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1145 
1146 
1147 {
1148  *  HRUnregisterWasURLVisitedUPP()   *** DEPRECATED ***
1149  *
1150  *  Availability:
1151  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1152  *    CarbonLib:        in CarbonLib 1.1 and later
1153  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1154  }
1155 procedure HRUnregisterWasURLVisitedUPP( hrRef: HRReference ); external name '_HRUnregisterWasURLVisitedUPP';
1156 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1157 
1158 
1159 {
1160     Use these API from  a Carbon App instead of using HRRegisterWasURLVisitedUPP, HRUnregisterWasURLVisitedUPP.
1161     These APIs are same in behavior with their old counter parts. The only difference is that they take
1162     CFURLRef as parameters.
1163 
1164 }
1165 type
urlnull1166 	HRWasCFURLVisitedProcPtr = function( url: CFURLRef; refCon: UnivPtr ): Boolean;
1167 	HRWasCFURLVisitedUPP = HRWasCFURLVisitedProcPtr;
1168 {
1169  *  HRRegisterWasCFURLVisitedUPP()   *** DEPRECATED ***
1170  *
1171  *  Availability:
1172  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1173  *    CarbonLib:        in CarbonLib 1.3 and later
1174  *    Non-Carbon CFM:   not available
1175  }
1176 procedure HRRegisterWasCFURLVisitedUPP( inWasCFURLVisitedUPP: HRWasCFURLVisitedUPP; hrRef: HRReference; inRefCon: UnivPtr ); external name '_HRRegisterWasCFURLVisitedUPP';
1177 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1178 
1179 
1180 {
1181  *  HRUnregisterWasCFURLVisitedUPP()   *** DEPRECATED ***
1182  *
1183  *  Availability:
1184  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1185  *    CarbonLib:        in CarbonLib 1.3 and later
1186  *    Non-Carbon CFM:   not available
1187  }
1188 procedure HRUnregisterWasCFURLVisitedUPP( hrRef: HRReference ); external name '_HRUnregisterWasCFURLVisitedUPP';
1189 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1190 
1191 
1192 {
1193     New URL
1194 
1195     If you register a function here, it will be called every time
1196     the renderer is going to display a new URL. A few examples of how
1197     you might use this include...
1198 
1199         (a) maintaining a history of URLs
1200         (b) maintainging a list of visited links
1201         (c) setting a window title based on the new URL
1202 }
1203 type
urlnull1204 	HRNewURLProcPtr = function( url: ConstCStringPtr; targetFrame: ConstCStringPtr; addToHistory: Boolean; refCon: UnivPtr ): OSStatus;
1205 	HRNewURLUPP = HRNewURLProcPtr;
1206 {
1207  *  HRRegisterNewURLUPP()   *** DEPRECATED ***
1208  *
1209  *  Availability:
1210  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1211  *    CarbonLib:        in CarbonLib 1.1 and later
1212  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1213  }
1214 procedure HRRegisterNewURLUPP( inNewURLUPP: HRNewURLUPP; hrRef: HRReference; inRefCon: UnivPtr ); external name '_HRRegisterNewURLUPP';
1215 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1216 
1217 
1218 {
1219  *  HRUnregisterNewURLUPP()   *** DEPRECATED ***
1220  *
1221  *  Availability:
1222  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1223  *    CarbonLib:        in CarbonLib 1.1 and later
1224  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1225  }
1226 procedure HRUnregisterNewURLUPP( hrRef: HRReference ); external name '_HRUnregisterNewURLUPP';
1227 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1228 
1229 
1230 {
1231     Use these API from  a Carbon App instead of using HRRegisterNewURLUPP, HRUnregisterNewURLUPP.
1232     These APIs are same in behavior with their old counter parts. The only difference is that they take
1233     CFURLRef as parameters.
1234 }
1235 type
urlnull1236 	HRNewCFURLProcPtr = function( url: CFURLRef; targetString: CFStringRef; addToHistory: Boolean; refCon: UnivPtr ): OSStatus;
1237 	HRNewCFURLUPP = HRNewCFURLProcPtr;
1238 {
1239  *  HRRegisterNewCFURLUPP()   *** DEPRECATED ***
1240  *
1241  *  Availability:
1242  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1243  *    CarbonLib:        in CarbonLib 1.3 and later
1244  *    Non-Carbon CFM:   not available
1245  }
1246 procedure HRRegisterNewCFURLUPP( inURLUPP: HRNewCFURLUPP; hrRef: HRReference; inRefCon: UnivPtr ); external name '_HRRegisterNewCFURLUPP';
1247 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1248 
1249 
1250 {
1251  *  HRUnregisterNewCFURLUPP()   *** DEPRECATED ***
1252  *
1253  *  Availability:
1254  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1255  *    CarbonLib:        in CarbonLib 1.3 and later
1256  *    Non-Carbon CFM:   not available
1257  }
1258 procedure HRUnregisterNewCFURLUPP( hrRef: HRReference ); external name '_HRUnregisterNewCFURLUPP';
1259 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1260 
1261 
1262 {
1263     URL to FSSpec function
1264 
1265     If you register a function here, it will be called every time
1266     the renderer is going to locate a file. The function will be
1267     passed an enum indicating the type of file being asked for.
1268  }
1269 type
1270 	URLSourceType = UInt16;
1271 const
1272 	kHRLookingForHTMLSource = 1;
1273 	kHRLookingForImage = 2;
1274 	kHRLookingForEmbedded = 3;
1275 	kHRLookingForImageMap = 4;
1276 	kHRLookingForFrame = 5;
1277 
1278 type
rootURLnull1279 	HRURLToFSSpecProcPtr = function( rootURL: ConstCStringPtr; linkURL: ConstCStringPtr; var fsspec_: FSSpec; urlSourceType_: URLSourceType; refCon: UnivPtr ): OSStatus;
1280 	HRURLToFSSpecUPP = HRURLToFSSpecProcPtr;
1281 {
1282  *  HRRegisterURLToFSSpecUPP()   *** DEPRECATED ***
1283  *
1284  *  Availability:
1285  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1286  *    CarbonLib:        in CarbonLib 1.1 and later
1287  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1288  }
1289 procedure HRRegisterURLToFSSpecUPP( inURLToFSSpecUPP: HRURLToFSSpecUPP; hrRef: HRReference; inRefCon: UnivPtr ); external name '_HRRegisterURLToFSSpecUPP';
1290 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1291 
1292 
1293 {
1294  *  HRUnregisterURLToFSSpecUPP()   *** DEPRECATED ***
1295  *
1296  *  Availability:
1297  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1298  *    CarbonLib:        in CarbonLib 1.1 and later
1299  *    Non-Carbon CFM:   in HTMLRenderingLib 1.0 and later
1300  }
1301 procedure HRUnregisterURLToFSSpecUPP( hrRef: HRReference ); external name '_HRUnregisterURLToFSSpecUPP';
1302 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1303 
1304 
1305 {
1306     Use these API from  a Carbon App instead of using HRRegisterURLToFSSpecUPP, HRUnregisterURLToFSSpecUPP.
1307     These APIs are same in behavior with their old counter parts. The only difference is that they take
1308     FSRef as parameters.
1309 }
1310 type
rootStringnull1311 	HRURLToFSRefProcPtr = function( rootString: CFStringRef; linkString: CFStringRef; var fref: FSRef; urlSourceType_: URLSourceType; refCon: UnivPtr ): OSStatus;
1312 	HRURLToFSRefUPP = HRURLToFSRefProcPtr;
1313 {
1314  *  HRRegisterURLToFSRefUPP()   *** DEPRECATED ***
1315  *
1316  *  Availability:
1317  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1318  *    CarbonLib:        in CarbonLib 1.3 and later
1319  *    Non-Carbon CFM:   not available
1320  }
1321 procedure HRRegisterURLToFSRefUPP( inURLToFSRefUPP: HRURLToFSRefUPP; hrRef: HRReference; inRefCon: UnivPtr ); external name '_HRRegisterURLToFSRefUPP';
1322 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1323 
1324 
1325 {
1326  *  HRUnregisterURLToFSRefUPP()   *** DEPRECATED ***
1327  *
1328  *  Availability:
1329  *    Mac OS X:         in version 10.0 and later in Carbon.framework but deprecated in 10.4
1330  *    CarbonLib:        in CarbonLib 1.3 and later
1331  *    Non-Carbon CFM:   not available
1332  }
1333 procedure HRUnregisterURLToFSRefUPP( hrRef: HRReference ); external name '_HRUnregisterURLToFSRefUPP';
1334 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1335 
1336 
1337 {
1338  *  NewHRWasURLVisitedUPP()
1339  *
1340  *  Availability:
1341  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1342  *    CarbonLib:        in CarbonLib 1.1 and later
1343  *    Non-Carbon CFM:   available as macro/inline
1344  }
NewHRWasURLVisitedUPPnull1345 function NewHRWasURLVisitedUPP( userRoutine: HRWasURLVisitedProcPtr ): HRWasURLVisitedUPP; external name '_NewHRWasURLVisitedUPP';
1346 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1347 
1348 {
1349  *  NewHRWasCFURLVisitedUPP()
1350  *
1351  *  Availability:
1352  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1353  *    CarbonLib:        in CarbonLib 1.3 and later
1354  *    Non-Carbon CFM:   not available
1355  }
NewHRWasCFURLVisitedUPPnull1356 function NewHRWasCFURLVisitedUPP( userRoutine: HRWasCFURLVisitedProcPtr ): HRWasCFURLVisitedUPP; external name '_NewHRWasCFURLVisitedUPP';
1357 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1358 
1359 {
1360  *  NewHRNewURLUPP()
1361  *
1362  *  Availability:
1363  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1364  *    CarbonLib:        in CarbonLib 1.1 and later
1365  *    Non-Carbon CFM:   available as macro/inline
1366  }
NewHRNewURLUPPnull1367 function NewHRNewURLUPP( userRoutine: HRNewURLProcPtr ): HRNewURLUPP; external name '_NewHRNewURLUPP';
1368 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1369 
1370 {
1371  *  NewHRNewCFURLUPP()
1372  *
1373  *  Availability:
1374  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1375  *    CarbonLib:        in CarbonLib 1.3 and later
1376  *    Non-Carbon CFM:   not available
1377  }
NewHRNewCFURLUPPnull1378 function NewHRNewCFURLUPP( userRoutine: HRNewCFURLProcPtr ): HRNewCFURLUPP; external name '_NewHRNewCFURLUPP';
1379 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1380 
1381 {
1382  *  NewHRURLToFSSpecUPP()
1383  *
1384  *  Availability:
1385  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1386  *    CarbonLib:        in CarbonLib 1.1 and later
1387  *    Non-Carbon CFM:   available as macro/inline
1388  }
NewHRURLToFSSpecUPPnull1389 function NewHRURLToFSSpecUPP( userRoutine: HRURLToFSSpecProcPtr ): HRURLToFSSpecUPP; external name '_NewHRURLToFSSpecUPP';
1390 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1391 
1392 {
1393  *  NewHRURLToFSRefUPP()
1394  *
1395  *  Availability:
1396  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1397  *    CarbonLib:        in CarbonLib 1.3 and later
1398  *    Non-Carbon CFM:   not available
1399  }
NewHRURLToFSRefUPPnull1400 function NewHRURLToFSRefUPP( userRoutine: HRURLToFSRefProcPtr ): HRURLToFSRefUPP; external name '_NewHRURLToFSRefUPP';
1401 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1402 
1403 {
1404  *  DisposeHRWasURLVisitedUPP()
1405  *
1406  *  Availability:
1407  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1408  *    CarbonLib:        in CarbonLib 1.1 and later
1409  *    Non-Carbon CFM:   available as macro/inline
1410  }
1411 procedure DisposeHRWasURLVisitedUPP( userUPP: HRWasURLVisitedUPP ); external name '_DisposeHRWasURLVisitedUPP';
1412 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1413 
1414 {
1415  *  DisposeHRWasCFURLVisitedUPP()
1416  *
1417  *  Availability:
1418  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1419  *    CarbonLib:        in CarbonLib 1.3 and later
1420  *    Non-Carbon CFM:   not available
1421  }
1422 procedure DisposeHRWasCFURLVisitedUPP( userUPP: HRWasCFURLVisitedUPP ); external name '_DisposeHRWasCFURLVisitedUPP';
1423 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1424 
1425 {
1426  *  DisposeHRNewURLUPP()
1427  *
1428  *  Availability:
1429  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1430  *    CarbonLib:        in CarbonLib 1.1 and later
1431  *    Non-Carbon CFM:   available as macro/inline
1432  }
1433 procedure DisposeHRNewURLUPP( userUPP: HRNewURLUPP ); external name '_DisposeHRNewURLUPP';
1434 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1435 
1436 {
1437  *  DisposeHRNewCFURLUPP()
1438  *
1439  *  Availability:
1440  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1441  *    CarbonLib:        in CarbonLib 1.3 and later
1442  *    Non-Carbon CFM:   not available
1443  }
1444 procedure DisposeHRNewCFURLUPP( userUPP: HRNewCFURLUPP ); external name '_DisposeHRNewCFURLUPP';
1445 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1446 
1447 {
1448  *  DisposeHRURLToFSSpecUPP()
1449  *
1450  *  Availability:
1451  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1452  *    CarbonLib:        in CarbonLib 1.1 and later
1453  *    Non-Carbon CFM:   available as macro/inline
1454  }
1455 procedure DisposeHRURLToFSSpecUPP( userUPP: HRURLToFSSpecUPP ); external name '_DisposeHRURLToFSSpecUPP';
1456 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1457 
1458 {
1459  *  DisposeHRURLToFSRefUPP()
1460  *
1461  *  Availability:
1462  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1463  *    CarbonLib:        in CarbonLib 1.3 and later
1464  *    Non-Carbon CFM:   not available
1465  }
1466 procedure DisposeHRURLToFSRefUPP( userUPP: HRURLToFSRefUPP ); external name '_DisposeHRURLToFSRefUPP';
1467 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1468 
1469 {
1470  *  InvokeHRWasURLVisitedUPP()
1471  *
1472  *  Availability:
1473  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1474  *    CarbonLib:        in CarbonLib 1.1 and later
1475  *    Non-Carbon CFM:   available as macro/inline
1476  }
InvokeHRWasURLVisitedUPPnull1477 function InvokeHRWasURLVisitedUPP( url: ConstCStringPtr; refCon: UnivPtr; userUPP: HRWasURLVisitedUPP ): Boolean; external name '_InvokeHRWasURLVisitedUPP';
1478 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1479 
1480 {
1481  *  InvokeHRWasCFURLVisitedUPP()
1482  *
1483  *  Availability:
1484  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1485  *    CarbonLib:        in CarbonLib 1.3 and later
1486  *    Non-Carbon CFM:   not available
1487  }
InvokeHRWasCFURLVisitedUPPnull1488 function InvokeHRWasCFURLVisitedUPP( url: CFURLRef; refCon: UnivPtr; userUPP: HRWasCFURLVisitedUPP ): Boolean; external name '_InvokeHRWasCFURLVisitedUPP';
1489 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1490 
1491 {
1492  *  InvokeHRNewURLUPP()
1493  *
1494  *  Availability:
1495  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1496  *    CarbonLib:        in CarbonLib 1.1 and later
1497  *    Non-Carbon CFM:   available as macro/inline
1498  }
InvokeHRNewURLUPPnull1499 function InvokeHRNewURLUPP( url: ConstCStringPtr; targetFrame: ConstCStringPtr; addToHistory: Boolean; refCon: UnivPtr; userUPP: HRNewURLUPP ): OSStatus; external name '_InvokeHRNewURLUPP';
1500 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1501 
1502 {
1503  *  InvokeHRNewCFURLUPP()
1504  *
1505  *  Availability:
1506  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1507  *    CarbonLib:        in CarbonLib 1.3 and later
1508  *    Non-Carbon CFM:   not available
1509  }
InvokeHRNewCFURLUPPnull1510 function InvokeHRNewCFURLUPP( url: CFURLRef; targetString: CFStringRef; addToHistory: Boolean; refCon: UnivPtr; userUPP: HRNewCFURLUPP ): OSStatus; external name '_InvokeHRNewCFURLUPP';
1511 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1512 
1513 {
1514  *  InvokeHRURLToFSSpecUPP()
1515  *
1516  *  Availability:
1517  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1518  *    CarbonLib:        in CarbonLib 1.1 and later
1519  *    Non-Carbon CFM:   available as macro/inline
1520  }
InvokeHRURLToFSSpecUPPnull1521 function InvokeHRURLToFSSpecUPP( rootURL: ConstCStringPtr; linkURL: ConstCStringPtr; var fsspec_: FSSpec; urlSourceType_: URLSourceType; refCon: UnivPtr; userUPP: HRURLToFSSpecUPP ): OSStatus; external name '_InvokeHRURLToFSSpecUPP';
1522 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1523 
1524 {
1525  *  InvokeHRURLToFSRefUPP()
1526  *
1527  *  Availability:
1528  *    Mac OS X:         in version 10.0 and later in Carbon.framework
1529  *    CarbonLib:        in CarbonLib 1.3 and later
1530  *    Non-Carbon CFM:   not available
1531  }
InvokeHRURLToFSRefUPPnull1532 function InvokeHRURLToFSRefUPP( rootString: CFStringRef; linkString: CFStringRef; var fref: FSRef; urlSourceType_: URLSourceType; refCon: UnivPtr; userUPP: HRURLToFSRefUPP ): OSStatus; external name '_InvokeHRURLToFSRefUPP';
1533 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_4 *)
1534 
1535 {$endc} {TARGET_OS_MAC}
1536 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
1537 
1538 end.
1539 {$endc} {not MACOSALLINCLUDE}
1540