1 {
2      File:       HIToolbox/Lists.h
3 
4      Contains:   List Manager Interfaces.
5 
6      Version:    HIToolbox-624~3
7 
8      Copyright:  � 1985-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:  Peter N Lewis, <peter@stairways.com.au>, August 2005 }
17 {       Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2009 }
18 {       Pascal Translation Updated:  Jonas Maebe, <jonas@freepascal.org>, October 2012 }
19 {
20     Modified for use with Free Pascal
21     Version 308
22     Please report any bugs to <gpc@microbizz.nl>
23 }
24 
25 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
26 {$mode macpas}
27 {$modeswitch cblocks}
28 {$packenum 1}
29 {$macro on}
30 {$inline on}
31 {$calling mwpascal}
32 
33 unit Lists;
34 interface
35 {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
36 {$setc GAP_INTERFACES_VERSION := $0308}
37 
38 {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
39     {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
40 {$endc}
41 
42 {$ifc defined CPUPOWERPC and defined CPUI386}
43 	{$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
44 {$endc}
45 {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
46 	{$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
47 {$endc}
48 
49 {$ifc not defined __ppc__ and defined CPUPOWERPC32}
50 	{$setc __ppc__ := 1}
51 {$elsec}
52 	{$setc __ppc__ := 0}
53 {$endc}
54 {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
55 	{$setc __ppc64__ := 1}
56 {$elsec}
57 	{$setc __ppc64__ := 0}
58 {$endc}
59 {$ifc not defined __i386__ and defined CPUI386}
60 	{$setc __i386__ := 1}
61 {$elsec}
62 	{$setc __i386__ := 0}
63 {$endc}
64 {$ifc not defined __x86_64__ and defined CPUX86_64}
65 	{$setc __x86_64__ := 1}
66 {$elsec}
67 	{$setc __x86_64__ := 0}
68 {$endc}
69 {$ifc not defined __arm__ and defined CPUARM}
70 	{$setc __arm__ := 1}
71 {$elsec}
72 	{$setc __arm__ := 0}
73 {$endc}
74 {$ifc not defined __arm64__ and defined CPUAARCH64}
75   {$setc __arm64__ := 1}
76 {$elsec}
77   {$setc __arm64__ := 0}
78 {$endc}
79 
80 {$ifc defined cpu64}
81   {$setc __LP64__ := 1}
82 {$elsec}
83   {$setc __LP64__ := 0}
84 {$endc}
85 
86 
87 {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
88 	{$error Conflicting definitions for __ppc__ and __i386__}
89 {$endc}
90 
91 {$ifc defined __ppc__ and __ppc__}
92 	{$setc TARGET_CPU_PPC := TRUE}
93 	{$setc TARGET_CPU_PPC64 := FALSE}
94 	{$setc TARGET_CPU_X86 := FALSE}
95 	{$setc TARGET_CPU_X86_64 := FALSE}
96 	{$setc TARGET_CPU_ARM := FALSE}
97 	{$setc TARGET_CPU_ARM64 := FALSE}
98 	{$setc TARGET_OS_MAC := TRUE}
99 	{$setc TARGET_OS_IPHONE := FALSE}
100 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
101 	{$setc TARGET_OS_EMBEDDED := FALSE}
102 {$elifc defined __ppc64__ and __ppc64__}
103 	{$setc TARGET_CPU_PPC := FALSE}
104 	{$setc TARGET_CPU_PPC64 := TRUE}
105 	{$setc TARGET_CPU_X86 := FALSE}
106 	{$setc TARGET_CPU_X86_64 := FALSE}
107 	{$setc TARGET_CPU_ARM := FALSE}
108 	{$setc TARGET_CPU_ARM64 := FALSE}
109 	{$setc TARGET_OS_MAC := TRUE}
110 	{$setc TARGET_OS_IPHONE := FALSE}
111 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
112 	{$setc TARGET_OS_EMBEDDED := FALSE}
113 {$elifc defined __i386__ and __i386__}
114 	{$setc TARGET_CPU_PPC := FALSE}
115 	{$setc TARGET_CPU_PPC64 := FALSE}
116 	{$setc TARGET_CPU_X86 := TRUE}
117 	{$setc TARGET_CPU_X86_64 := FALSE}
118 	{$setc TARGET_CPU_ARM := FALSE}
119 	{$setc TARGET_CPU_ARM64 := FALSE}
120 {$ifc defined iphonesim}
121  	{$setc TARGET_OS_MAC := FALSE}
122 	{$setc TARGET_OS_IPHONE := TRUE}
123 	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
124 {$elsec}
125 	{$setc TARGET_OS_MAC := TRUE}
126 	{$setc TARGET_OS_IPHONE := FALSE}
127 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
128 {$endc}
129 	{$setc TARGET_OS_EMBEDDED := FALSE}
130 {$elifc defined __x86_64__ and __x86_64__}
131 	{$setc TARGET_CPU_PPC := FALSE}
132 	{$setc TARGET_CPU_PPC64 := FALSE}
133 	{$setc TARGET_CPU_X86 := FALSE}
134 	{$setc TARGET_CPU_X86_64 := TRUE}
135 	{$setc TARGET_CPU_ARM := FALSE}
136 	{$setc TARGET_CPU_ARM64 := FALSE}
137 {$ifc defined iphonesim}
138  	{$setc TARGET_OS_MAC := FALSE}
139 	{$setc TARGET_OS_IPHONE := TRUE}
140 	{$setc TARGET_IPHONE_SIMULATOR := TRUE}
141 {$elsec}
142 	{$setc TARGET_OS_MAC := TRUE}
143 	{$setc TARGET_OS_IPHONE := FALSE}
144 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
145 {$endc}
146 	{$setc TARGET_OS_EMBEDDED := FALSE}
147 {$elifc defined __arm__ and __arm__}
148 	{$setc TARGET_CPU_PPC := FALSE}
149 	{$setc TARGET_CPU_PPC64 := FALSE}
150 	{$setc TARGET_CPU_X86 := FALSE}
151 	{$setc TARGET_CPU_X86_64 := FALSE}
152 	{$setc TARGET_CPU_ARM := TRUE}
153 	{$setc TARGET_CPU_ARM64 := FALSE}
154 	{$setc TARGET_OS_MAC := FALSE}
155 	{$setc TARGET_OS_IPHONE := TRUE}
156 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
157 	{$setc TARGET_OS_EMBEDDED := TRUE}
158 {$elifc defined __arm64__ and __arm64__}
159 	{$setc TARGET_CPU_PPC := FALSE}
160 	{$setc TARGET_CPU_PPC64 := FALSE}
161 	{$setc TARGET_CPU_X86 := FALSE}
162 	{$setc TARGET_CPU_X86_64 := FALSE}
163 	{$setc TARGET_CPU_ARM := FALSE}
164 	{$setc TARGET_CPU_ARM64 := TRUE}
165 {$ifc defined ios}
166 	{$setc TARGET_OS_MAC := FALSE}
167 	{$setc TARGET_OS_IPHONE := TRUE}
168 	{$setc TARGET_OS_EMBEDDED := TRUE}
169 {$elsec}
170 	{$setc TARGET_OS_MAC := TRUE}
171 	{$setc TARGET_OS_IPHONE := FALSE}
172 	{$setc TARGET_OS_EMBEDDED := FALSE}
173 {$endc}
174 	{$setc TARGET_IPHONE_SIMULATOR := FALSE}
175 {$elsec}
176 	{$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ nor __arm64__ is defined.}
177 {$endc}
178 
179 {$ifc defined __LP64__ and __LP64__ }
180   {$setc TARGET_CPU_64 := TRUE}
181 {$elsec}
182   {$setc TARGET_CPU_64 := FALSE}
183 {$endc}
184 
185 {$ifc defined FPC_BIG_ENDIAN}
186 	{$setc TARGET_RT_BIG_ENDIAN := TRUE}
187 	{$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
188 {$elifc defined FPC_LITTLE_ENDIAN}
189 	{$setc TARGET_RT_BIG_ENDIAN := FALSE}
190 	{$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
191 {$elsec}
192 	{$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
193 {$endc}
194 {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
195 {$setc CALL_NOT_IN_CARBON := FALSE}
196 {$setc OLDROUTINENAMES := FALSE}
197 {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
198 {$setc OPAQUE_UPP_TYPES := TRUE}
199 {$setc OTCARBONAPPLICATION := TRUE}
200 {$setc OTKERNEL := FALSE}
201 {$setc PM_USE_SESSION_APIS := TRUE}
202 {$setc TARGET_API_MAC_CARBON := TRUE}
203 {$setc TARGET_API_MAC_OS8 := FALSE}
204 {$setc TARGET_API_MAC_OSX := TRUE}
205 {$setc TARGET_CARBON := TRUE}
206 {$setc TARGET_CPU_68K := FALSE}
207 {$setc TARGET_CPU_MIPS := FALSE}
208 {$setc TARGET_CPU_SPARC := FALSE}
209 {$setc TARGET_OS_UNIX := FALSE}
210 {$setc TARGET_OS_WIN32 := FALSE}
211 {$setc TARGET_RT_MAC_68881 := FALSE}
212 {$setc TARGET_RT_MAC_CFM := FALSE}
213 {$setc TARGET_RT_MAC_MACHO := TRUE}
214 {$setc TYPED_FUNCTION_POINTERS := TRUE}
215 {$setc TYPE_BOOL := FALSE}
216 {$setc TYPE_EXTENDED := FALSE}
217 {$setc TYPE_LONGLONG := TRUE}
218 uses MacTypes,Events,QuickdrawTypes,Controls,HIObject;
219 {$endc} {not MACOSALLINCLUDE}
220 
221 
222 {$ifc TARGET_OS_MAC}
223 
224 {$ALIGN MAC68K}
225 
226 {
227  *  List Manager
228  *
229  *  Discussion:
230  *    The List Manager is deprecated in Mac OS X 10.5 and later, and is
231  *    not included in the 64-bit version of HIToolbox. Applications
232  *    should use the Data Browser instead of the List Manager.
233  }
234 type
235 	Cell = Point;
236 	CellPtr = ^Cell;
237 type
238 	ListBounds = Rect;
239 	ListBoundsPtr = ^ListBounds;
240 	DataArray = packed array [0..32000] of char;
241 type
242 	DataPtr = ^DataArray;
243 	DataHandle = ^DataPtr;
aPtrnull244 	ListSearchProcPtr = function( aPtr: Ptr; bPtr: Ptr; aLen: SInt16; bLen: SInt16 ): SInt16;
Booleannull245 	ListClickLoopProcPtr = function: Boolean;
246 	ListSearchUPP = ListSearchProcPtr;
247 	ListClickLoopUPP = ListClickLoopProcPtr;
248 	ListRecPtr = ^ListRec;
249 	ListRec = record
250 		rView: Rect;                  { in Carbon use Get/SetListViewBounds}
251 		port: GrafPtr;                   { in Carbon use Get/SetListPort}
252 		indent: Point;                 { in Carbon use Get/SetListCellIndent}
253 		cellSize: Point;               { in Carbon use Get/SetListCellSize}
254 		visible: ListBounds;                { in Carbon use GetListVisibleCells}
255 		vScroll: ControlRef;                { in Carbon use GetListVerticalScrollBar}
256 		hScroll: ControlRef;                { in Carbon use GetListHorizontalScrollBar}
257 		selFlags: SInt8;               { in Carbon use Get/SetListSelectionFlags}
258 		lActive: Boolean;                { in Carbon use LActivate, GetListActive}
259 		lReserved: SInt8;              { not supported in Carbon }
260 		listFlags: SInt8;              { in Carbon use Get/SetListFlags }
261 		clikTime: SIGNEDLONG;               { in Carbon use Get/SetListClickTime}
262 		clikLoc: Point;                { in Carbon use GetListClickLocation}
263 		mouseLoc: Point;               { in Carbon use GetListMouseLocation}
264 		lClickLoop: ListClickLoopUPP;             { in Carbon use Get/SetListClickLoop}
265 		lastClick: Cell;              { in Carbon use SetListLastClick}
266 		refCon: SIGNEDLONG;                 { in Carbon use Get/SetListRefCon}
267 		listDefProc: Handle;            { not supported in Carbon }
268 		userHandle: Handle;             { in Carbon use Get/SetListUserHandle}
269 		dataBounds: ListBounds;             { in Carbon use GetListDataBounds}
270 		cells: DataHandle;                  { in Carbon use LGet/SetCell}
271 		maxIndex: SInt16;               { in Carbon use LGet/SetCell}
272 		cellArray: array [0..0] of SInt16; { in Carbon use LGet/SetCell}
273 	end;
274 type
275 	ListPtr = ListRecPtr;
276 type
277 	ListHandle = ^ListPtr;
278 { ListRef is obsolete.  Use ListHandle. }
279 type
280 	ListRef = ListHandle;
281 
282 
283 const
284 { ListRec.listFlags bits}
285 	lDrawingModeOffBit = 3;
286 	lDoVAutoscrollBit = 1;
287 	lDoHAutoscrollBit = 0;
288 
289 const
290 { ListRec.listFlags masks}
291 	lDrawingModeOff = 8;
292 	lDoVAutoscroll = 2;
293 	lDoHAutoscroll = 1;
294 
295 
296 const
297 { ListRec.selFlags bits}
298 	lOnlyOneBit = 7;
299 	lExtendDragBit = 6;
300 	lNoDisjointBit = 5;
301 	lNoExtendBit = 4;
302 	lNoRectBit = 3;
303 	lUseSenseBit = 2;
304 	lNoNilHiliteBit = 1;
305 
306 
307 const
308 { ListRec.selFlags masks}
309   lOnlyOne = $FFFFFF80; {-128}
310 	lExtendDrag = 64;
311 	lNoDisjoint = 32;
312 	lNoExtend = 16;
313 	lNoRect = 8;
314 	lUseSense = 4;
315 	lNoNilHilite = 2;
316 
317 
318 const
319 { LDEF messages}
320 	lInitMsg = 0;
321 	lDrawMsg = 1;
322 	lHiliteMsg = 2;
323 	lCloseMsg = 3;
324 
325 {
326    StandardIconListCellDataRec is the cell data format for
327    use with the standard icon list (kListDefStandardIconType).
328 }
329 type
330 	StandardIconListCellDataRec = record
331 		iconHandle: Handle;
332 		font: SInt16;
333 		face: SInt16;
334 		size: SInt16;
335 		name: Str255;
336 	end;
337 	StandardIconListCellDataPtr = ^StandardIconListCellDataRec;
338 
339 
340 type
341 	ListDefProcPtr = procedure( lMessage: SInt16; lSelect: Boolean; var lRect: Rect; lCell: Cell; lDataOffset: SInt16; lDataLen: SInt16; lHandle: ListHandle );
342 	ListDefUPP = ListDefProcPtr;
343 {
344  *  NewListSearchUPP()
345  *
346  *  Availability:
347  *    Mac OS X:         in version 10.0 and later in Carbon.framework
348  *    CarbonLib:        in CarbonLib 1.0 and later
349  *    Non-Carbon CFM:   available as macro/inline
350  }
NewListSearchUPPnull351 function NewListSearchUPP( userRoutine: ListSearchProcPtr ): ListSearchUPP; external name '_NewListSearchUPP';
352 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
353 
354 {
355  *  NewListClickLoopUPP()
356  *
357  *  Availability:
358  *    Mac OS X:         in version 10.0 and later in Carbon.framework
359  *    CarbonLib:        in CarbonLib 1.0 and later
360  *    Non-Carbon CFM:   available as macro/inline
361  }
NewListClickLoopUPPnull362 function NewListClickLoopUPP( userRoutine: ListClickLoopProcPtr ): ListClickLoopUPP; external name '_NewListClickLoopUPP';
363 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
364 
365 {
366  *  NewListDefUPP()
367  *
368  *  Availability:
369  *    Mac OS X:         in version 10.0 and later in Carbon.framework
370  *    CarbonLib:        in CarbonLib 1.0 and later
371  *    Non-Carbon CFM:   available as macro/inline
372  }
NewListDefUPPnull373 function NewListDefUPP( userRoutine: ListDefProcPtr ): ListDefUPP; external name '_NewListDefUPP';
374 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
375 
376 {
377  *  DisposeListSearchUPP()
378  *
379  *  Availability:
380  *    Mac OS X:         in version 10.0 and later in Carbon.framework
381  *    CarbonLib:        in CarbonLib 1.0 and later
382  *    Non-Carbon CFM:   available as macro/inline
383  }
384 procedure DisposeListSearchUPP( userUPP: ListSearchUPP ); external name '_DisposeListSearchUPP';
385 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
386 
387 {
388  *  DisposeListClickLoopUPP()
389  *
390  *  Availability:
391  *    Mac OS X:         in version 10.0 and later in Carbon.framework
392  *    CarbonLib:        in CarbonLib 1.0 and later
393  *    Non-Carbon CFM:   available as macro/inline
394  }
395 procedure DisposeListClickLoopUPP( userUPP: ListClickLoopUPP ); external name '_DisposeListClickLoopUPP';
396 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
397 
398 {
399  *  DisposeListDefUPP()
400  *
401  *  Availability:
402  *    Mac OS X:         in version 10.0 and later in Carbon.framework
403  *    CarbonLib:        in CarbonLib 1.0 and later
404  *    Non-Carbon CFM:   available as macro/inline
405  }
406 procedure DisposeListDefUPP( userUPP: ListDefUPP ); external name '_DisposeListDefUPP';
407 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
408 
409 {
410  *  InvokeListSearchUPP()
411  *
412  *  Availability:
413  *    Mac OS X:         in version 10.0 and later in Carbon.framework
414  *    CarbonLib:        in CarbonLib 1.0 and later
415  *    Non-Carbon CFM:   available as macro/inline
416  }
InvokeListSearchUPPnull417 function InvokeListSearchUPP( aPtr: Ptr; bPtr: Ptr; aLen: SInt16; bLen: SInt16; userUPP: ListSearchUPP ): SInt16; external name '_InvokeListSearchUPP';
418 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
419 
420 {
421  *  InvokeListClickLoopUPP()
422  *
423  *  Availability:
424  *    Mac OS X:         in version 10.0 and later in Carbon.framework
425  *    CarbonLib:        in CarbonLib 1.0 and later
426  *    Non-Carbon CFM:   available as macro/inline
427  }
InvokeListClickLoopUPPnull428 function InvokeListClickLoopUPP( userUPP: ListClickLoopUPP ): Boolean; external name '_InvokeListClickLoopUPP';
429 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
430 
431 {
432  *  InvokeListDefUPP()
433  *
434  *  Availability:
435  *    Mac OS X:         in version 10.0 and later in Carbon.framework
436  *    CarbonLib:        in CarbonLib 1.0 and later
437  *    Non-Carbon CFM:   available as macro/inline
438  }
439 procedure InvokeListDefUPP( lMessage: SInt16; lSelect: Boolean; var lRect: Rect; lCell: Cell; lDataOffset: SInt16; lDataLen: SInt16; lHandle: ListHandle; userUPP: ListDefUPP ); external name '_InvokeListDefUPP';
440 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
441 
442 const
443 	kListDefProcPtr = 0;
444 	kListDefUserProcType = kListDefProcPtr;
445 	kListDefStandardTextType = 1;
446 	kListDefStandardIconType = 2;
447 
448 type
449 	ListDefType = UInt32;
450 	ListDefSpec = record
451 		defType: ListDefType;
452 		case SInt16 of
453 		0: (
454 			userProc: ListDefUPP;
455 			);
456 	end;
457 type
458 	ListDefSpecPtr = ^ListDefSpec;
459 {$ifc not TARGET_CPU_64}
460 {
461  *  CreateCustomList()   *** DEPRECATED ***
462  *
463  *  Mac OS X threading:
464  *    Not thread safe
465  *
466  *  Availability:
467  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
468  *    CarbonLib:        in CarbonLib 1.0 and later
469  *    Non-Carbon CFM:   not available
470  }
CreateCustomListnull471 function CreateCustomList( const (*var*) rView: Rect; const (*var*) dataBounds: ListBounds; cellSize: Point; const (*var*) theSpec: ListDefSpec; theWindow: WindowRef; drawIt: Boolean; hasGrow: Boolean; scrollHoriz: Boolean; scrollVert: Boolean; var outList: ListHandle ): OSStatus; external name '_CreateCustomList';
472 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
473 
474 
475 {$endc} {not TARGET_CPU_64}
476 
477 {$ifc not TARGET_CPU_64}
478 {
479  *  LNew()   *** DEPRECATED ***
480  *
481  *  Mac OS X threading:
482  *    Not thread safe
483  *
484  *  Availability:
485  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
486  *    CarbonLib:        in CarbonLib 1.0 and later
487  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
488  }
LNewnull489 function LNew( const (*var*) rView: Rect; const (*var*) dataBounds: ListBounds; cSize: Point; theProc: SInt16; theWindow: WindowRef; drawIt: Boolean; hasGrow: Boolean; scrollHoriz: Boolean; scrollVert: Boolean ): ListHandle; external name '_LNew';
490 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
491 
492 
493 {
494  *  LDispose()   *** DEPRECATED ***
495  *
496  *  Mac OS X threading:
497  *    Not thread safe
498  *
499  *  Availability:
500  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
501  *    CarbonLib:        in CarbonLib 1.0 and later
502  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
503  }
504 procedure LDispose( lHandle: ListHandle ); external name '_LDispose';
505 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
506 
507 
508 {
509  *  LAddColumn()   *** DEPRECATED ***
510  *
511  *  Mac OS X threading:
512  *    Not thread safe
513  *
514  *  Availability:
515  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
516  *    CarbonLib:        in CarbonLib 1.0 and later
517  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
518  }
LAddColumnnull519 function LAddColumn( count: SInt16; colNum: SInt16; lHandle: ListHandle ): SInt16; external name '_LAddColumn';
520 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
521 
522 
523 {
524  *  LAddRow()   *** DEPRECATED ***
525  *
526  *  Mac OS X threading:
527  *    Not thread safe
528  *
529  *  Availability:
530  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
531  *    CarbonLib:        in CarbonLib 1.0 and later
532  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
533  }
LAddRownull534 function LAddRow( count: SInt16; rowNum: SInt16; lHandle: ListHandle ): SInt16; external name '_LAddRow';
535 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
536 
537 
538 {
539  *  LDelColumn()   *** DEPRECATED ***
540  *
541  *  Mac OS X threading:
542  *    Not thread safe
543  *
544  *  Availability:
545  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
546  *    CarbonLib:        in CarbonLib 1.0 and later
547  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
548  }
549 procedure LDelColumn( count: SInt16; colNum: SInt16; lHandle: ListHandle ); external name '_LDelColumn';
550 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
551 
552 
553 {
554  *  LDelRow()   *** DEPRECATED ***
555  *
556  *  Mac OS X threading:
557  *    Not thread safe
558  *
559  *  Availability:
560  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
561  *    CarbonLib:        in CarbonLib 1.0 and later
562  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
563  }
564 procedure LDelRow( count: SInt16; rowNum: SInt16; lHandle: ListHandle ); external name '_LDelRow';
565 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
566 
567 
568 {
569  *  LGetSelect()   *** DEPRECATED ***
570  *
571  *  Mac OS X threading:
572  *    Not thread safe
573  *
574  *  Availability:
575  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
576  *    CarbonLib:        in CarbonLib 1.0 and later
577  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
578  }
LGetSelectnull579 function LGetSelect( next: Boolean; var theCell: Cell; lHandle: ListHandle ): Boolean; external name '_LGetSelect';
580 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
581 
582 
583 {
584  *  LLastClick()   *** DEPRECATED ***
585  *
586  *  Mac OS X threading:
587  *    Not thread safe
588  *
589  *  Availability:
590  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
591  *    CarbonLib:        in CarbonLib 1.0 and later
592  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
593  }
LLastClicknull594 function LLastClick( lHandle: ListHandle ): Cell; external name '_LLastClick';
595 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
596 
597 
598 {
599  *  LNextCell()   *** DEPRECATED ***
600  *
601  *  Mac OS X threading:
602  *    Not thread safe
603  *
604  *  Availability:
605  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
606  *    CarbonLib:        in CarbonLib 1.0 and later
607  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
608  }
LNextCellnull609 function LNextCell( hNext: Boolean; vNext: Boolean; var theCell: Cell; lHandle: ListHandle ): Boolean; external name '_LNextCell';
610 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
611 
612 
613 {
614  *  LSearch()   *** DEPRECATED ***
615  *
616  *  Mac OS X threading:
617  *    Not thread safe
618  *
619  *  Availability:
620  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
621  *    CarbonLib:        in CarbonLib 1.0 and later
622  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
623  }
LSearchnull624 function LSearch( dataPtr: {const} UnivPtr; dataLen: SInt16; searchProc: ListSearchUPP; var theCell: Cell; lHandle: ListHandle ): Boolean; external name '_LSearch';
625 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
626 
627 
628 {
629  *  LSize()   *** DEPRECATED ***
630  *
631  *  Mac OS X threading:
632  *    Not thread safe
633  *
634  *  Availability:
635  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
636  *    CarbonLib:        in CarbonLib 1.0 and later
637  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
638  }
639 procedure LSize( listWidth: SInt16; listHeight: SInt16; lHandle: ListHandle ); external name '_LSize';
640 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
641 
642 
643 {
644  *  LSetDrawingMode()   *** DEPRECATED ***
645  *
646  *  Mac OS X threading:
647  *    Not thread safe
648  *
649  *  Availability:
650  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
651  *    CarbonLib:        in CarbonLib 1.0 and later
652  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
653  }
654 procedure LSetDrawingMode( drawIt: Boolean; lHandle: ListHandle ); external name '_LSetDrawingMode';
655 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
656 
657 
658 {
659  *  LScroll()   *** DEPRECATED ***
660  *
661  *  Mac OS X threading:
662  *    Not thread safe
663  *
664  *  Availability:
665  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
666  *    CarbonLib:        in CarbonLib 1.0 and later
667  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
668  }
669 procedure LScroll( dCols: SInt16; dRows: SInt16; lHandle: ListHandle ); external name '_LScroll';
670 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
671 
672 
673 {
674  *  LAutoScroll()   *** DEPRECATED ***
675  *
676  *  Mac OS X threading:
677  *    Not thread safe
678  *
679  *  Availability:
680  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
681  *    CarbonLib:        in CarbonLib 1.0 and later
682  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
683  }
684 procedure LAutoScroll( lHandle: ListHandle ); external name '_LAutoScroll';
685 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
686 
687 
688 {
689  *  LUpdate()   *** DEPRECATED ***
690  *
691  *  Mac OS X threading:
692  *    Not thread safe
693  *
694  *  Availability:
695  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
696  *    CarbonLib:        in CarbonLib 1.0 and later
697  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
698  }
699 procedure LUpdate( theRgn: RgnHandle; lHandle: ListHandle ); external name '_LUpdate';
700 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
701 
702 
703 {
704  *  LActivate()   *** DEPRECATED ***
705  *
706  *  Mac OS X threading:
707  *    Not thread safe
708  *
709  *  Availability:
710  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
711  *    CarbonLib:        in CarbonLib 1.0 and later
712  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
713  }
714 procedure LActivate( act: Boolean; lHandle: ListHandle ); external name '_LActivate';
715 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
716 
717 
718 {
719  *  LCellSize()   *** DEPRECATED ***
720  *
721  *  Mac OS X threading:
722  *    Not thread safe
723  *
724  *  Availability:
725  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
726  *    CarbonLib:        in CarbonLib 1.0 and later
727  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
728  }
729 procedure LCellSize( cSize: Point; lHandle: ListHandle ); external name '_LCellSize';
730 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
731 
732 
733 {
734  *  LClick()   *** DEPRECATED ***
735  *
736  *  Mac OS X threading:
737  *    Not thread safe
738  *
739  *  Availability:
740  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
741  *    CarbonLib:        in CarbonLib 1.0 and later
742  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
743  }
LClicknull744 function LClick( pt: Point; modifiers: EventModifiers; lHandle: ListHandle ): Boolean; external name '_LClick';
745 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
746 
747 
748 {
749  *  LAddToCell()   *** DEPRECATED ***
750  *
751  *  Mac OS X threading:
752  *    Not thread safe
753  *
754  *  Availability:
755  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
756  *    CarbonLib:        in CarbonLib 1.0 and later
757  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
758  }
759 procedure LAddToCell( dataPtr: {const} UnivPtr; dataLen: SInt16; theCell: Cell; lHandle: ListHandle ); external name '_LAddToCell';
760 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
761 
762 
763 {
764  *  LClrCell()   *** DEPRECATED ***
765  *
766  *  Mac OS X threading:
767  *    Not thread safe
768  *
769  *  Availability:
770  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
771  *    CarbonLib:        in CarbonLib 1.0 and later
772  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
773  }
774 procedure LClrCell( theCell: Cell; lHandle: ListHandle ); external name '_LClrCell';
775 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
776 
777 
778 {
779  *  LGetCell()   *** DEPRECATED ***
780  *
781  *  Mac OS X threading:
782  *    Not thread safe
783  *
784  *  Availability:
785  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
786  *    CarbonLib:        in CarbonLib 1.0 and later
787  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
788  }
789 procedure LGetCell( dataPtr: UnivPtr; var dataLen: SInt16; theCell: Cell; lHandle: ListHandle ); external name '_LGetCell';
790 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
791 
792 
793 {
794  *  LRect()   *** DEPRECATED ***
795  *
796  *  Mac OS X threading:
797  *    Not thread safe
798  *
799  *  Availability:
800  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
801  *    CarbonLib:        in CarbonLib 1.0 and later
802  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
803  }
804 procedure LRect( var cellRect: Rect; theCell: Cell; lHandle: ListHandle ); external name '_LRect';
805 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
806 
807 
808 {
809  *  LSetCell()   *** DEPRECATED ***
810  *
811  *  Mac OS X threading:
812  *    Not thread safe
813  *
814  *  Availability:
815  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
816  *    CarbonLib:        in CarbonLib 1.0 and later
817  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
818  }
819 procedure LSetCell( dataPtr: {const} UnivPtr; dataLen: SInt16; theCell: Cell; lHandle: ListHandle ); external name '_LSetCell';
820 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
821 
822 
823 {
824  *  LSetSelect()   *** DEPRECATED ***
825  *
826  *  Mac OS X threading:
827  *    Not thread safe
828  *
829  *  Availability:
830  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
831  *    CarbonLib:        in CarbonLib 1.0 and later
832  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
833  }
834 procedure LSetSelect( setIt: Boolean; theCell: Cell; lHandle: ListHandle ); external name '_LSetSelect';
835 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
836 
837 
838 {
839  *  LDraw()   *** DEPRECATED ***
840  *
841  *  Mac OS X threading:
842  *    Not thread safe
843  *
844  *  Availability:
845  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
846  *    CarbonLib:        in CarbonLib 1.0 and later
847  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
848  }
849 procedure LDraw( theCell: Cell; lHandle: ListHandle ); external name '_LDraw';
850 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
851 
852 
853 {
854  *  LGetCellDataLocation()   *** DEPRECATED ***
855  *
856  *  Mac OS X threading:
857  *    Not thread safe
858  *
859  *  Availability:
860  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
861  *    CarbonLib:        in CarbonLib 1.0 and later
862  *    Non-Carbon CFM:   in InterfaceLib 7.1 and later
863  }
864 procedure LGetCellDataLocation( var offset: SInt16; var len: SInt16; theCell: Cell; lHandle: ListHandle ); external name '_LGetCellDataLocation';
865 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
866 
867 
868 { Routines available in Carbon only}
869 
870 {
871  *  RegisterListDefinition()   *** DEPRECATED ***
872  *
873  *  Summary:
874  *    Registers a binding between a resource ID and a list definition
875  *    function.
876  *
877  *  Discussion:
878  *    In the Mac OS 8.x List Manager, a 'ldes' resource can contain an
879  *    embedded LDEF procID that is used by the List Manager as the
880  *    resource ID of an 'LDEF' resource to measure and draw the list.
881  *    Since LDEFs can no longer be packaged as code resources on
882  *    Carbon, the procID can no longer refer directly to an LDEF
883  *    resource. However, using RegisterListDefinition you can instead
884  *    specify a UniversalProcPtr pointing to code in your application
885  *    code fragment.
886  *
887  *  Mac OS X threading:
888  *    Not thread safe
889  *
890  *  Parameters:
891  *
892  *    inResID:
893  *      An LDEF proc ID, as used in a 'ldes' resource.
894  *
895  *    inDefSpec:
896  *      Specifies the ListDefUPP that should be used for lists with the
897  *      given LDEF procID.
898  *
899  *  Availability:
900  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
901  *    CarbonLib:        in CarbonLib 1.5 and later
902  *    Non-Carbon CFM:   not available
903  }
RegisterListDefinitionnull904 function RegisterListDefinition( inResID: SInt16; inDefSpec: ListDefSpecPtr ): OSStatus; external name '_RegisterListDefinition';
905 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
906 
907 
908 {$endc} {not TARGET_CPU_64}
909 
910 { Getters }
911 {$ifc not TARGET_CPU_64}
912 {
913  *  GetListViewBounds()   *** DEPRECATED ***
914  *
915  *  Mac OS X threading:
916  *    Not thread safe
917  *
918  *  Availability:
919  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
920  *    CarbonLib:        in CarbonLib 1.0 and later
921  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
922  }
GetListViewBoundsnull923 function GetListViewBounds( list: ListHandle; var view: Rect ): RectPtr; external name '_GetListViewBounds';
924 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
925 
926 
927 {
928  *  GetListPort()   *** DEPRECATED ***
929  *
930  *  Mac OS X threading:
931  *    Not thread safe
932  *
933  *  Availability:
934  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
935  *    CarbonLib:        in CarbonLib 1.0 and later
936  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
937  }
GetListPortnull938 function GetListPort( list: ListHandle ): CGrafPtr; external name '_GetListPort';
939 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
940 
941 
942 {
943  *  GetListCellIndent()   *** DEPRECATED ***
944  *
945  *  Mac OS X threading:
946  *    Not thread safe
947  *
948  *  Availability:
949  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
950  *    CarbonLib:        in CarbonLib 1.0 and later
951  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
952  }
GetListCellIndentnull953 function GetListCellIndent( list: ListHandle; var indent: Point ): PointPtr; external name '_GetListCellIndent';
954 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
955 
956 
957 {
958  *  GetListCellSize()   *** DEPRECATED ***
959  *
960  *  Mac OS X threading:
961  *    Not thread safe
962  *
963  *  Availability:
964  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
965  *    CarbonLib:        in CarbonLib 1.0 and later
966  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
967  }
GetListCellSizenull968 function GetListCellSize( list: ListHandle; var size: Point ): PointPtr; external name '_GetListCellSize';
969 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
970 
971 
972 {
973  *  GetListVisibleCells()   *** DEPRECATED ***
974  *
975  *  Mac OS X threading:
976  *    Not thread safe
977  *
978  *  Availability:
979  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
980  *    CarbonLib:        in CarbonLib 1.0 and later
981  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
982  }
GetListVisibleCellsnull983 function GetListVisibleCells( list: ListHandle; var visible: ListBounds ): ListBoundsPtr; external name '_GetListVisibleCells';
984 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
985 
986 
987 {
988  *  GetListVerticalScrollBar()   *** DEPRECATED ***
989  *
990  *  Mac OS X threading:
991  *    Not thread safe
992  *
993  *  Availability:
994  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
995  *    CarbonLib:        in CarbonLib 1.0 and later
996  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
997  }
GetListVerticalScrollBarnull998 function GetListVerticalScrollBar( list: ListHandle ): ControlRef; external name '_GetListVerticalScrollBar';
999 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1000 
1001 
1002 {
1003  *  GetListHorizontalScrollBar()   *** DEPRECATED ***
1004  *
1005  *  Mac OS X threading:
1006  *    Not thread safe
1007  *
1008  *  Availability:
1009  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1010  *    CarbonLib:        in CarbonLib 1.0 and later
1011  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1012  }
GetListHorizontalScrollBarnull1013 function GetListHorizontalScrollBar( list: ListHandle ): ControlRef; external name '_GetListHorizontalScrollBar';
1014 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1015 
1016 
1017 {
1018  *  GetListActive()   *** DEPRECATED ***
1019  *
1020  *  Mac OS X threading:
1021  *    Not thread safe
1022  *
1023  *  Availability:
1024  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1025  *    CarbonLib:        in CarbonLib 1.0 and later
1026  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1027  }
GetListActivenull1028 function GetListActive( list: ListHandle ): Boolean; external name '_GetListActive';
1029 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1030 
1031 
1032 {
1033  *  GetListClickTime()   *** DEPRECATED ***
1034  *
1035  *  Mac OS X threading:
1036  *    Not thread safe
1037  *
1038  *  Availability:
1039  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1040  *    CarbonLib:        in CarbonLib 1.0 and later
1041  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1042  }
GetListClickTimenull1043 function GetListClickTime( list: ListHandle ): SInt32; external name '_GetListClickTime';
1044 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1045 
1046 
1047 {
1048  *  GetListClickLocation()   *** DEPRECATED ***
1049  *
1050  *  Mac OS X threading:
1051  *    Not thread safe
1052  *
1053  *  Availability:
1054  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1055  *    CarbonLib:        in CarbonLib 1.0 and later
1056  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1057  }
GetListClickLocationnull1058 function GetListClickLocation( list: ListHandle; var click: Point ): PointPtr; external name '_GetListClickLocation';
1059 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1060 
1061 
1062 {
1063  *  GetListMouseLocation()   *** DEPRECATED ***
1064  *
1065  *  Mac OS X threading:
1066  *    Not thread safe
1067  *
1068  *  Availability:
1069  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1070  *    CarbonLib:        in CarbonLib 1.0 and later
1071  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1072  }
GetListMouseLocationnull1073 function GetListMouseLocation( list: ListHandle; var mouse: Point ): PointPtr; external name '_GetListMouseLocation';
1074 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1075 
1076 
1077 {
1078  *  GetListClickLoop()   *** DEPRECATED ***
1079  *
1080  *  Mac OS X threading:
1081  *    Not thread safe
1082  *
1083  *  Availability:
1084  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1085  *    CarbonLib:        in CarbonLib 1.0 and later
1086  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1087  }
GetListClickLoopnull1088 function GetListClickLoop( list: ListHandle ): ListClickLoopUPP; external name '_GetListClickLoop';
1089 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1090 
1091 
1092 {
1093  *  GetListRefCon()   *** DEPRECATED ***
1094  *
1095  *  Mac OS X threading:
1096  *    Not thread safe
1097  *
1098  *  Availability:
1099  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1100  *    CarbonLib:        in CarbonLib 1.0 and later
1101  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1102  }
GetListRefConnull1103 function GetListRefCon( list: ListHandle ): SInt32; external name '_GetListRefCon';
1104 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1105 
1106 
1107 {
1108  *  GetListDefinition()   *** DEPRECATED ***
1109  *
1110  *  Mac OS X threading:
1111  *    Not thread safe
1112  *
1113  *  Availability:
1114  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1115  *    CarbonLib:        in CarbonLib 1.0 and later
1116  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1117  }
GetListDefinitionnull1118 function GetListDefinition( list: ListHandle ): Handle; external name '_GetListDefinition';
1119 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1120 
1121 
1122 {
1123  *  GetListUserHandle()   *** DEPRECATED ***
1124  *
1125  *  Mac OS X threading:
1126  *    Not thread safe
1127  *
1128  *  Availability:
1129  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1130  *    CarbonLib:        in CarbonLib 1.0 and later
1131  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1132  }
GetListUserHandlenull1133 function GetListUserHandle( list: ListHandle ): Handle; external name '_GetListUserHandle';
1134 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1135 
1136 
1137 {
1138  *  GetListDataBounds()   *** DEPRECATED ***
1139  *
1140  *  Mac OS X threading:
1141  *    Not thread safe
1142  *
1143  *  Availability:
1144  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1145  *    CarbonLib:        in CarbonLib 1.0 and later
1146  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1147  }
GetListDataBoundsnull1148 function GetListDataBounds( list: ListHandle; var bounds: ListBounds ): ListBoundsPtr; external name '_GetListDataBounds';
1149 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1150 
1151 
1152 {
1153  *  GetListDataHandle()   *** DEPRECATED ***
1154  *
1155  *  Mac OS X threading:
1156  *    Not thread safe
1157  *
1158  *  Availability:
1159  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1160  *    CarbonLib:        in CarbonLib 1.0 and later
1161  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1162  }
GetListDataHandlenull1163 function GetListDataHandle( list: ListHandle ): DataHandle; external name '_GetListDataHandle';
1164 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1165 
1166 
1167 {
1168  *  GetListFlags()   *** DEPRECATED ***
1169  *
1170  *  Mac OS X threading:
1171  *    Not thread safe
1172  *
1173  *  Availability:
1174  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1175  *    CarbonLib:        in CarbonLib 1.0 and later
1176  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1177  }
GetListFlagsnull1178 function GetListFlags( list: ListHandle ): OptionBits; external name '_GetListFlags';
1179 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1180 
1181 
1182 {
1183  *  GetListSelectionFlags()   *** DEPRECATED ***
1184  *
1185  *  Mac OS X threading:
1186  *    Not thread safe
1187  *
1188  *  Availability:
1189  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1190  *    CarbonLib:        in CarbonLib 1.0 and later
1191  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1192  }
GetListSelectionFlagsnull1193 function GetListSelectionFlags( list: ListHandle ): OptionBits; external name '_GetListSelectionFlags';
1194 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1195 
1196 
1197 { Setters }
1198 {
1199  *  SetListViewBounds()   *** DEPRECATED ***
1200  *
1201  *  Mac OS X threading:
1202  *    Not thread safe
1203  *
1204  *  Availability:
1205  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1206  *    CarbonLib:        in CarbonLib 1.0 and later
1207  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1208  }
1209 procedure SetListViewBounds( list: ListHandle; const (*var*) view: Rect ); external name '_SetListViewBounds';
1210 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1211 
1212 
1213 {
1214  *  SetListPort()   *** DEPRECATED ***
1215  *
1216  *  Mac OS X threading:
1217  *    Not thread safe
1218  *
1219  *  Availability:
1220  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1221  *    CarbonLib:        in CarbonLib 1.0 and later
1222  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1223  }
1224 procedure SetListPort( list: ListHandle; port: CGrafPtr ); external name '_SetListPort';
1225 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1226 
1227 
1228 {
1229  *  SetListCellIndent()   *** DEPRECATED ***
1230  *
1231  *  Mac OS X threading:
1232  *    Not thread safe
1233  *
1234  *  Availability:
1235  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1236  *    CarbonLib:        in CarbonLib 1.0 and later
1237  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1238  }
1239 procedure SetListCellIndent( list: ListHandle; var indent: Point ); external name '_SetListCellIndent';
1240 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1241 
1242 
1243 {
1244  *  SetListClickTime()   *** DEPRECATED ***
1245  *
1246  *  Mac OS X threading:
1247  *    Not thread safe
1248  *
1249  *  Availability:
1250  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1251  *    CarbonLib:        in CarbonLib 1.0 and later
1252  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1253  }
1254 procedure SetListClickTime( list: ListHandle; time: SInt32 ); external name '_SetListClickTime';
1255 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1256 
1257 
1258 {
1259  *  SetListClickLoop()   *** DEPRECATED ***
1260  *
1261  *  Mac OS X threading:
1262  *    Not thread safe
1263  *
1264  *  Availability:
1265  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1266  *    CarbonLib:        in CarbonLib 1.0 and later
1267  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1268  }
1269 procedure SetListClickLoop( list: ListHandle; clickLoop: ListClickLoopUPP ); external name '_SetListClickLoop';
1270 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1271 
1272 
1273 {
1274  *  SetListLastClick()   *** DEPRECATED ***
1275  *
1276  *  Mac OS X threading:
1277  *    Not thread safe
1278  *
1279  *  Availability:
1280  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1281  *    CarbonLib:        in CarbonLib 1.0 and later
1282  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1283  }
1284 procedure SetListLastClick( list: ListHandle; var lastClick: Cell ); external name '_SetListLastClick';
1285 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1286 
1287 
1288 {
1289  *  SetListRefCon()   *** DEPRECATED ***
1290  *
1291  *  Mac OS X threading:
1292  *    Not thread safe
1293  *
1294  *  Availability:
1295  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1296  *    CarbonLib:        in CarbonLib 1.0 and later
1297  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1298  }
1299 procedure SetListRefCon( list: ListHandle; refCon: SInt32 ); external name '_SetListRefCon';
1300 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1301 
1302 
1303 {
1304  *  SetListUserHandle()   *** DEPRECATED ***
1305  *
1306  *  Mac OS X threading:
1307  *    Not thread safe
1308  *
1309  *  Availability:
1310  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1311  *    CarbonLib:        in CarbonLib 1.0 and later
1312  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1313  }
1314 procedure SetListUserHandle( list: ListHandle; userHandle: Handle ); external name '_SetListUserHandle';
1315 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1316 
1317 
1318 {
1319  *  SetListFlags()   *** DEPRECATED ***
1320  *
1321  *  Mac OS X threading:
1322  *    Not thread safe
1323  *
1324  *  Availability:
1325  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1326  *    CarbonLib:        in CarbonLib 1.0 and later
1327  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1328  }
1329 procedure SetListFlags( list: ListHandle; listFlags: OptionBits ); external name '_SetListFlags';
1330 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1331 
1332 
1333 {
1334  *  SetListSelectionFlags()   *** DEPRECATED ***
1335  *
1336  *  Mac OS X threading:
1337  *    Not thread safe
1338  *
1339  *  Availability:
1340  *    Mac OS X:         in version 10.0 and later in Carbon.framework [32-bit only] but deprecated in 10.5
1341  *    CarbonLib:        in CarbonLib 1.0 and later
1342  *    Non-Carbon CFM:   in CarbonAccessors.o 1.0 and later
1343  }
1344 procedure SetListSelectionFlags( list: ListHandle; selectionFlags: OptionBits ); external name '_SetListSelectionFlags';
1345 (* AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5 *)
1346 
1347 
1348 {$endc} {not TARGET_CPU_64}
1349 
1350 {$endc} {TARGET_OS_MAC}
1351 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
1352 
1353 end.
1354 {$endc} {not MACOSALLINCLUDE}
1355