summaryrefslogtreecommitdiff
path: root/freebsdtvision/doc/html/stddlg_8h-source.html
blob: 1a90283943a5f9be9cacf8cd035af196a49d8c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>stddlg.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>stddlg.h</h1><a href="stddlg_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*</span>
00002 <span class="comment"> * stddlg.h</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * Turbo Vision - Version 2.0</span>
00005 <span class="comment"> *</span>
00006 <span class="comment"> * Copyright (c) 1994 by Borland International</span>
00007 <span class="comment"> * All Rights Reserved.</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * Modified by Sergio Sigala &lt;sergio@sigala.it&gt;</span>
00010 <span class="comment"> */</span>
00011 
00012 <span class="preprocessor">#if !defined( __FILE_CMDS )</span>
00013 <span class="preprocessor"></span><span class="preprocessor">#define __FILE_CMDS</span>
00014 <span class="preprocessor"></span>
00019 <span class="keyword">const</span>
00020 
00021 <span class="comment">//  Commands</span>
00022 
00023 <span class="keywordtype">int</span> cmFileOpen    = 1001,   <span class="comment">// Returned from TFileDialog when Open pressed</span>
00024     cmFileReplace = 1002,   <span class="comment">// Returned from TFileDialog when Replace pressed</span>
00025     cmFileClear   = 1003,   <span class="comment">// Returned from TFileDialog when Clear pressed</span>
00026     cmFileInit    = 1004,   <span class="comment">// Used by TFileDialog internally</span>
00027     cmChangeDir   = 1005,   <span class="comment">//</span>
00028     cmRevert      = 1006,   <span class="comment">// Used by TChDirDialog internally</span>
00029 <span class="preprocessor">#ifndef __UNPATCHED</span>
00030 <span class="preprocessor"></span>    cmDirSelection= 1007,   
00031 <span class="preprocessor">#endif</span>
00032 <span class="preprocessor"></span>
00033 <span class="comment">//  Messages</span>
00034 
<a name="l00035"></a><a class="code" href="stddlg_8h.html#a7">00035</a>     <a class="code" href="stddlg_8h.html#a7">cmFileFocused</a> = 102,    <span class="comment">// A new file was focused in the TFileList</span>
00036     <a class="code" href="stddlg_8h.html#a8">cmFileDoubleClicked</a>     <span class="comment">// A file was selected in the TFileList</span>
<a name="l00037"></a><a class="code" href="stddlg_8h.html#a8">00037</a>             = 103;
00038 
00039 <span class="preprocessor">#endif  // __FILE_CMDS</span>
00040 <span class="preprocessor"></span>
00041 <span class="preprocessor">#if defined( Uses_TSearchRec ) &amp;&amp; !defined( __TSearchRec )</span>
00042 <span class="preprocessor"></span><span class="preprocessor">#define __TSearchRec</span>
00043 <span class="preprocessor"></span>
00044 <span class="preprocessor">#include &lt;limits.h&gt;</span>
00045 
00046 <span class="comment">/* SS: some dos stuff */</span>
00047 
00048 <span class="preprocessor">#define FA_ARCH         0x01</span>
00049 <span class="preprocessor"></span><span class="preprocessor">#define FA_DIREC        0x02</span>
00050 <span class="preprocessor"></span><span class="preprocessor">#define FA_RDONLY       0x04</span>
00051 <span class="preprocessor"></span>
<a name="l00056"></a><a class="code" href="structftime.html">00056</a> <span class="keyword">struct  </span><a class="code" href="structftime.html">ftime</a>   {
<a name="l00060"></a><a class="code" href="structftime.html#m0">00060</a>     <span class="keywordtype">unsigned</span>    <a class="code" href="structftime.html#m0">ft_tsec</a>  : 5;   <span class="comment">/* Two second interval */</span>
<a name="l00064"></a><a class="code" href="structftime.html#m1">00064</a>     <span class="keywordtype">unsigned</span>    <a class="code" href="structftime.html#m1">ft_min</a>   : 6;   <span class="comment">/* Minutes */</span>
<a name="l00068"></a><a class="code" href="structftime.html#m2">00068</a>     <span class="keywordtype">unsigned</span>    <a class="code" href="structftime.html#m2">ft_hour</a>  : 5;   <span class="comment">/* Hours */</span>
<a name="l00072"></a><a class="code" href="structftime.html#m3">00072</a>     <span class="keywordtype">unsigned</span>    <a class="code" href="structftime.html#m3">ft_day</a>   : 5;   <span class="comment">/* Days */</span>
<a name="l00076"></a><a class="code" href="structftime.html#m4">00076</a>     <span class="keywordtype">unsigned</span>    <a class="code" href="structftime.html#m4">ft_month</a> : 4;   <span class="comment">/* Months */</span>
<a name="l00080"></a><a class="code" href="structftime.html#m5">00080</a>     <span class="keywordtype">unsigned</span>    <a class="code" href="structftime.html#m5">ft_year</a>  : 7;   <span class="comment">/* Year */</span>
00081 };
00082 
<a name="l00088"></a><a class="code" href="structTSearchRec.html">00088</a> <span class="keyword">struct </span><a class="code" href="structTSearchRec.html">TSearchRec</a>
00089 {
<a name="l00093"></a><a class="code" href="structTSearchRec.html#m0">00093</a>     <a class="code" href="ttypes_8h.html#a1">uchar</a> <a class="code" href="structTSearchRec.html#m0">attr</a>;
<a name="l00097"></a><a class="code" href="structTSearchRec.html#m1">00097</a>     <span class="keywordtype">long</span> <a class="code" href="structTSearchRec.html#m1">time</a>;
<a name="l00101"></a><a class="code" href="structTSearchRec.html#m2">00101</a>     <span class="keywordtype">long</span> <a class="code" href="structTSearchRec.html#m2">size</a>;
<a name="l00105"></a><a class="code" href="structTSearchRec.html#m3">00105</a>     <span class="keywordtype">char</span> <a class="code" href="structTSearchRec.html#m3">name</a>[PATH_MAX];
00106 };
00107 
00108 <span class="preprocessor">#endif  // Uses_TSearchRec</span>
00109 <span class="preprocessor"></span>
00110 <span class="preprocessor">#if defined( Uses_TFileInputLine ) &amp;&amp; !defined( __TFileInputLine )</span>
00111 <span class="preprocessor"></span><span class="preprocessor">#define __TFileInputLine</span>
00112 <span class="preprocessor"></span>
00113 <span class="keyword">class </span><a class="code" href="classTRect.html">TRect</a>;
00114 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
00115 
<a name="l00124"></a><a class="code" href="classTFileInputLine.html">00124</a> <span class="keyword">class </span><a class="code" href="classTFileInputLine.html">TFileInputLine</a> : <span class="keyword">public</span> <a class="code" href="classTInputLine.html">TInputLine</a>
00125 {
00126 <span class="keyword">public</span>:
00133     <a class="code" href="classTFileInputLine.html#a0">TFileInputLine</a>( <span class="keyword">const</span> <a class="code" href="classTRect.html">TRect</a>&amp; bounds, <span class="keywordtype">short</span> aMaxLen );
00142     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileInputLine.html#a1">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>&amp; event );
00143 <span class="keyword">private</span>:
00144     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
00145 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTFileInputLine.html#p0">name</a>; }
00146 <span class="keyword">protected</span>:
00150     <a class="code" href="classTFileInputLine.html#a0">TFileInputLine</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> );
00151 <span class="keyword">public</span>:
<a name="l00155"></a><a class="code" href="classTFileInputLine.html#p0">00155</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTFileInputLine.html#p0">name</a>;
00159     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTFileInputLine.html#d0">build</a>();
00160 };
00161 
<a name="l00165"></a><a class="code" href="stddlg_8h.html#a18">00165</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>&amp; cl )
00166     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00170"></a><a class="code" href="stddlg_8h.html#a19">00170</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>*&amp; cl )
00171     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
00172 
<a name="l00176"></a><a class="code" href="stddlg_8h.html#a20">00176</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>&amp; cl )
00177     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00181"></a><a class="code" href="stddlg_8h.html#a21">00181</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>* cl )
00182     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
00183 
00184 <span class="preprocessor">#endif  // Uses_TFileInputLine</span>
00185 <span class="preprocessor"></span>
00186 <span class="preprocessor">#if defined( Uses_TFileCollection ) &amp;&amp; !defined( __TFileCollection )</span>
00187 <span class="preprocessor"></span><span class="preprocessor">#define __TFileCollection</span>
00188 <span class="preprocessor"></span>
00189 <span class="keyword">class </span><a class="code" href="structTSearchRec.html">TSearchRec</a>;
00190 
<a name="l00196"></a><a class="code" href="classTFileCollection.html">00196</a> <span class="keyword">class </span><a class="code" href="classTFileCollection.html">TFileCollection</a>: <span class="keyword">public</span> <a class="code" href="classTSortedCollection.html">TSortedCollection</a>
00197 {
00198 <span class="keyword">public</span>:
<a name="l00203"></a><a class="code" href="classTFileCollection.html#a0">00203</a>     <a class="code" href="classTFileCollection.html#a0">TFileCollection</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> aLimit, <a class="code" href="ttypes_8h.html#a5">ccIndex</a> aDelta) :
00204         <a class="code" href="classTSortedCollection.html">TSortedCollection</a>( aLimit, aDelta ) {}
<a name="l00209"></a><a class="code" href="classTFileCollection.html#a1">00209</a>     <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTFileCollection.html#a1">at</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> index )
00210         { <span class="keywordflow">return</span> (<a class="code" href="structTSearchRec.html">TSearchRec</a> *)<a class="code" href="classTNSCollection.html#a3">TSortedCollection::at</a>( index ); }
<a name="l00215"></a><a class="code" href="classTFileCollection.html#a2">00215</a>     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a5">ccIndex</a> <a class="code" href="classTFileCollection.html#a2">indexOf</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )
00216         { <span class="keywordflow">return</span> <a class="code" href="classTNSSortedCollection.html#a2">TSortedCollection::indexOf</a>( item ); }
<a name="l00221"></a><a class="code" href="classTFileCollection.html#a3">00221</a>     <span class="keywordtype">void</span> <a class="code" href="classTFileCollection.html#a3">remove</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )
00222         { <a class="code" href="classTNSCollection.html#a7">TSortedCollection::remove</a>( item ); }
<a name="l00227"></a><a class="code" href="classTFileCollection.html#a4">00227</a>     <span class="keywordtype">void</span> <a class="code" href="classTFileCollection.html#a4">free</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )
00228         { <a class="code" href="classTNSCollection.html#a9">TSortedCollection::free</a>( item ); }
<a name="l00237"></a><a class="code" href="classTFileCollection.html#a5">00237</a>     <span class="keywordtype">void</span> <a class="code" href="classTFileCollection.html#a5">atInsert</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> index, <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )
00238         { <a class="code" href="classTNSCollection.html#a11">TSortedCollection::atInsert</a>( index, item ); }
<a name="l00242"></a><a class="code" href="classTFileCollection.html#a6">00242</a>     <span class="keywordtype">void</span> <a class="code" href="classTFileCollection.html#a6">atPut</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> index, <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )
00243         { <a class="code" href="classTNSCollection.html#a12">TSortedCollection::atPut</a>( index, item ); }
<a name="l00251"></a><a class="code" href="classTFileCollection.html#a7">00251</a>     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a5">ccIndex</a> <a class="code" href="classTFileCollection.html#a7">insert</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )
00252         { <span class="keywordflow">return</span> <a class="code" href="classTNSSortedCollection.html#a3">TSortedCollection::insert</a>( item ); }
00257     <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTFileCollection.html#a8">firstThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> Test, <span class="keywordtype">void</span> *arg );
00263     <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTFileCollection.html#a9">lastThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> Test, <span class="keywordtype">void</span> *arg );
00264 <span class="keyword">private</span>:
00265     <span class="keyword">virtual</span> <span class="keywordtype">void</span> freeItem( <span class="keywordtype">void</span> *item )
00266         { <span class="keyword">delete</span> (<a class="code" href="structTSearchRec.html">TSearchRec</a> *)item; }
00281     <span class="keyword">virtual</span> <span class="keywordtype">int</span> compare( <span class="keywordtype">void</span> *key1, <span class="keywordtype">void</span> *key2 );
00285     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
00286 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTFileCollection.html#p0">name</a>; }
00291     <span class="keyword">virtual</span> <span class="keywordtype">void</span> *readItem( <a class="code" href="classipstream.html">ipstream</a>&amp; );
00296     <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeItem( <span class="keywordtype">void</span> *, <a class="code" href="classopstream.html">opstream</a>&amp; );
00297 <span class="keyword">protected</span>:
<a name="l00301"></a><a class="code" href="classTFileCollection.html#b0">00301</a>     <a class="code" href="classTFileCollection.html#a0">TFileCollection</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTSortedCollection.html">TSortedCollection</a> ( streamableInit ) {}
00302 <span class="keyword">public</span>:
<a name="l00306"></a><a class="code" href="classTFileCollection.html#p0">00306</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTFileCollection.html#p0">name</a>;
00310     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTFileCollection.html#d0">build</a>();
00311 };
00312 
<a name="l00316"></a><a class="code" href="stddlg_8h.html#a22">00316</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileCollection.html">TFileCollection</a>&amp; cl )
00317     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00321"></a><a class="code" href="stddlg_8h.html#a23">00321</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileCollection.html">TFileCollection</a>*&amp; cl )
00322     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
00323 
<a name="l00327"></a><a class="code" href="stddlg_8h.html#a24">00327</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileCollection.html">TFileCollection</a>&amp; cl )
00328     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00332"></a><a class="code" href="stddlg_8h.html#a25">00332</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileCollection.html">TFileCollection</a>* cl )
00333     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
00334 
<a name="l00335"></a><a class="code" href="classTFileCollection.html#a8">00335</a> <span class="keyword">inline</span> <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTFileCollection.html#a8">TFileCollection::firstThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> func, <span class="keywordtype">void</span> *arg )
00336 {
00337     <span class="keywordflow">return</span> (<a class="code" href="structTSearchRec.html">TSearchRec</a> *)<a class="code" href="classTNSCollection.html#a15">TSortedCollection::firstThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a>(func), arg );
00338 }
00339 
<a name="l00340"></a><a class="code" href="classTFileCollection.html#a9">00340</a> <span class="keyword">inline</span> <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTFileCollection.html#a9">TFileCollection::lastThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> func, <span class="keywordtype">void</span> *arg )
00341 {
00342     <span class="keywordflow">return</span> (<a class="code" href="structTSearchRec.html">TSearchRec</a> *)<a class="code" href="classTNSCollection.html#a16">TSortedCollection::lastThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a>(func), arg );
00343 }
00344 
00345 <span class="preprocessor">#endif  // Uses_TFileCollection</span>
00346 <span class="preprocessor"></span>
00347 
00348 <span class="preprocessor">#if defined( Uses_TSortedListBox ) &amp;&amp; !defined( __TSortedListBox )</span>
00349 <span class="preprocessor"></span><span class="preprocessor">#define __TSortedListBox</span>
00350 <span class="preprocessor"></span>
00351 <span class="keyword">class </span><a class="code" href="classTRect.html">TRect</a>;
00352 <span class="keyword">class </span><a class="code" href="classTScrollBar.html">TScrollBar</a>;
00353 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
00354 <span class="keyword">class </span><a class="code" href="classTSortedCollection.html">TSortedCollection</a>;
00355 
<a name="l00362"></a><a class="code" href="classTSortedListBox.html">00362</a> <span class="keyword">class </span><a class="code" href="classTSortedListBox.html">TSortedListBox</a>: <span class="keyword">public</span> <a class="code" href="classTListBox.html">TListBox</a>
00363 {
00364 <span class="keyword">public</span>:
00374     <a class="code" href="classTSortedListBox.html#a0">TSortedListBox</a>( <span class="keyword">const</span> <a class="code" href="classTRect.html">TRect</a>&amp; bounds,
00375                     <a class="code" href="ttypes_8h.html#a0">ushort</a> aNumCols,
00376                     <a class="code" href="classTScrollBar.html">TScrollBar</a> *aScrollBar
00377                   );
00382     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTSortedListBox.html#a1">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>&amp; event );
00390     <span class="keywordtype">void</span> <a class="code" href="classTSortedListBox.html#a2">newList</a>( <a class="code" href="classTSortedCollection.html">TSortedCollection</a> *aList );
00391 <span class="preprocessor">#ifndef __UNPATCHED</span>
00392 <span class="preprocessor"></span>    <span class="keywordtype">void</span> *<a class="code" href="classTSortedListBox.html#a3">read</a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is );
00393 <span class="preprocessor">#endif</span>
00394 <span class="preprocessor"></span>
00405     <a class="code" href="classTSortedCollection.html">TSortedCollection</a> *<a class="code" href="classTSortedListBox.html#a4">list</a>();
00406 <span class="keyword">protected</span>:
<a name="l00410"></a><a class="code" href="classTSortedListBox.html#n0">00410</a>     <a class="code" href="ttypes_8h.html#a1">uchar</a> <a class="code" href="classTSortedListBox.html#n0">shiftState</a>;
00411 <span class="keyword">private</span>:
00418     <span class="keyword">virtual</span> <span class="keywordtype">void</span> *getKey( <span class="keyword">const</span> <span class="keywordtype">char</span> *s );
00419     <span class="keywordtype">short</span> searchPos;
00420     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
00421 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTSortedListBox.html#p0">name</a>; }
00422 <span class="keyword">protected</span>:
<a name="l00426"></a><a class="code" href="classTSortedListBox.html#b0">00426</a>     <a class="code" href="classTSortedListBox.html#a0">TSortedListBox</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTListBox.html">TListBox</a> ( streamableInit ) {}
00427 <span class="keyword">public</span>:
<a name="l00431"></a><a class="code" href="classTSortedListBox.html#p0">00431</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTSortedListBox.html#p0">name</a>;
00435     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTSortedListBox.html#d0">build</a>();
00436 };
00437 
<a name="l00441"></a><a class="code" href="stddlg_8h.html#a26">00441</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>&amp; cl )
00442     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00446"></a><a class="code" href="stddlg_8h.html#a27">00446</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>*&amp; cl )
00447     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
00448 
<a name="l00452"></a><a class="code" href="stddlg_8h.html#a28">00452</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>&amp; cl )
00453     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00457"></a><a class="code" href="stddlg_8h.html#a29">00457</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>* cl )
00458     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
00459 
<a name="l00460"></a><a class="code" href="classTSortedListBox.html#a4">00460</a> <span class="keyword">inline</span> <a class="code" href="classTSortedCollection.html">TSortedCollection</a> *<a class="code" href="classTSortedListBox.html#a4">TSortedListBox::list</a>()
00461 {
00462     <span class="keywordflow">return</span> (<a class="code" href="classTSortedCollection.html">TSortedCollection</a> *)<a class="code" href="classTListBox.html#a7">TListBox::list</a>();
00463 }
00464 
00465 <span class="preprocessor">#endif  // Uses_TSortedListBox</span>
00466 <span class="preprocessor"></span>
00467 <span class="preprocessor">#if defined( Uses_TFileList ) &amp;&amp; !defined( __TFileList )</span>
00468 <span class="preprocessor"></span><span class="preprocessor">#define __TFileList</span>
00469 <span class="preprocessor"></span>
00470 <span class="keyword">class </span><a class="code" href="classTRect.html">TRect</a>;
00471 <span class="keyword">class </span><a class="code" href="classTScrollBar.html">TScrollBar</a>;
00472 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
00473 
<a name="l00491"></a><a class="code" href="classTFileList.html">00491</a> <span class="keyword">class </span><a class="code" href="classTFileList.html">TFileList</a> : <span class="keyword">public</span> <a class="code" href="classTSortedListBox.html">TSortedListBox</a>
00492 {
00493 <span class="keyword">public</span>:
00500     <a class="code" href="classTFileList.html#a0">TFileList</a>( <span class="keyword">const</span> <a class="code" href="classTRect.html">TRect</a>&amp; bounds,
00501                <a class="code" href="classTScrollBar.html">TScrollBar</a> *aScrollBar
00502              );
00506     <a class="code" href="classTFileList.html#a1">~TFileList</a>();
00511     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a2">focusItem</a>( <span class="keywordtype">short</span> item );
00515     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a3">selectItem</a>( <span class="keywordtype">short</span> item );
00521     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a4">getText</a>( <span class="keywordtype">char</span> *dest, <span class="keywordtype">short</span> item, <span class="keywordtype">short</span> maxLen );
00529     <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a5">newList</a>( <a class="code" href="classTFileCollection.html">TFileCollection</a> *aList );
00535     <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a6">readDirectory</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *dir, <span class="keyword">const</span> <span class="keywordtype">char</span> *wildCard );
00547     <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a6">readDirectory</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *wildCard );
00551     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a0">ushort</a> <a class="code" href="classTFileList.html#a8">dataSize</a>();
00555     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a9">getData</a>( <span class="keywordtype">void</span> *rec );
00559     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a10">setData</a>( <span class="keywordtype">void</span> *rec );
00565     <a class="code" href="classTFileCollection.html">TFileCollection</a> *<a class="code" href="classTFileList.html#a11">list</a>();
00566 <span class="keyword">private</span>:
00567     <span class="keyword">virtual</span> <span class="keywordtype">void</span> *getKey( <span class="keyword">const</span> <span class="keywordtype">char</span> *s );
00568     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * tooManyFiles;
00569     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
00570 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTFileList.html#p0">name</a>; }
00571 <span class="keyword">protected</span>:
<a name="l00575"></a><a class="code" href="classTFileList.html#b0">00575</a>     <a class="code" href="classTFileList.html#a0">TFileList</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTSortedListBox.html">TSortedListBox</a> ( streamableInit ) {}
00576 <span class="keyword">public</span>:
<a name="l00580"></a><a class="code" href="classTFileList.html#p0">00580</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTFileList.html#p0">name</a>;
00584     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTFileList.html#d0">build</a>();
00585 };
00586 
<a name="l00590"></a><a class="code" href="stddlg_8h.html#a30">00590</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileList.html">TFileList</a>&amp; cl )
00591     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00595"></a><a class="code" href="stddlg_8h.html#a31">00595</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileList.html">TFileList</a>*&amp; cl )
00596     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
00597 
<a name="l00601"></a><a class="code" href="stddlg_8h.html#a32">00601</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileList.html">TFileList</a>&amp; cl )
00602     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00606"></a><a class="code" href="stddlg_8h.html#a33">00606</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileList.html">TFileList</a>* cl )
00607     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
00608 
<a name="l00609"></a><a class="code" href="classTFileList.html#a5">00609</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classTFileList.html#a5">TFileList::newList</a>( <a class="code" href="classTFileCollection.html">TFileCollection</a> *f )
00610 {
00611     <a class="code" href="classTSortedListBox.html#a2">TSortedListBox::newList</a>( f );
00612 }
00613 
<a name="l00614"></a><a class="code" href="classTFileList.html#a11">00614</a> <span class="keyword">inline</span> <a class="code" href="classTFileCollection.html">TFileCollection</a> *<a class="code" href="classTFileList.html#a11">TFileList::list</a>()
00615 {
00616     <span class="keywordflow">return</span> (<a class="code" href="classTFileCollection.html">TFileCollection</a> *)<a class="code" href="classTSortedListBox.html#a4">TSortedListBox::list</a>();
00617 }
00618 
00619 <span class="preprocessor">#endif  // Uses_TFileList</span>
00620 <span class="preprocessor"></span>
00621 
00622 <span class="preprocessor">#if defined( Uses_TFileInfoPane ) &amp;&amp; !defined( __TFileInfoPane )</span>
00623 <span class="preprocessor"></span><span class="preprocessor">#define __TFileInfoPane</span>
00624 <span class="preprocessor"></span>
00625 <span class="keyword">class </span><a class="code" href="classTRect.html">TRect</a>;
00626 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
00627 
<a name="l00634"></a><a class="code" href="classTFileInfoPane.html">00634</a> <span class="keyword">class </span><a class="code" href="classTFileInfoPane.html">TFileInfoPane</a> : <span class="keyword">public</span> <a class="code" href="classTView.html">TView</a>
00635 {
00636 <span class="keyword">public</span>:
00644     <a class="code" href="classTFileInfoPane.html#a0">TFileInfoPane</a>( <span class="keyword">const</span> <a class="code" href="classTRect.html">TRect</a>&amp; bounds );
00649     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileInfoPane.html#a1">draw</a>();
00653     <span class="keyword">virtual</span> <a class="code" href="classTPalette.html">TPalette</a>&amp; <a class="code" href="classTFileInfoPane.html#a2">getPalette</a>() <span class="keyword">const</span>;
00659     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileInfoPane.html#a3">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>&amp; event );
00660 <span class="keyword">private</span>:
00677     <a class="code" href="structTSearchRec.html">TSearchRec</a> file_block;
00678     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> months[13];
00679     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * pmText;
00680     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * amText;
00681     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
00682 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTFileInfoPane.html#p0">name</a>; }
00683 <span class="keyword">protected</span>:
<a name="l00687"></a><a class="code" href="classTFileInfoPane.html#b0">00687</a>     <a class="code" href="classTFileInfoPane.html#a0">TFileInfoPane</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTView.html">TView</a> ( streamableInit ) {}
00688 <span class="keyword">public</span>:
<a name="l00692"></a><a class="code" href="classTFileInfoPane.html#p0">00692</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTFileInfoPane.html#p0">name</a>;
00696     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTFileInfoPane.html#d0">build</a>();
00697 };
00698 
<a name="l00702"></a><a class="code" href="stddlg_8h.html#a34">00702</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>&amp; cl )
00703     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00707"></a><a class="code" href="stddlg_8h.html#a35">00707</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>*&amp; cl )
00708     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
00709 
<a name="l00713"></a><a class="code" href="stddlg_8h.html#a36">00713</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>&amp; cl )
00714     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00718"></a><a class="code" href="stddlg_8h.html#a37">00718</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>* cl )
00719     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
00720 
00721 <span class="preprocessor">#endif  // Uses_TFileInfoPane</span>
00722 <span class="preprocessor"></span>
00723 <span class="preprocessor">#if defined( Uses_TFileDialog ) &amp;&amp; !defined( __TFileDialog )</span>
00724 <span class="preprocessor"></span><span class="preprocessor">#define __TFileDialog</span>
00725 <span class="preprocessor"></span>
00726 <span class="keyword">const</span>
00727     <span class="keywordtype">int</span> fdOKButton  = 0x0001,      <span class="comment">// Put an OK button in the dialog</span>
00728     fdOpenButton    = 0x0002,      <span class="comment">// Put an Open button in the dialog</span>
00729     fdReplaceButton = 0x0004,      <span class="comment">// Put a Replace button in the dialog</span>
00730     fdClearButton   = 0x0008,      <span class="comment">// Put a Clear button in the dialog</span>
00731     fdHelpButton    = 0x0010,      <span class="comment">// Put a Help button in the dialog</span>
00732     fdNoLoadDir     = 0x0100;      <span class="comment">// Do not load the current directory</span>
00733                                    <span class="comment">// contents into the dialog at Init.</span>
00734                                    <span class="comment">// This means you intend to change the</span>
00735                                    <span class="comment">// WildCard by using SetData or store</span>
00736                                    <span class="comment">// the dialog on a stream.</span>
00737 
00738 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
00739 <span class="keyword">class </span><a class="code" href="classTFileInputLine.html">TFileInputLine</a>;
00740 <span class="keyword">class </span><a class="code" href="classTFileList.html">TFileList</a>;
00741 
<a name="l00762"></a><a class="code" href="classTFileDialog.html">00762</a> <span class="keyword">class </span><a class="code" href="classTFileDialog.html">TFileDialog</a> : <span class="keyword">public</span> <a class="code" href="classTDialog.html">TDialog</a>
00763 {
00764 <span class="keyword">public</span>:
00806     <a class="code" href="classTFileDialog.html#a0">TFileDialog</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *aWildCard, <span class="keyword">const</span> <span class="keywordtype">char</span> *aTitle,
00807                  <span class="keyword">const</span> <span class="keywordtype">char</span> *inputName, <a class="code" href="ttypes_8h.html#a0">ushort</a> aOptions, <a class="code" href="ttypes_8h.html#a1">uchar</a> histId );
00811     <a class="code" href="classTFileDialog.html#a1">~TFileDialog</a>();
00815     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileDialog.html#a2">getData</a>( <span class="keywordtype">void</span> *rec );
00822     <span class="keywordtype">void</span> <a class="code" href="classTFileDialog.html#a3">getFileName</a>( <span class="keywordtype">char</span> *s );
00830     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileDialog.html#a4">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>&amp; event );
00834     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileDialog.html#a5">setData</a>( <span class="keywordtype">void</span> *rec );
00845     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a13">Boolean</a> <a class="code" href="classTFileDialog.html#a6">valid</a>( <a class="code" href="ttypes_8h.html#a0">ushort</a> command );
00853     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileDialog.html#a7">shutDown</a>();
<a name="l00857"></a><a class="code" href="classTFileDialog.html#m0">00857</a>     <a class="code" href="classTFileInputLine.html">TFileInputLine</a> *<a class="code" href="classTFileDialog.html#m0">fileName</a>;
<a name="l00861"></a><a class="code" href="classTFileDialog.html#m1">00861</a>     <a class="code" href="classTFileList.html">TFileList</a> *<a class="code" href="classTFileDialog.html#m1">fileList</a>;
<a name="l00865"></a><a class="code" href="classTFileDialog.html#m2">00865</a>     <span class="keywordtype">char</span> <a class="code" href="classTFileDialog.html#m2">wildCard</a>[PATH_MAX];
<a name="l00869"></a><a class="code" href="classTFileDialog.html#m3">00869</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTFileDialog.html#m3">directory</a>;
00870 <span class="keyword">private</span>:
00871     <span class="keywordtype">void</span> readDirectory();
00872     <a class="code" href="ttypes_8h.html#a13">Boolean</a> checkDirectory( <span class="keyword">const</span> <span class="keywordtype">char</span> * );
00873     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * filesText;
00874     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * openText;
00875     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * okText;
00876     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * replaceText;
00877     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * clearText;
00878     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * cancelText;
00879     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * helpText;
00880     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * invalidDriveText;
00881     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * invalidFileText;
00882     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
00883 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTFileDialog.html#p0">name</a>; }
00884 <span class="keyword">protected</span>:
<a name="l00888"></a><a class="code" href="classTFileDialog.html#b0">00888</a>     <a class="code" href="classTFileDialog.html#a0">TFileDialog</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTDialog.html">TDialog</a> ( streamableInit ),
00889         <a class="code" href="classTWindowInit.html">TWindowInit</a>( <a class="code" href="classTFileDialog.html">TFileDialog</a>::<a class="code" href="classTWindow.html#d0">initFrame</a> ) {}
00893     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTFileDialog.html#b1">write</a>( <a class="code" href="classopstream.html">opstream</a>&amp; os );
00897     <span class="keyword">virtual</span> <span class="keywordtype">void</span> *<a class="code" href="classTFileDialog.html#b2">read</a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is );
00898 <span class="keyword">public</span>:
<a name="l00902"></a><a class="code" href="classTFileDialog.html#p0">00902</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTFileDialog.html#p0">name</a>;
00906     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTFileDialog.html#d0">build</a>();
00907 };
00908 
<a name="l00912"></a><a class="code" href="stddlg_8h.html#a38">00912</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileDialog.html">TFileDialog</a>&amp; cl )
00913     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00917"></a><a class="code" href="stddlg_8h.html#a39">00917</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTFileDialog.html">TFileDialog</a>*&amp; cl )
00918     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
00919 
<a name="l00923"></a><a class="code" href="stddlg_8h.html#a40">00923</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileDialog.html">TFileDialog</a>&amp; cl )
00924     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l00928"></a><a class="code" href="stddlg_8h.html#a41">00928</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTFileDialog.html">TFileDialog</a>* cl )
00929     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
00930 
00931 <span class="preprocessor">#endif  // Uses_TFileDialog</span>
00932 <span class="preprocessor"></span>
00933 
00934 <span class="preprocessor">#if defined( Uses_TDirEntry ) &amp;&amp; !defined( __TDirEntry )</span>
00935 <span class="preprocessor"></span><span class="preprocessor">#define __TDirEntry</span>
00936 <span class="preprocessor"></span>
<a name="l00943"></a><a class="code" href="classTDirEntry.html">00943</a> <span class="keyword">class </span><a class="code" href="classTDirEntry.html">TDirEntry</a>
00944 {
00945 <span class="keyword">public</span>:
00949     <a class="code" href="classTDirEntry.html#a0">TDirEntry</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *, <span class="keyword">const</span> <span class="keywordtype">char</span> * );
00953     <a class="code" href="classTDirEntry.html#a1">~TDirEntry</a>();
<a name="l00958"></a><a class="code" href="classTDirEntry.html#a2">00958</a>     <span class="keywordtype">char</span> *<a class="code" href="classTDirEntry.html#a2">dir</a>() { <span class="keywordflow">return</span> directory; }
<a name="l00963"></a><a class="code" href="classTDirEntry.html#a3">00963</a>     <span class="keywordtype">char</span> *<a class="code" href="classTDirEntry.html#a3">text</a>() { <span class="keywordflow">return</span> displayText; }
00964 <span class="keyword">private</span>:
00965     <span class="keywordtype">char</span> *displayText;
00966     <span class="keywordtype">char</span> *directory;
00967 };
00968 
<a name="l00969"></a><a class="code" href="classTDirEntry.html#a0">00969</a> <span class="keyword">inline</span> <a class="code" href="classTDirEntry.html#a0">TDirEntry::TDirEntry</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *txt, <span class="keyword">const</span> <span class="keywordtype">char</span> *dir ) :
00970     displayText( <a class="code" href="util_8h.html#a15">newStr</a>( txt ) ), directory( <a class="code" href="util_8h.html#a15">newStr</a>( dir ) )
00971 {
00972 }
00973 
<a name="l00974"></a><a class="code" href="classTDirEntry.html#a1">00974</a> <span class="keyword">inline</span> <a class="code" href="classTDirEntry.html#a1">TDirEntry::~TDirEntry</a>()
00975 {
00976     <span class="keyword">delete</span> displayText;
00977     <span class="keyword">delete</span> directory;
00978 }
00979 
00980 <span class="preprocessor">#endif  // Uses_TDirEntry</span>
00981 <span class="preprocessor"></span>
00982 <span class="preprocessor">#if defined( Uses_TDirCollection ) &amp;&amp; !defined( __TDirCollection )</span>
00983 <span class="preprocessor"></span><span class="preprocessor">#define __TDirCollection</span>
00984 <span class="preprocessor"></span>
00985 <span class="keyword">class </span><a class="code" href="classTDirEntry.html">TDirEntry</a>;
00986 
<a name="l00995"></a><a class="code" href="classTDirCollection.html">00995</a> <span class="keyword">class </span><a class="code" href="classTDirCollection.html">TDirCollection</a> : <span class="keyword">public</span> <a class="code" href="classTCollection.html">TCollection</a>
00996 {
00997 <span class="keyword">public</span>:
<a name="l01002"></a><a class="code" href="classTDirCollection.html#a0">01002</a>     <a class="code" href="classTDirCollection.html#a0">TDirCollection</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> aLimit, <a class="code" href="ttypes_8h.html#a5">ccIndex</a> aDelta) :
01003         <a class="code" href="classTCollection.html">TCollection</a>( aLimit, aDelta ) {}
<a name="l01009"></a><a class="code" href="classTDirCollection.html#a1">01009</a>     <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTDirCollection.html#a1">at</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> index )
01010         { <span class="keywordflow">return</span> (<a class="code" href="classTDirEntry.html">TDirEntry</a> *)<a class="code" href="classTNSCollection.html#a3">TCollection::at</a>( index );}
<a name="l01015"></a><a class="code" href="classTDirCollection.html#a2">01015</a>     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a5">ccIndex</a> <a class="code" href="classTDirCollection.html#a2">indexOf</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )
01016         { <span class="keywordflow">return</span> <a class="code" href="classTNSCollection.html#a4">TCollection::indexOf</a>( item ); }
<a name="l01022"></a><a class="code" href="classTDirCollection.html#a3">01022</a>     <span class="keywordtype">void</span> <a class="code" href="classTDirCollection.html#a3">remove</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )
01023         { <a class="code" href="classTNSCollection.html#a7">TCollection::remove</a>( item ); }
<a name="l01029"></a><a class="code" href="classTDirCollection.html#a4">01029</a>     <span class="keywordtype">void</span> <a class="code" href="classTDirCollection.html#a4">free</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )
01030         { <a class="code" href="classTNSCollection.html#a9">TCollection::free</a>( item ); }
<a name="l01038"></a><a class="code" href="classTDirCollection.html#a5">01038</a>     <span class="keywordtype">void</span> <a class="code" href="classTDirCollection.html#a5">atInsert</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> index, <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )
01039         { <a class="code" href="classTNSCollection.html#a11">TCollection::atInsert</a>( index, item ); }
<a name="l01044"></a><a class="code" href="classTDirCollection.html#a6">01044</a>     <span class="keywordtype">void</span> <a class="code" href="classTDirCollection.html#a6">atPut</a>( <a class="code" href="ttypes_8h.html#a5">ccIndex</a> index, <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )
01045         { <a class="code" href="classTNSCollection.html#a12">TCollection::atPut</a>( index, item ); }
<a name="l01052"></a><a class="code" href="classTDirCollection.html#a7">01052</a>     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a5">ccIndex</a> <a class="code" href="classTDirCollection.html#a7">insert</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )
01053         { <span class="keywordflow">return</span> <a class="code" href="classTNSCollection.html#a13">TCollection::insert</a>( item ); }
01058     <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTDirCollection.html#a8">firstThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> Test, <span class="keywordtype">void</span> *arg );
01065     <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTDirCollection.html#a9">lastThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> Test, <span class="keywordtype">void</span> *arg );
01066 <span class="keyword">private</span>:
01067     <span class="keyword">virtual</span> <span class="keywordtype">void</span> freeItem( <span class="keywordtype">void</span> *item )
01068         { <span class="keyword">delete</span> (<a class="code" href="classTDirEntry.html">TDirEntry</a> *)item; }
01069     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
01070 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTDirCollection.html#p0">name</a>; }
01080     <span class="keyword">virtual</span> <span class="keywordtype">void</span> *readItem( <a class="code" href="classipstream.html">ipstream</a>&amp; );
01090     <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeItem( <span class="keywordtype">void</span> *, <a class="code" href="classopstream.html">opstream</a>&amp; );
01091 <span class="keyword">protected</span>:
<a name="l01095"></a><a class="code" href="classTDirCollection.html#b0">01095</a>     <a class="code" href="classTDirCollection.html#a0">TDirCollection</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTCollection.html">TCollection</a> ( streamableInit ) {}
01096 <span class="keyword">public</span>:
<a name="l01100"></a><a class="code" href="classTDirCollection.html#p0">01100</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTDirCollection.html#p0">name</a>;
01104     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTDirCollection.html#d0">build</a>();
01105 };
01106 
<a name="l01110"></a><a class="code" href="stddlg_8h.html#a42">01110</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTDirCollection.html">TDirCollection</a>&amp; cl )
01111     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l01115"></a><a class="code" href="stddlg_8h.html#a43">01115</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTDirCollection.html">TDirCollection</a>*&amp; cl )
01116     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
01117 
<a name="l01121"></a><a class="code" href="stddlg_8h.html#a44">01121</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTDirCollection.html">TDirCollection</a>&amp; cl )
01122     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l01126"></a><a class="code" href="stddlg_8h.html#a45">01126</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTDirCollection.html">TDirCollection</a>* cl )
01127     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
01128 
<a name="l01129"></a><a class="code" href="classTDirCollection.html#a8">01129</a> <span class="keyword">inline</span> <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTDirCollection.html#a8">TDirCollection::firstThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> func, <span class="keywordtype">void</span> *arg )
01130 {
01131     <span class="keywordflow">return</span> (<a class="code" href="classTDirEntry.html">TDirEntry</a> *)<a class="code" href="classTNSCollection.html#a15">TCollection::firstThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a>(func), arg );
01132 }
01133 
<a name="l01134"></a><a class="code" href="classTDirCollection.html#a9">01134</a> <span class="keyword">inline</span> <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTDirCollection.html#a9">TDirCollection::lastThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a> func, <span class="keywordtype">void</span> *arg )
01135 {
01136     <span class="keywordflow">return</span> (<a class="code" href="classTDirEntry.html">TDirEntry</a> *)<a class="code" href="classTNSCollection.html#a16">TCollection::lastThat</a>( <a class="code" href="ttypes_8h.html#a6">ccTestFunc</a>(func), arg );
01137 }
01138 
01139 <span class="preprocessor">#endif  // Uses_TDirCollection</span>
01140 <span class="preprocessor"></span>
01141 
01142 <span class="preprocessor">#if defined( Uses_TDirListBox ) &amp;&amp; !defined( __TDirListBox )</span>
01143 <span class="preprocessor"></span><span class="preprocessor">#define __TDirListBox</span>
01144 <span class="preprocessor"></span>
01145 <span class="keyword">class </span><a class="code" href="classTRect.html">TRect</a>;
01146 <span class="keyword">class </span><a class="code" href="classTScrollBar.html">TScrollBar</a>;
01147 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
01148 <span class="keyword">class </span><a class="code" href="classTDirCollection.html">TDirCollection</a>;
01149 
<a name="l01159"></a><a class="code" href="classTDirListBox.html">01159</a> <span class="keyword">class </span><a class="code" href="classTDirListBox.html">TDirListBox</a> : <span class="keyword">public</span> <a class="code" href="classTListBox.html">TListBox</a>
01160 {
01161 <span class="keyword">public</span>:
01167     <a class="code" href="classTDirListBox.html#a0">TDirListBox</a>( <span class="keyword">const</span> <a class="code" href="classTRect.html">TRect</a>&amp; bounds, <a class="code" href="classTScrollBar.html">TScrollBar</a> *aScrollBar );
01172     <a class="code" href="classTDirListBox.html#a1">~TDirListBox</a>();
01176     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTDirListBox.html#a2">getText</a>( <span class="keywordtype">char</span> *dest, <span class="keywordtype">short</span> item, <span class="keywordtype">short</span> maxLen );
01184 <span class="comment">//    virtual void handleEvent( TEvent&amp; );</span>
01188 <span class="comment"></span>    <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a13">Boolean</a> <a class="code" href="classTDirListBox.html#a3">isSelected</a>( <span class="keywordtype">short</span> item );
01192     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTDirListBox.html#a4">selectItem</a>( <span class="keywordtype">short</span> item );
01199     <span class="keywordtype">void</span> <a class="code" href="classTDirListBox.html#a5">newDirectory</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *aList );
01203     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTDirListBox.html#a6">setState</a>( <a class="code" href="ttypes_8h.html#a0">ushort</a> aState, <a class="code" href="ttypes_8h.html#a13">Boolean</a> enable );
01208     <a class="code" href="classTDirCollection.html">TDirCollection</a> *<a class="code" href="classTDirListBox.html#a7">list</a>();
<a name="l01212"></a><a class="code" href="classTDirListBox.html#p0">01212</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTDirListBox.html#p0">pathDir</a>;
<a name="l01216"></a><a class="code" href="classTDirListBox.html#p1">01216</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTDirListBox.html#p1">firstDir</a>;
<a name="l01220"></a><a class="code" href="classTDirListBox.html#p2">01220</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTDirListBox.html#p2">middleDir</a>;
<a name="l01224"></a><a class="code" href="classTDirListBox.html#p3">01224</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTDirListBox.html#p3">lastDir</a>;
<a name="l01228"></a><a class="code" href="classTDirListBox.html#p4">01228</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTDirListBox.html#p4">graphics</a>;
01229 <span class="keyword">private</span>:
01230     <span class="keywordtype">void</span> showDrives( <a class="code" href="classTDirCollection.html">TDirCollection</a> * );
01231     <span class="keywordtype">void</span> showDirs( <a class="code" href="classTDirCollection.html">TDirCollection</a> * );
01232     <span class="keywordtype">char</span> dir[PATH_MAX];
01233     <a class="code" href="ttypes_8h.html#a0">ushort</a> cur;
01234     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * drives;
01235     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
01236 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTDirListBox.html#p5">name</a>; }
01237 <span class="keyword">protected</span>:
<a name="l01241"></a><a class="code" href="classTDirListBox.html#b0">01241</a>     <a class="code" href="classTDirListBox.html#a0">TDirListBox</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ): <a class="code" href="classTListBox.html">TListBox</a>( streamableInit ) {}
01242 <span class="keyword">public</span>:
<a name="l01246"></a><a class="code" href="classTDirListBox.html#p5">01246</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTDirListBox.html#p5">name</a>;
01250     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTDirListBox.html#d0">build</a>();
01251 };
01252 
<a name="l01256"></a><a class="code" href="stddlg_8h.html#a46">01256</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTDirListBox.html">TDirListBox</a>&amp; cl )
01257     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l01261"></a><a class="code" href="stddlg_8h.html#a47">01261</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTDirListBox.html">TDirListBox</a>*&amp; cl )
01262     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
01263 
<a name="l01267"></a><a class="code" href="stddlg_8h.html#a48">01267</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTDirListBox.html">TDirListBox</a>&amp; cl )
01268     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l01272"></a><a class="code" href="stddlg_8h.html#a49">01272</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTDirListBox.html">TDirListBox</a>* cl )
01273     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
01274 
<a name="l01275"></a><a class="code" href="classTDirListBox.html#a7">01275</a> <span class="keyword">inline</span> <a class="code" href="classTDirCollection.html">TDirCollection</a> *<a class="code" href="classTDirListBox.html#a7">TDirListBox::list</a>()
01276 {
01277     <span class="keywordflow">return</span> (<a class="code" href="classTDirCollection.html">TDirCollection</a> *)<a class="code" href="classTListBox.html#a7">TListBox::list</a>();
01278 }
01279 
01280 <span class="preprocessor">#endif  // Uses_TDirListBox</span>
01281 <span class="preprocessor"></span>
01282 <span class="preprocessor">#if defined( Uses_TChDirDialog ) &amp;&amp; !defined( __TChDirDialog )</span>
01283 <span class="preprocessor"></span><span class="preprocessor">#define __TChDirDialog</span>
01284 <span class="preprocessor"></span>
01285 <span class="keyword">const</span>
01286     <span class="keywordtype">int</span> cdNormal = 0x0000, <span class="comment">// Option to use dialog immediately</span>
01287     cdNoLoadDir  = 0x0001, <span class="comment">// Option to init the dialog to store on a stream</span>
01288     cdHelpButton = 0x0002; <span class="comment">// Put a help button in the dialog</span>
01289 
01290 <span class="keyword">class </span><a class="code" href="structTEvent.html">TEvent</a>;
01291 <span class="keyword">class </span><a class="code" href="classTInputLine.html">TInputLine</a>;
01292 <span class="keyword">class </span><a class="code" href="classTDirListBox.html">TDirListBox</a>;
01293 <span class="keyword">class </span><a class="code" href="classTButton.html">TButton</a>;
01294 
<a name="l01326"></a><a class="code" href="classTChDirDialog.html">01326</a> <span class="keyword">class </span><a class="code" href="classTChDirDialog.html">TChDirDialog</a> : <span class="keyword">public</span> <a class="code" href="classTDialog.html">TDialog</a>
01327 {
01328 <span class="keyword">public</span>:
01329     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTDirListBox.html">TDirListBox</a>;
01367     <a class="code" href="classTChDirDialog.html#a0">TChDirDialog</a>( <a class="code" href="ttypes_8h.html#a0">ushort</a> aOptions, <a class="code" href="ttypes_8h.html#a0">ushort</a> histId );
01376     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a0">ushort</a> <a class="code" href="classTChDirDialog.html#a1">dataSize</a>();
01385     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTChDirDialog.html#a2">getData</a>( <span class="keywordtype">void</span> *rec );
01393     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTChDirDialog.html#a3">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>&amp; );
01402     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTChDirDialog.html#a4">setData</a>( <span class="keywordtype">void</span> *rec );
01412     <span class="keyword">virtual</span> <a class="code" href="ttypes_8h.html#a13">Boolean</a> <a class="code" href="classTChDirDialog.html#a5">valid</a>( <a class="code" href="ttypes_8h.html#a0">ushort</a> command );
01427     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTChDirDialog.html#a6">shutDown</a>();
01428 <span class="keyword">private</span>:
01429     <span class="keywordtype">void</span> setUpDialog();
01430     <a class="code" href="classTInputLine.html">TInputLine</a> *dirInput;
01431     <a class="code" href="classTDirListBox.html">TDirListBox</a> *dirList;
01432     <a class="code" href="classTButton.html">TButton</a> *okButton;
01433     <a class="code" href="classTButton.html">TButton</a> *chDirButton;
01434     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * changeDirTitle;
01435     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * dirNameText;
01436     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * dirTreeText;
01437     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * okText;
01438     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * chdirText;
01439     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * revertText;
01440     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * helpText;
01441     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * drivesText;
01442     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * invalidText;
01443     <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *streamableName()<span class="keyword"> const</span>
01444 <span class="keyword">        </span>{ <span class="keywordflow">return</span> <a class="code" href="classTChDirDialog.html#p0">name</a>; }
01445 <span class="keyword">protected</span>:
<a name="l01451"></a><a class="code" href="classTChDirDialog.html#b0">01451</a>     <a class="code" href="classTChDirDialog.html#a0">TChDirDialog</a>( <a class="code" href="ttypes_8h.html#a14">StreamableInit</a> ) : <a class="code" href="classTDialog.html">TDialog</a>( streamableInit ),
01452         <a class="code" href="classTWindowInit.html">TWindowInit</a>( <a class="code" href="classTChDirDialog.html">TChDirDialog</a>::<a class="code" href="classTWindow.html#d0">initFrame</a> ) {}
01457     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTChDirDialog.html#b1">write</a>( <a class="code" href="classopstream.html">opstream</a>&amp; os );
01462     <span class="keyword">virtual</span> <span class="keywordtype">void</span> *<a class="code" href="classTChDirDialog.html#b2">read</a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is );
01463 <span class="keyword">public</span>:
<a name="l01467"></a><a class="code" href="classTChDirDialog.html#p0">01467</a>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> <a class="code" href="classTChDirDialog.html#p0">name</a>;
01473     <span class="keyword">static</span> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTChDirDialog.html#d0">build</a>();
01474 };
01475 
<a name="l01479"></a><a class="code" href="stddlg_8h.html#a50">01479</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>&amp; cl )
01480     { <span class="keywordflow">return</span> is &gt;&gt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l01484"></a><a class="code" href="stddlg_8h.html#a51">01484</a> <span class="keyword">inline</span> <a class="code" href="classipstream.html">ipstream</a>&amp; <a class="code" href="views_8h.html#a136">operator &gt;&gt; </a>( <a class="code" href="classipstream.html">ipstream</a>&amp; is, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>*&amp; cl )
01485     { <span class="keywordflow">return</span> is &gt;&gt; (<span class="keywordtype">void</span> *&amp;)cl; }
01486 
<a name="l01490"></a><a class="code" href="stddlg_8h.html#a52">01490</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>&amp; cl )
01491     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a>&amp;)cl; }
<a name="l01495"></a><a class="code" href="stddlg_8h.html#a53">01495</a> <span class="keyword">inline</span> <a class="code" href="classopstream.html">opstream</a>&amp; <a class="code" href="views_8h.html#a138">operator &lt;&lt; </a>( <a class="code" href="classopstream.html">opstream</a>&amp; os, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>* cl )
01496     { <span class="keywordflow">return</span> os &lt;&lt; (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; }
01497 
01498 <span class="preprocessor">#endif  // Uses_TChDirDialog</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Apr 2 22:13:09 2003 for TVision by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.18 </small></address>
</body>
</html>