diff options
Diffstat (limited to 'sigalatvision/doc/html/stddlg_8h-source.html')
-rw-r--r-- | sigalatvision/doc/html/stddlg_8h-source.html | 611 |
1 files changed, 611 insertions, 0 deletions
diff --git a/sigalatvision/doc/html/stddlg_8h-source.html b/sigalatvision/doc/html/stddlg_8h-source.html new file mode 100644 index 0000000..d5b0b8a --- /dev/null +++ b/sigalatvision/doc/html/stddlg_8h-source.html @@ -0,0 +1,611 @@ +<!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 bgcolor="#ffffff"> +<!-- Generated by Doxygen 1.2.8.1 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center> +<hr><h1>stddlg.h</h1><a href="stddlg_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">/*</font> +00002 <font class="comment"> * stddlg.h</font> +00003 <font class="comment"> *</font> +00004 <font class="comment"> * Turbo Vision - Version 2.0</font> +00005 <font class="comment"> *</font> +00006 <font class="comment"> * Copyright (c) 1994 by Borland International</font> +00007 <font class="comment"> * All Rights Reserved.</font> +00008 <font class="comment"> *</font> +00009 <font class="comment"> * Modified by Sergio Sigala <sergio@sigala.it></font> +00010 <font class="comment"> */</font> +00011 +00012 <font class="preprocessor">#if !defined( __FILE_CMDS )</font> +00013 <font class="preprocessor"></font><font class="preprocessor">#define __FILE_CMDS</font> +00014 <font class="preprocessor"></font> +00019 <font class="keyword">const</font> +00020 +00021 <font class="comment">// Commands</font> +00022 +00023 <font class="keywordtype">int</font> cmFileOpen = 1001, <font class="comment">// Returned from TFileDialog when Open pressed</font> +00024 cmFileReplace = 1002, <font class="comment">// Returned from TFileDialog when Replace pressed</font> +00025 cmFileClear = 1003, <font class="comment">// Returned from TFileDialog when Clear pressed</font> +00026 cmFileInit = 1004, <font class="comment">// Used by TFileDialog internally</font> +00027 cmChangeDir = 1005, <font class="comment">//</font> +00028 cmRevert = 1006, <font class="comment">// Used by TChDirDialog internally</font> +00029 <font class="preprocessor">#ifndef __UNPATCHED</font> +00030 <font class="preprocessor"></font> cmDirSelection= 1007, +00031 <font class="preprocessor">#endif</font> +00032 <font class="preprocessor"></font> +00033 <font class="comment">// Messages</font> +00034 +<a name="l00035"></a><a class="code" href="stddlg_8h.html#a7">00035</a> cmFileFocused = 102, <font class="comment">// A new file was focused in the TFileList</font> +00036 cmFileDoubleClicked <font class="comment">// A file was selected in the TFileList</font> +<a name="l00037"></a><a class="code" href="stddlg_8h.html#a8">00037</a> = 103; +00038 +00039 <font class="preprocessor">#endif // __FILE_CMDS</font> +00040 <font class="preprocessor"></font> +00041 <font class="preprocessor">#if defined( Uses_TSearchRec ) && !defined( __TSearchRec )</font> +00042 <font class="preprocessor"></font><font class="preprocessor">#define __TSearchRec</font> +00043 <font class="preprocessor"></font> +00044 <font class="preprocessor">#include <limits.h></font> +00045 +00046 <font class="comment">/* SS: some dos stuff */</font> +00047 +00048 <font class="preprocessor">#define FA_ARCH 0x01</font> +00049 <font class="preprocessor"></font><font class="preprocessor">#define FA_DIREC 0x02</font> +00050 <font class="preprocessor"></font><font class="preprocessor">#define FA_RDONLY 0x04</font> +00051 <font class="preprocessor"></font> +<a name="l00056"></a><a class="code" href="structftime.html">00056</a> <font class="keyword">struct </font><a class="code" href="structftime.html">ftime</a> { +<a name="l00060"></a><a class="code" href="structftime.html#m0">00060</a> <font class="keywordtype">unsigned</font> ft_tsec : 5; <font class="comment">/* Two second interval */</font> +<a name="l00064"></a><a class="code" href="structftime.html#m1">00064</a> <font class="keywordtype">unsigned</font> ft_min : 6; <font class="comment">/* Minutes */</font> +<a name="l00068"></a><a class="code" href="structftime.html#m2">00068</a> <font class="keywordtype">unsigned</font> ft_hour : 5; <font class="comment">/* Hours */</font> +<a name="l00072"></a><a class="code" href="structftime.html#m3">00072</a> <font class="keywordtype">unsigned</font> ft_day : 5; <font class="comment">/* Days */</font> +<a name="l00076"></a><a class="code" href="structftime.html#m4">00076</a> <font class="keywordtype">unsigned</font> ft_month : 4; <font class="comment">/* Months */</font> +<a name="l00080"></a><a class="code" href="structftime.html#m5">00080</a> <font class="keywordtype">unsigned</font> ft_year : 7; <font class="comment">/* Year */</font> +00081 }; +00082 +<a name="l00088"></a><a class="code" href="structTSearchRec.html">00088</a> <font class="keyword">struct </font><a class="code" href="structTSearchRec.html">TSearchRec</a> +00089 { +<a name="l00093"></a><a class="code" href="structTSearchRec.html#m0">00093</a> uchar attr; +<a name="l00097"></a><a class="code" href="structTSearchRec.html#m1">00097</a> <font class="keywordtype">long</font> time; +<a name="l00101"></a><a class="code" href="structTSearchRec.html#m2">00101</a> <font class="keywordtype">long</font> size; +<a name="l00105"></a><a class="code" href="structTSearchRec.html#m3">00105</a> <font class="keywordtype">char</font> name[PATH_MAX]; +00106 }; +00107 +00108 <font class="preprocessor">#endif // Uses_TSearchRec</font> +00109 <font class="preprocessor"></font> +00110 <font class="preprocessor">#if defined( Uses_TFileInputLine ) && !defined( __TFileInputLine )</font> +00111 <font class="preprocessor"></font><font class="preprocessor">#define __TFileInputLine</font> +00112 <font class="preprocessor"></font> +00113 <font class="keyword">class </font><a class="code" href="classTRect.html">TRect</a>; +00114 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +00115 +<a name="l00124"></a><a class="code" href="classTFileInputLine.html">00124</a> <font class="keyword">class </font><a class="code" href="classTFileInputLine.html">TFileInputLine</a> : <font class="keyword">public</font> <a class="code" href="classTInputLine.html">TInputLine</a> +00125 { +00126 <font class="keyword">public</font>: +00133 <a class="code" href="classTFileInputLine.html#a0">TFileInputLine</a>( <font class="keyword">const</font> <a class="code" href="classTRect.html">TRect</a>& bounds, <font class="keywordtype">short</font> aMaxLen ); +00142 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTInputLine.html#a6">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>& event ); +00143 <font class="keyword">private</font>: +00144 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +00145 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +00146 <font class="keyword">protected</font>: +00150 <a class="code" href="classTFileInputLine.html#a0">TFileInputLine</a>( StreamableInit ); +00151 <font class="keyword">public</font>: +<a name="l00155"></a><a class="code" href="classTFileInputLine.html#p0">00155</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +00159 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTInputLine.html#d0">build</a>(); +00160 }; +00161 +<a name="l00165"></a><a class="code" href="stddlg_8h.html#a18">00165</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>& cl )<font class="keyword"></font> +00166 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00170"></a><a class="code" href="stddlg_8h.html#a19">00170</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>*& cl )<font class="keyword"></font> +00171 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +00172 +<a name="l00176"></a><a class="code" href="stddlg_8h.html#a20">00176</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>& cl )<font class="keyword"></font> +00177 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00181"></a><a class="code" href="stddlg_8h.html#a21">00181</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileInputLine.html">TFileInputLine</a>* cl )<font class="keyword"></font> +00182 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +00183 +00184 <font class="preprocessor">#endif // Uses_TFileInputLine</font> +00185 <font class="preprocessor"></font> +00186 <font class="preprocessor">#if defined( Uses_TFileCollection ) && !defined( __TFileCollection )</font> +00187 <font class="preprocessor"></font><font class="preprocessor">#define __TFileCollection</font> +00188 <font class="preprocessor"></font> +00189 <font class="keyword">class </font><a class="code" href="structTSearchRec.html">TSearchRec</a>; +00190 +<a name="l00196"></a><a class="code" href="classTFileCollection.html">00196</a> <font class="keyword">class </font><a class="code" href="classTFileCollection.html">TFileCollection</a>: <font class="keyword">public</font> <a class="code" href="classTSortedCollection.html">TSortedCollection</a> +00197 { +00198 <font class="keyword">public</font>: +<a name="l00203"></a><a class="code" href="classTFileCollection.html#a0">00203</a> <a class="code" href="classTFileCollection.html#a0">TFileCollection</a>( ccIndex aLimit, ccIndex 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="classTNSCollection.html#a3">at</a>( ccIndex index )<font class="keyword"></font> +00210 <font class="keyword"> </font>{ <font class="keywordflow">return</font> (<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> <font class="keyword">virtual</font> ccIndex <a class="code" href="classTNSSortedCollection.html#a2">indexOf</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )<font class="keyword"></font> +00216 <font class="keyword"> </font>{ <font class="keywordflow">return</font> <a class="code" href="classTNSSortedCollection.html#a2">TSortedCollection::indexOf</a>( item ); } +<a name="l00221"></a><a class="code" href="classTFileCollection.html#a3">00221</a> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a7">remove</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )<font class="keyword"></font> +00222 <font class="keyword"> </font>{ <a class="code" href="classTNSCollection.html#a7">TSortedCollection::remove</a>( item ); } +<a name="l00227"></a><a class="code" href="classTFileCollection.html#a4">00227</a> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a9">free</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )<font class="keyword"></font> +00228 <font class="keyword"> </font>{ <a class="code" href="classTNSCollection.html#a9">TSortedCollection::free</a>( item ); } +<a name="l00237"></a><a class="code" href="classTFileCollection.html#a5">00237</a> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a11">atInsert</a>( ccIndex index, <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )<font class="keyword"></font> +00238 <font class="keyword"> </font>{ <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> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a12">atPut</a>( ccIndex index, <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )<font class="keyword"></font> +00243 <font class="keyword"> </font>{ <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> <font class="keyword">virtual</font> ccIndex <a class="code" href="classTNSSortedCollection.html#a3">insert</a>( <a class="code" href="structTSearchRec.html">TSearchRec</a> *item )<font class="keyword"></font> +00252 <font class="keyword"> </font>{ <font class="keywordflow">return</font> <a class="code" href="classTNSSortedCollection.html#a3">TSortedCollection::insert</a>( item ); } +00257 <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTNSCollection.html#a15">firstThat</a>( ccTestFunc Test, <font class="keywordtype">void</font> *arg ); +00263 <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTNSCollection.html#a16">lastThat</a>( ccTestFunc Test, <font class="keywordtype">void</font> *arg ); +00264 <font class="keyword">private</font>: +00265 <font class="keyword">virtual</font> <font class="keywordtype">void</font> freeItem( <font class="keywordtype">void</font> *item )<font class="keyword"></font> +00266 <font class="keyword"> </font>{ <font class="keyword">delete</font> (<a class="code" href="structTSearchRec.html">TSearchRec</a> *)item; } +00281 <font class="keyword">virtual</font> <font class="keywordtype">int</font> compare( <font class="keywordtype">void</font> *key1, <font class="keywordtype">void</font> *key2 ); +00285 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +00286 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +00291 <font class="keyword">virtual</font> <font class="keywordtype">void</font> *readItem( <a class="code" href="classipstream.html">ipstream</a>& ); +00296 <font class="keyword">virtual</font> <font class="keywordtype">void</font> writeItem( <font class="keywordtype">void</font> *, <a class="code" href="classopstream.html">opstream</a>& ); +00297 <font class="keyword">protected</font>: +<a name="l00301"></a><a class="code" href="classTFileCollection.html#b0">00301</a> <a class="code" href="classTFileCollection.html#a0">TFileCollection</a>( StreamableInit ) : <a class="code" href="classTSortedCollection.html">TSortedCollection</a> ( streamableInit ) {} +00302 <font class="keyword">public</font>: +<a name="l00306"></a><a class="code" href="classTFileCollection.html#p0">00306</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +00310 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTInputLine.html#d0">build</a>(); +00311 }; +00312 +<a name="l00316"></a><a class="code" href="stddlg_8h.html#a22">00316</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileCollection.html">TFileCollection</a>& cl )<font class="keyword"></font> +00317 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00321"></a><a class="code" href="stddlg_8h.html#a23">00321</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileCollection.html">TFileCollection</a>*& cl )<font class="keyword"></font> +00322 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +00323 +<a name="l00327"></a><a class="code" href="stddlg_8h.html#a24">00327</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileCollection.html">TFileCollection</a>& cl )<font class="keyword"></font> +00328 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00332"></a><a class="code" href="stddlg_8h.html#a25">00332</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileCollection.html">TFileCollection</a>* cl )<font class="keyword"></font> +00333 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +00334 +<a name="l00335"></a><a class="code" href="classTFileCollection.html#a8">00335</a> <font class="keyword">inline</font> <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTNSCollection.html#a15">TFileCollection::firstThat</a>( ccTestFunc func, <font class="keywordtype">void</font> *arg )<font class="keyword"></font> +00336 <font class="keyword"></font>{ +00337 <font class="keywordflow">return</font> (<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> <font class="keyword">inline</font> <a class="code" href="structTSearchRec.html">TSearchRec</a> *<a class="code" href="classTNSCollection.html#a16">TFileCollection::lastThat</a>( ccTestFunc func, <font class="keywordtype">void</font> *arg )<font class="keyword"></font> +00341 <font class="keyword"></font>{ +00342 <font class="keywordflow">return</font> (<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 <font class="preprocessor">#endif // Uses_TFileCollection</font> +00346 <font class="preprocessor"></font> +00347 +00348 <font class="preprocessor">#if defined( Uses_TSortedListBox ) && !defined( __TSortedListBox )</font> +00349 <font class="preprocessor"></font><font class="preprocessor">#define __TSortedListBox</font> +00350 <font class="preprocessor"></font> +00351 <font class="keyword">class </font><a class="code" href="classTRect.html">TRect</a>; +00352 <font class="keyword">class </font><a class="code" href="classTScrollBar.html">TScrollBar</a>; +00353 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +00354 <font class="keyword">class </font><a class="code" href="classTSortedCollection.html">TSortedCollection</a>; +00355 +<a name="l00362"></a><a class="code" href="classTSortedListBox.html">00362</a> <font class="keyword">class </font><a class="code" href="classTSortedListBox.html">TSortedListBox</a>: <font class="keyword">public</font> <a class="code" href="classTListBox.html">TListBox</a> +00363 { +00364 <font class="keyword">public</font>: +00374 <a class="code" href="classTSortedListBox.html#a0">TSortedListBox</a>( <font class="keyword">const</font> <a class="code" href="classTRect.html">TRect</a>& bounds, +00375 ushort aNumCols, +00376 <a class="code" href="classTScrollBar.html">TScrollBar</a> *aScrollBar +00377 ); +00382 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTInputLine.html#a6">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>& event ); +00390 <font class="keywordtype">void</font> <a class="code" href="classTListBox.html#a5">newList</a>( <a class="code" href="classTSortedCollection.html">TSortedCollection</a> *aList ); +00391 <font class="preprocessor">#ifndef __UNPATCHED</font> +00392 <font class="preprocessor"></font> <font class="keywordtype">void</font> *<a class="code" href="classTInputLine.html#b2">read</a>( <a class="code" href="classipstream.html">ipstream</a>& is ); +00393 <font class="preprocessor">#endif</font> +00394 <font class="preprocessor"></font> +00405 <a class="code" href="classTSortedCollection.html">TSortedCollection</a> *<a class="code" href="classTListBox.html#a7">list</a>(); +00406 <font class="keyword">protected</font>: +<a name="l00410"></a><a class="code" href="classTSortedListBox.html#n0">00410</a> uchar shiftState; +00411 <font class="keyword">private</font>: +00418 <font class="keyword">virtual</font> <font class="keywordtype">void</font> *getKey( <font class="keyword">const</font> <font class="keywordtype">char</font> *s ); +00419 <font class="keywordtype">short</font> searchPos; +00420 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +00421 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +00422 <font class="keyword">protected</font>: +<a name="l00426"></a><a class="code" href="classTSortedListBox.html#b0">00426</a> <a class="code" href="classTSortedListBox.html#a0">TSortedListBox</a>( StreamableInit ) : <a class="code" href="classTListBox.html">TListBox</a> ( streamableInit ) {} +00427 <font class="keyword">public</font>: +<a name="l00431"></a><a class="code" href="classTSortedListBox.html#p0">00431</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +00435 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTInputLine.html#d0">build</a>(); +00436 }; +00437 +<a name="l00441"></a><a class="code" href="stddlg_8h.html#a26">00441</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>& cl )<font class="keyword"></font> +00442 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00446"></a><a class="code" href="stddlg_8h.html#a27">00446</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>*& cl )<font class="keyword"></font> +00447 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +00448 +<a name="l00452"></a><a class="code" href="stddlg_8h.html#a28">00452</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>& cl )<font class="keyword"></font> +00453 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00457"></a><a class="code" href="stddlg_8h.html#a29">00457</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTSortedListBox.html">TSortedListBox</a>* cl )<font class="keyword"></font> +00458 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +00459 +<a name="l00460"></a><a class="code" href="classTSortedListBox.html#a4">00460</a> <font class="keyword">inline</font> <a class="code" href="classTSortedCollection.html">TSortedCollection</a> *<a class="code" href="classTListBox.html#a7">TSortedListBox::list</a>()<font class="keyword"></font> +00461 <font class="keyword"></font>{ +00462 <font class="keywordflow">return</font> (<a class="code" href="classTSortedCollection.html">TSortedCollection</a> *)<a class="code" href="classTListBox.html#a7">TListBox::list</a>(); +00463 } +00464 +00465 <font class="preprocessor">#endif // Uses_TSortedListBox</font> +00466 <font class="preprocessor"></font> +00467 <font class="preprocessor">#if defined( Uses_TFileList ) && !defined( __TFileList )</font> +00468 <font class="preprocessor"></font><font class="preprocessor">#define __TFileList</font> +00469 <font class="preprocessor"></font> +00470 <font class="keyword">class </font><a class="code" href="classTRect.html">TRect</a>; +00471 <font class="keyword">class </font><a class="code" href="classTScrollBar.html">TScrollBar</a>; +00472 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +00473 +<a name="l00491"></a><a class="code" href="classTFileList.html">00491</a> <font class="keyword">class </font><a class="code" href="classTFileList.html">TFileList</a> : <font class="keyword">public</font> <a class="code" href="classTSortedListBox.html">TSortedListBox</a> +00492 { +00493 <font class="keyword">public</font>: +00500 <a class="code" href="classTFileList.html#a0">TFileList</a>( <font class="keyword">const</font> <a class="code" href="classTRect.html">TRect</a>& bounds, +00501 <a class="code" href="classTScrollBar.html">TScrollBar</a> *aScrollBar +00502 ); +00506 <a class="code" href="classTFileList.html#a1">~TFileList</a>(); +00511 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTListViewer.html#a3">focusItem</a>( <font class="keywordtype">short</font> item ); +00515 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTListViewer.html#a8">selectItem</a>( <font class="keywordtype">short</font> item ); +00521 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTListBox.html#a4">getText</a>( <font class="keywordtype">char</font> *dest, <font class="keywordtype">short</font> item, <font class="keywordtype">short</font> maxLen ); +00529 <font class="keywordtype">void</font> <a class="code" href="classTListBox.html#a5">newList</a>( <a class="code" href="classTFileCollection.html">TFileCollection</a> *aList ); +00535 <font class="keywordtype">void</font> <a class="code" href="classTFileList.html#a6">readDirectory</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *dir, <font class="keyword">const</font> <font class="keywordtype">char</font> *wildCard ); +00547 <font class="keywordtype">void</font> <a class="code" href="classTFileList.html#a6">readDirectory</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *wildCard ); +00551 <font class="keyword">virtual</font> ushort <a class="code" href="classTInputLine.html#a2">dataSize</a>(); +00555 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTInputLine.html#a4">getData</a>( <font class="keywordtype">void</font> *rec ); +00559 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTInputLine.html#a8">setData</a>( <font class="keywordtype">void</font> *rec ); +00565 <a class="code" href="classTFileCollection.html">TFileCollection</a> *<a class="code" href="classTListBox.html#a7">list</a>(); +00566 <font class="keyword">private</font>: +00567 <font class="keyword">virtual</font> <font class="keywordtype">void</font> *getKey( <font class="keyword">const</font> <font class="keywordtype">char</font> *s ); +00568 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * tooManyFiles; +00569 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +00570 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +00571 <font class="keyword">protected</font>: +<a name="l00575"></a><a class="code" href="classTFileList.html#b0">00575</a> <a class="code" href="classTFileList.html#a0">TFileList</a>( StreamableInit ) : <a class="code" href="classTSortedListBox.html">TSortedListBox</a> ( streamableInit ) {} +00576 <font class="keyword">public</font>: +<a name="l00580"></a><a class="code" href="classTFileList.html#p0">00580</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +00584 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTInputLine.html#d0">build</a>(); +00585 }; +00586 +<a name="l00590"></a><a class="code" href="stddlg_8h.html#a30">00590</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileList.html">TFileList</a>& cl )<font class="keyword"></font> +00591 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00595"></a><a class="code" href="stddlg_8h.html#a31">00595</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileList.html">TFileList</a>*& cl )<font class="keyword"></font> +00596 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +00597 +<a name="l00601"></a><a class="code" href="stddlg_8h.html#a32">00601</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileList.html">TFileList</a>& cl )<font class="keyword"></font> +00602 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00606"></a><a class="code" href="stddlg_8h.html#a33">00606</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileList.html">TFileList</a>* cl )<font class="keyword"></font> +00607 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +00608 +<a name="l00609"></a><a class="code" href="classTFileList.html#a5">00609</a> <font class="keyword">inline</font> <font class="keywordtype">void</font> <a class="code" href="classTListBox.html#a5">TFileList::newList</a>( <a class="code" href="classTFileCollection.html">TFileCollection</a> *f )<font class="keyword"></font> +00610 <font class="keyword"></font>{ +00611 <a class="code" href="classTListBox.html#a5">TSortedListBox::newList</a>( f ); +00612 } +00613 +<a name="l00614"></a><a class="code" href="classTFileList.html#a11">00614</a> <font class="keyword">inline</font> <a class="code" href="classTFileCollection.html">TFileCollection</a> *<a class="code" href="classTListBox.html#a7">TFileList::list</a>()<font class="keyword"></font> +00615 <font class="keyword"></font>{ +00616 <font class="keywordflow">return</font> (<a class="code" href="classTFileCollection.html">TFileCollection</a> *)<a class="code" href="classTListBox.html#a7">TSortedListBox::list</a>(); +00617 } +00618 +00619 <font class="preprocessor">#endif // Uses_TFileList</font> +00620 <font class="preprocessor"></font> +00621 +00622 <font class="preprocessor">#if defined( Uses_TFileInfoPane ) && !defined( __TFileInfoPane )</font> +00623 <font class="preprocessor"></font><font class="preprocessor">#define __TFileInfoPane</font> +00624 <font class="preprocessor"></font> +00625 <font class="keyword">class </font><a class="code" href="classTRect.html">TRect</a>; +00626 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +00627 +<a name="l00634"></a><a class="code" href="classTFileInfoPane.html">00634</a> <font class="keyword">class </font><a class="code" href="classTFileInfoPane.html">TFileInfoPane</a> : <font class="keyword">public</font> <a class="code" href="classTView.html">TView</a> +00635 { +00636 <font class="keyword">public</font>: +00644 <a class="code" href="classTFileInfoPane.html#a0">TFileInfoPane</a>( <font class="keyword">const</font> <a class="code" href="classTRect.html">TRect</a>& bounds ); +00649 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTInputLine.html#a3">draw</a>(); +00653 <font class="keyword">virtual</font> <a class="code" href="classTPalette.html">TPalette</a>& <a class="code" href="classTInputLine.html#a5">getPalette</a>() <font class="keyword">const</font>; +00659 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTInputLine.html#a6">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>& event ); +00660 <font class="keyword">private</font>: +00677 <a class="code" href="structTSearchRec.html">TSearchRec</a> file_block; +00678 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> months[13]; +00679 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * pmText; +00680 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * amText; +00681 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +00682 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +00683 <font class="keyword">protected</font>: +<a name="l00687"></a><a class="code" href="classTFileInfoPane.html#b0">00687</a> <a class="code" href="classTFileInfoPane.html#a0">TFileInfoPane</a>( StreamableInit ) : <a class="code" href="classTView.html">TView</a> ( streamableInit ) {} +00688 <font class="keyword">public</font>: +<a name="l00692"></a><a class="code" href="classTFileInfoPane.html#p0">00692</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +00696 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTInputLine.html#d0">build</a>(); +00697 }; +00698 +<a name="l00702"></a><a class="code" href="stddlg_8h.html#a34">00702</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>& cl )<font class="keyword"></font> +00703 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00707"></a><a class="code" href="stddlg_8h.html#a35">00707</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>*& cl )<font class="keyword"></font> +00708 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +00709 +<a name="l00713"></a><a class="code" href="stddlg_8h.html#a36">00713</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>& cl )<font class="keyword"></font> +00714 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00718"></a><a class="code" href="stddlg_8h.html#a37">00718</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileInfoPane.html">TFileInfoPane</a>* cl )<font class="keyword"></font> +00719 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +00720 +00721 <font class="preprocessor">#endif // Uses_TFileInfoPane</font> +00722 <font class="preprocessor"></font> +00723 <font class="preprocessor">#if defined( Uses_TFileDialog ) && !defined( __TFileDialog )</font> +00724 <font class="preprocessor"></font><font class="preprocessor">#define __TFileDialog</font> +00725 <font class="preprocessor"></font> +00726 <font class="keyword">const</font> +00727 <font class="keywordtype">int</font> fdOKButton = 0x0001, <font class="comment">// Put an OK button in the dialog</font> +00728 fdOpenButton = 0x0002, <font class="comment">// Put an Open button in the dialog</font> +00729 fdReplaceButton = 0x0004, <font class="comment">// Put a Replace button in the dialog</font> +00730 fdClearButton = 0x0008, <font class="comment">// Put a Clear button in the dialog</font> +00731 fdHelpButton = 0x0010, <font class="comment">// Put a Help button in the dialog</font> +00732 fdNoLoadDir = 0x0100; <font class="comment">// Do not load the current directory</font> +00733 <font class="comment">// contents into the dialog at Init.</font> +00734 <font class="comment">// This means you intend to change the</font> +00735 <font class="comment">// WildCard by using SetData or store</font> +00736 <font class="comment">// the dialog on a stream.</font> +00737 +00738 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +00739 <font class="keyword">class </font><a class="code" href="classTFileInputLine.html">TFileInputLine</a>; +00740 <font class="keyword">class </font><a class="code" href="classTFileList.html">TFileList</a>; +00741 +<a name="l00762"></a><a class="code" href="classTFileDialog.html">00762</a> <font class="keyword">class </font><a class="code" href="classTFileDialog.html">TFileDialog</a> : <font class="keyword">public</font> <a class="code" href="classTDialog.html">TDialog</a> +00763 { +00764 <font class="keyword">public</font>: +00806 <a class="code" href="classTFileDialog.html#a0">TFileDialog</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *aWildCard, <font class="keyword">const</font> <font class="keywordtype">char</font> *aTitle, +00807 <font class="keyword">const</font> <font class="keywordtype">char</font> *inputName, ushort aOptions, uchar histId ); +00811 <a class="code" href="classTFileDialog.html#a1">~TFileDialog</a>(); +00815 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTGroup.html#a27">getData</a>( <font class="keywordtype">void</font> *rec ); +00822 <font class="keywordtype">void</font> <a class="code" href="classTFileDialog.html#a3">getFileName</a>( <font class="keywordtype">char</font> *s ); +00830 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTDialog.html#a2">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>& event ); +00834 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTGroup.html#a28">setData</a>( <font class="keywordtype">void</font> *rec ); +00845 <font class="keyword">virtual</font> Boolean <a class="code" href="classTDialog.html#a3">valid</a>( ushort command ); +00853 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTWindow.html#a10">shutDown</a>(); +<a name="l00857"></a><a class="code" href="classTFileDialog.html#m0">00857</a> <a class="code" href="classTFileInputLine.html">TFileInputLine</a> *fileName; +<a name="l00861"></a><a class="code" href="classTFileDialog.html#m1">00861</a> <a class="code" href="classTFileList.html">TFileList</a> *fileList; +<a name="l00865"></a><a class="code" href="classTFileDialog.html#m2">00865</a> <font class="keywordtype">char</font> wildCard[PATH_MAX]; +<a name="l00869"></a><a class="code" href="classTFileDialog.html#m3">00869</a> <font class="keyword">const</font> <font class="keywordtype">char</font> *directory; +00870 <font class="keyword">private</font>: +00871 <font class="keywordtype">void</font> readDirectory(); +00872 Boolean checkDirectory( <font class="keyword">const</font> <font class="keywordtype">char</font> * ); +00873 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * filesText; +00874 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * openText; +00875 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * okText; +00876 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * replaceText; +00877 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * clearText; +00878 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * cancelText; +00879 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * helpText; +00880 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * invalidDriveText; +00881 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * invalidFileText; +00882 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +00883 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +00884 <font class="keyword">protected</font>: +<a name="l00888"></a><a class="code" href="classTFileDialog.html#b0">00888</a> <a class="code" href="classTFileDialog.html#a0">TFileDialog</a>( StreamableInit ) : <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>::initFrame ) {} +00893 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTWindow.html#b1">write</a>( <a class="code" href="classopstream.html">opstream</a>& os ); +00897 <font class="keyword">virtual</font> <font class="keywordtype">void</font> *<a class="code" href="classTWindow.html#b2">read</a>( <a class="code" href="classipstream.html">ipstream</a>& is ); +00898 <font class="keyword">public</font>: +<a name="l00902"></a><a class="code" href="classTFileDialog.html#p0">00902</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +00906 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTDialog.html#d0">build</a>(); +00907 }; +00908 +<a name="l00912"></a><a class="code" href="stddlg_8h.html#a38">00912</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileDialog.html">TFileDialog</a>& cl )<font class="keyword"></font> +00913 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00917"></a><a class="code" href="stddlg_8h.html#a39">00917</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTFileDialog.html">TFileDialog</a>*& cl )<font class="keyword"></font> +00918 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +00919 +<a name="l00923"></a><a class="code" href="stddlg_8h.html#a40">00923</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileDialog.html">TFileDialog</a>& cl )<font class="keyword"></font> +00924 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l00928"></a><a class="code" href="stddlg_8h.html#a41">00928</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTFileDialog.html">TFileDialog</a>* cl )<font class="keyword"></font> +00929 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +00930 +00931 <font class="preprocessor">#endif // Uses_TFileDialog</font> +00932 <font class="preprocessor"></font> +00933 +00934 <font class="preprocessor">#if defined( Uses_TDirEntry ) && !defined( __TDirEntry )</font> +00935 <font class="preprocessor"></font><font class="preprocessor">#define __TDirEntry</font> +00936 <font class="preprocessor"></font> +<a name="l00943"></a><a class="code" href="classTDirEntry.html">00943</a> <font class="keyword">class </font><a class="code" href="classTDirEntry.html">TDirEntry</a> +00944 { +00945 <font class="keyword">public</font>: +00949 <a class="code" href="classTDirEntry.html#a0">TDirEntry</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *, <font class="keyword">const</font> <font class="keywordtype">char</font> * ); +00953 <a class="code" href="classTDirEntry.html#a1">~TDirEntry</a>(); +<a name="l00958"></a><a class="code" href="classTDirEntry.html#a2">00958</a> <font class="keywordtype">char</font> *<a class="code" href="classTDirEntry.html#a2">dir</a>()<font class="keyword"> </font>{ <font class="keywordflow">return</font> directory; } +<a name="l00963"></a><a class="code" href="classTDirEntry.html#a3">00963</a> <font class="keywordtype">char</font> *<a class="code" href="classTDirEntry.html#a3">text</a>()<font class="keyword"> </font>{ <font class="keywordflow">return</font> displayText; } +00964 <font class="keyword">private</font>: +00965 <font class="keywordtype">char</font> *displayText; +00966 <font class="keywordtype">char</font> *directory; +00967 }; +00968 +<a name="l00969"></a><a class="code" href="classTDirEntry.html#a0">00969</a> <font class="keyword">inline</font> <a class="code" href="classTDirEntry.html#a0">TDirEntry::TDirEntry</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *txt, <font class="keyword">const</font> <font class="keywordtype">char</font> *dir ) : +00970 displayText( newStr( txt ) ), directory( newStr( dir ) ) +00971 { +00972 } +00973 +<a name="l00974"></a><a class="code" href="classTDirEntry.html#a1">00974</a> <font class="keyword">inline</font> <a class="code" href="classTDirEntry.html#a1">TDirEntry::~TDirEntry</a>()<font class="keyword"></font> +00975 <font class="keyword"></font>{ +00976 <font class="keyword">delete</font> displayText; +00977 <font class="keyword">delete</font> directory; +00978 } +00979 +00980 <font class="preprocessor">#endif // Uses_TDirEntry</font> +00981 <font class="preprocessor"></font> +00982 <font class="preprocessor">#if defined( Uses_TDirCollection ) && !defined( __TDirCollection )</font> +00983 <font class="preprocessor"></font><font class="preprocessor">#define __TDirCollection</font> +00984 <font class="preprocessor"></font> +00985 <font class="keyword">class </font><a class="code" href="classTDirEntry.html">TDirEntry</a>; +00986 +<a name="l00995"></a><a class="code" href="classTDirCollection.html">00995</a> <font class="keyword">class </font><a class="code" href="classTDirCollection.html">TDirCollection</a> : <font class="keyword">public</font> <a class="code" href="classTCollection.html">TCollection</a> +00996 { +00997 <font class="keyword">public</font>: +<a name="l01002"></a><a class="code" href="classTDirCollection.html#a0">01002</a> <a class="code" href="classTDirCollection.html#a0">TDirCollection</a>( ccIndex aLimit, ccIndex 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="classTNSCollection.html#a3">at</a>( ccIndex index )<font class="keyword"></font> +01010 <font class="keyword"> </font>{ <font class="keywordflow">return</font> (<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> <font class="keyword">virtual</font> ccIndex <a class="code" href="classTNSCollection.html#a4">indexOf</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )<font class="keyword"></font> +01016 <font class="keyword"> </font>{ <font class="keywordflow">return</font> <a class="code" href="classTNSCollection.html#a4">TCollection::indexOf</a>( item ); } +<a name="l01022"></a><a class="code" href="classTDirCollection.html#a3">01022</a> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a7">remove</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )<font class="keyword"></font> +01023 <font class="keyword"> </font>{ <a class="code" href="classTNSCollection.html#a7">TCollection::remove</a>( item ); } +<a name="l01029"></a><a class="code" href="classTDirCollection.html#a4">01029</a> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a9">free</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )<font class="keyword"></font> +01030 <font class="keyword"> </font>{ <a class="code" href="classTNSCollection.html#a9">TCollection::free</a>( item ); } +<a name="l01038"></a><a class="code" href="classTDirCollection.html#a5">01038</a> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a11">atInsert</a>( ccIndex index, <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )<font class="keyword"></font> +01039 <font class="keyword"> </font>{ <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> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a12">atPut</a>( ccIndex index, <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )<font class="keyword"></font> +01045 <font class="keyword"> </font>{ <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> <font class="keyword">virtual</font> ccIndex <a class="code" href="classTNSCollection.html#a13">insert</a>( <a class="code" href="classTDirEntry.html">TDirEntry</a> *item )<font class="keyword"></font> +01053 <font class="keyword"> </font>{ <font class="keywordflow">return</font> <a class="code" href="classTNSCollection.html#a13">TCollection::insert</a>( item ); } +01058 <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTNSCollection.html#a15">firstThat</a>( ccTestFunc Test, <font class="keywordtype">void</font> *arg ); +01065 <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTNSCollection.html#a16">lastThat</a>( ccTestFunc Test, <font class="keywordtype">void</font> *arg ); +01066 <font class="keyword">private</font>: +01067 <font class="keyword">virtual</font> <font class="keywordtype">void</font> freeItem( <font class="keywordtype">void</font> *item )<font class="keyword"></font> +01068 <font class="keyword"> </font>{ <font class="keyword">delete</font> (<a class="code" href="classTDirEntry.html">TDirEntry</a> *)item; } +01069 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +01070 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +01080 <font class="keyword">virtual</font> <font class="keywordtype">void</font> *readItem( <a class="code" href="classipstream.html">ipstream</a>& ); +01090 <font class="keyword">virtual</font> <font class="keywordtype">void</font> writeItem( <font class="keywordtype">void</font> *, <a class="code" href="classopstream.html">opstream</a>& ); +01091 <font class="keyword">protected</font>: +<a name="l01095"></a><a class="code" href="classTDirCollection.html#b0">01095</a> <a class="code" href="classTDirCollection.html#a0">TDirCollection</a>( StreamableInit ) : <a class="code" href="classTCollection.html">TCollection</a> ( streamableInit ) {} +01096 <font class="keyword">public</font>: +<a name="l01100"></a><a class="code" href="classTDirCollection.html#p0">01100</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +01104 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTDialog.html#d0">build</a>(); +01105 }; +01106 +<a name="l01110"></a><a class="code" href="stddlg_8h.html#a42">01110</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTDirCollection.html">TDirCollection</a>& cl )<font class="keyword"></font> +01111 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l01115"></a><a class="code" href="stddlg_8h.html#a43">01115</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTDirCollection.html">TDirCollection</a>*& cl )<font class="keyword"></font> +01116 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +01117 +<a name="l01121"></a><a class="code" href="stddlg_8h.html#a44">01121</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTDirCollection.html">TDirCollection</a>& cl )<font class="keyword"></font> +01122 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l01126"></a><a class="code" href="stddlg_8h.html#a45">01126</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTDirCollection.html">TDirCollection</a>* cl )<font class="keyword"></font> +01127 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +01128 +<a name="l01129"></a><a class="code" href="classTDirCollection.html#a8">01129</a> <font class="keyword">inline</font> <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTNSCollection.html#a15">TDirCollection::firstThat</a>( ccTestFunc func, <font class="keywordtype">void</font> *arg )<font class="keyword"></font> +01130 <font class="keyword"></font>{ +01131 <font class="keywordflow">return</font> (<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> <font class="keyword">inline</font> <a class="code" href="classTDirEntry.html">TDirEntry</a> *<a class="code" href="classTNSCollection.html#a16">TDirCollection::lastThat</a>( ccTestFunc func, <font class="keywordtype">void</font> *arg )<font class="keyword"></font> +01135 <font class="keyword"></font>{ +01136 <font class="keywordflow">return</font> (<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 <font class="preprocessor">#endif // Uses_TDirCollection</font> +01140 <font class="preprocessor"></font> +01141 +01142 <font class="preprocessor">#if defined( Uses_TDirListBox ) && !defined( __TDirListBox )</font> +01143 <font class="preprocessor"></font><font class="preprocessor">#define __TDirListBox</font> +01144 <font class="preprocessor"></font> +01145 <font class="keyword">class </font><a class="code" href="classTRect.html">TRect</a>; +01146 <font class="keyword">class </font><a class="code" href="classTScrollBar.html">TScrollBar</a>; +01147 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +01148 <font class="keyword">class </font><a class="code" href="classTDirCollection.html">TDirCollection</a>; +01149 +<a name="l01159"></a><a class="code" href="classTDirListBox.html">01159</a> <font class="keyword">class </font><a class="code" href="classTDirListBox.html">TDirListBox</a> : <font class="keyword">public</font> <a class="code" href="classTListBox.html">TListBox</a> +01160 { +01161 <font class="keyword">public</font>: +01167 <a class="code" href="classTDirListBox.html#a0">TDirListBox</a>( <font class="keyword">const</font> <a class="code" href="classTRect.html">TRect</a>& bounds, <a class="code" href="classTScrollBar.html">TScrollBar</a> *aScrollBar ); +01172 <a class="code" href="classTDirListBox.html#a1">~TDirListBox</a>(); +01176 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTListBox.html#a4">getText</a>( <font class="keywordtype">char</font> *dest, <font class="keywordtype">short</font> item, <font class="keywordtype">short</font> maxLen ); +01184 <font class="comment">// virtual void handleEvent( TEvent& );</font> +01188 <font class="comment"></font> <font class="keyword">virtual</font> Boolean <a class="code" href="classTListViewer.html#a6">isSelected</a>( <font class="keywordtype">short</font> item ); +01192 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTListViewer.html#a8">selectItem</a>( <font class="keywordtype">short</font> item ); +01199 <font class="keywordtype">void</font> <a class="code" href="classTDirListBox.html#a5">newDirectory</a>( <font class="keyword">const</font> <font class="keywordtype">char</font> *aList ); +01203 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTWindow.html#a6">setState</a>( ushort aState, Boolean enable ); +01208 <a class="code" href="classTDirCollection.html">TDirCollection</a> *<a class="code" href="classTListBox.html#a7">list</a>(); +<a name="l01212"></a><a class="code" href="classTDirListBox.html#p0">01212</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * pathDir; +<a name="l01216"></a><a class="code" href="classTDirListBox.html#p1">01216</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * firstDir; +<a name="l01220"></a><a class="code" href="classTDirListBox.html#p2">01220</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * middleDir; +<a name="l01224"></a><a class="code" href="classTDirListBox.html#p3">01224</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * lastDir; +<a name="l01228"></a><a class="code" href="classTDirListBox.html#p4">01228</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * graphics; +01229 <font class="keyword">private</font>: +01230 <font class="keywordtype">void</font> showDrives( <a class="code" href="classTDirCollection.html">TDirCollection</a> * ); +01231 <font class="keywordtype">void</font> showDirs( <a class="code" href="classTDirCollection.html">TDirCollection</a> * ); +01232 <font class="keywordtype">char</font> dir[PATH_MAX]; +01233 ushort cur; +01234 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * drives; +01235 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +01236 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +01237 <font class="keyword">protected</font>: +<a name="l01241"></a><a class="code" href="classTDirListBox.html#b0">01241</a> <a class="code" href="classTDirListBox.html#a0">TDirListBox</a>( StreamableInit ): <a class="code" href="classTListBox.html">TListBox</a>( streamableInit ) {} +01242 <font class="keyword">public</font>: +<a name="l01246"></a><a class="code" href="classTDirListBox.html#p5">01246</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +01250 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTDialog.html#d0">build</a>(); +01251 }; +01252 +<a name="l01256"></a><a class="code" href="stddlg_8h.html#a46">01256</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTDirListBox.html">TDirListBox</a>& cl )<font class="keyword"></font> +01257 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l01261"></a><a class="code" href="stddlg_8h.html#a47">01261</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTDirListBox.html">TDirListBox</a>*& cl )<font class="keyword"></font> +01262 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +01263 +<a name="l01267"></a><a class="code" href="stddlg_8h.html#a48">01267</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTDirListBox.html">TDirListBox</a>& cl )<font class="keyword"></font> +01268 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l01272"></a><a class="code" href="stddlg_8h.html#a49">01272</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTDirListBox.html">TDirListBox</a>* cl )<font class="keyword"></font> +01273 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +01274 +<a name="l01275"></a><a class="code" href="classTDirListBox.html#a7">01275</a> <font class="keyword">inline</font> <a class="code" href="classTDirCollection.html">TDirCollection</a> *<a class="code" href="classTListBox.html#a7">TDirListBox::list</a>()<font class="keyword"></font> +01276 <font class="keyword"></font>{ +01277 <font class="keywordflow">return</font> (<a class="code" href="classTDirCollection.html">TDirCollection</a> *)<a class="code" href="classTListBox.html#a7">TListBox::list</a>(); +01278 } +01279 +01280 <font class="preprocessor">#endif // Uses_TDirListBox</font> +01281 <font class="preprocessor"></font> +01282 <font class="preprocessor">#if defined( Uses_TChDirDialog ) && !defined( __TChDirDialog )</font> +01283 <font class="preprocessor"></font><font class="preprocessor">#define __TChDirDialog</font> +01284 <font class="preprocessor"></font> +01285 <font class="keyword">const</font> +01286 <font class="keywordtype">int</font> cdNormal = 0x0000, <font class="comment">// Option to use dialog immediately</font> +01287 cdNoLoadDir = 0x0001, <font class="comment">// Option to init the dialog to store on a stream</font> +01288 cdHelpButton = 0x0002; <font class="comment">// Put a help button in the dialog</font> +01289 +01290 <font class="keyword">class </font><a class="code" href="structTEvent.html">TEvent</a>; +01291 <font class="keyword">class </font><a class="code" href="classTInputLine.html">TInputLine</a>; +01292 <font class="keyword">class </font><a class="code" href="classTDirListBox.html">TDirListBox</a>; +01293 <font class="keyword">class </font><a class="code" href="classTButton.html">TButton</a>; +01294 +<a name="l01326"></a><a class="code" href="classTChDirDialog.html">01326</a> <font class="keyword">class </font><a class="code" href="classTChDirDialog.html">TChDirDialog</a> : <font class="keyword">public</font> <a class="code" href="classTDialog.html">TDialog</a> +01327 { +01328 <font class="keyword">public</font>: +01329 <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classTDirListBox.html">TDirListBox</a>; +01367 <a class="code" href="classTChDirDialog.html#a0">TChDirDialog</a>( ushort aOptions, ushort histId ); +01376 <font class="keyword">virtual</font> ushort <a class="code" href="classTGroup.html#a26">dataSize</a>(); +01385 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTGroup.html#a27">getData</a>( <font class="keywordtype">void</font> *rec ); +01393 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTDialog.html#a2">handleEvent</a>( <a class="code" href="structTEvent.html">TEvent</a>& ); +01402 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTGroup.html#a28">setData</a>( <font class="keywordtype">void</font> *rec ); +01412 <font class="keyword">virtual</font> Boolean <a class="code" href="classTDialog.html#a3">valid</a>( ushort command ); +01427 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTNSCollection.html#a2">shutDown</a>(); +01428 <font class="keyword">private</font>: +01429 <font class="keywordtype">void</font> 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 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * changeDirTitle; +01435 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * dirNameText; +01436 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * dirTreeText; +01437 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * okText; +01438 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * chdirText; +01439 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * revertText; +01440 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * helpText; +01441 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * drivesText; +01442 <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * invalidText; +01443 <font class="keyword">virtual</font> <font class="keyword">const</font> <font class="keywordtype">char</font> *streamableName()<font class="keyword"> const</font> +01444 <font class="keyword"> </font>{ <font class="keywordflow">return</font> name; } +01445 <font class="keyword">protected</font>: +<a name="l01451"></a><a class="code" href="classTChDirDialog.html#b0">01451</a> <a class="code" href="classTChDirDialog.html#a0">TChDirDialog</a>( StreamableInit ) : <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>::initFrame ) {} +01457 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classTCollection.html#b2">write</a>( <a class="code" href="classopstream.html">opstream</a>& os ); +01462 <font class="keyword">virtual</font> <font class="keywordtype">void</font> *<a class="code" href="classTCollection.html#b1">read</a>( <a class="code" href="classipstream.html">ipstream</a>& is ); +01463 <font class="keyword">public</font>: +<a name="l01467"></a><a class="code" href="classTChDirDialog.html#p0">01467</a> <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font> * <font class="keyword">const</font> name; +01473 <font class="keyword">static</font> <a class="code" href="classTStreamable.html">TStreamable</a> *<a class="code" href="classTDialog.html#d0">build</a>(); +01474 }; +01475 +<a name="l01479"></a><a class="code" href="stddlg_8h.html#a50">01479</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>& cl )<font class="keyword"></font> +01480 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l01484"></a><a class="code" href="stddlg_8h.html#a51">01484</a> <font class="keyword">inline</font> <a class="code" href="classipstream.html">ipstream</a>& <a class="code" href="views_8h.html#a136">operator >> </a>( <a class="code" href="classipstream.html">ipstream</a>& is, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>*& cl )<font class="keyword"></font> +01485 <font class="keyword"> </font>{ <font class="keywordflow">return</font> is >> (<font class="keywordtype">void</font> *&)cl; } +01486 +<a name="l01490"></a><a class="code" href="stddlg_8h.html#a52">01490</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>& cl )<font class="keyword"></font> +01491 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a>&)cl; } +<a name="l01495"></a><a class="code" href="stddlg_8h.html#a53">01495</a> <font class="keyword">inline</font> <a class="code" href="classopstream.html">opstream</a>& <a class="code" href="views_8h.html#a138">operator << </a>( <a class="code" href="classopstream.html">opstream</a>& os, <a class="code" href="classTChDirDialog.html">TChDirDialog</a>* cl )<font class="keyword"></font> +01496 <font class="keyword"> </font>{ <font class="keywordflow">return</font> os << (<a class="code" href="classTStreamable.html">TStreamable</a> *)cl; } +01497 +01498 <font class="preprocessor">#endif // Uses_TChDirDialog</font> +</font></pre></div><hr><address><small>Generated at Sat Sep 22 20:19:12 2001 for TVision by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.gif" alt="doxygen" align="middle" border=0 +width=110 height=53></a>1.2.8.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, + © 1997-2001</small></address> +</body> +</html> |