diff options
Diffstat (limited to 'sgl_doxygen/html/SkOSFile_8h-source.html')
-rw-r--r-- | sgl_doxygen/html/SkOSFile_8h-source.html | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/sgl_doxygen/html/SkOSFile_8h-source.html b/sgl_doxygen/html/SkOSFile_8h-source.html deleted file mode 100644 index 9ef7053..0000000 --- a/sgl_doxygen/html/SkOSFile_8h-source.html +++ /dev/null @@ -1,82 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>SGL: SkOSFile.h Source File</title> -<link href="doxygen.css" rel="stylesheet" type="text/css"> -</head><body> -<!-- Generated by Doxygen 1.4.0 --> -<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> -<div class="nav"> -<a class="el" href="dir_000000.html">include</a> / <a class="el" href="dir_000001.html">skia</a></div> -<h1>SkOSFile.h</h1><div class="fragment"><pre class="fragment">00001 <span class="comment">// Copyright Skia Inc. 2004 - 2005</span> -00002 <span class="comment">// </span> -00003 <span class="preprocessor">#ifndef SkOSFile_DEFINED</span> -00004 <span class="preprocessor"></span><span class="preprocessor">#define SkOSFile_DEFINED</span> -00005 <span class="preprocessor"></span> -00006 <span class="preprocessor">#include "SkString.h"</span> -00007 -00008 <span class="preprocessor">#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_UNIX)</span> -00009 <span class="preprocessor"></span><span class="preprocessor"> #include <dirent.h></span> -00010 <span class="preprocessor">#endif</span> -00011 <span class="preprocessor"></span> -00012 <span class="keyword">struct </span>SkFILE; -00013 -00014 <span class="keyword">enum</span> SkFILE_Flags { -00015 kRead_SkFILE_Flag = 0x01, -00016 kWrite_SkFILE_Flag = 0x02 -00017 }; -00018 -00019 SkFILE* sk_fopen(<span class="keyword">const</span> <span class="keywordtype">char</span> path[], SkFILE_Flags); -00020 <span class="keywordtype">void</span> sk_fclose(SkFILE*); -00021 -00022 size_t sk_fgetsize(SkFILE*); -00025 <span class="keywordtype">bool</span> sk_frewind(SkFILE*); -00026 -00027 size_t sk_fread(<span class="keywordtype">void</span>* buffer, size_t byteCount, SkFILE*); -00028 size_t sk_fwrite(<span class="keyword">const</span> <span class="keywordtype">void</span>* buffer, size_t byteCount, SkFILE*); -00029 <span class="keywordtype">void</span> sk_fflush(SkFILE*); -00030 -00031 <span class="keywordtype">int</span> sk_fseek( SkFILE*, size_t, <span class="keywordtype">int</span> ); -00032 size_t sk_ftell( SkFILE* ); -00033 -00034 <span class="keyword">class </span>SkOSFile { -00035 <span class="keyword">public</span>: -00036 <span class="keyword">class </span>Iter { -00037 <span class="keyword">public</span>: -00038 Iter(); -00039 Iter(<span class="keyword">const</span> <span class="keywordtype">char</span> path[], <span class="keyword">const</span> <span class="keywordtype">char</span> suffix[] = nil); -00040 ~Iter(); -00041 -00042 <span class="keywordtype">void</span> reset(<span class="keyword">const</span> <span class="keywordtype">char</span> path[], <span class="keyword">const</span> <span class="keywordtype">char</span> suffix[] = nil); -00043 <span class="keywordtype">bool</span> next(<a class="code" href="classSkString.html">SkString</a>* name, <span class="keywordtype">bool</span> getDir = <span class="keyword">false</span>); -00044 -00045 <span class="keyword">private</span>: -00046 <span class="preprocessor">#ifdef SK_BUILD_FOR_WIN</span> -00047 <span class="preprocessor"></span> HANDLE fHandle; -00048 U16* fPath16; -00049 <span class="preprocessor">#elif defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_UNIX)</span> -00050 <span class="preprocessor"></span> DIR* fDIR; -00051 <a class="code" href="classSkString.html">SkString</a> fPath, fSuffix; -00052 <span class="preprocessor">#endif</span> -00053 <span class="preprocessor"></span> }; -00054 }; -00055 -00056 <span class="keyword">class </span>SkUTF16_Str { -00057 <span class="keyword">public</span>: -00058 SkUTF16_Str(<span class="keyword">const</span> <span class="keywordtype">char</span> src[]); -00059 ~SkUTF16_Str() -00060 { -00061 sk_free(fStr); -00062 } -00063 <span class="keyword">const</span> U16* get()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> fStr; } -00064 -00065 <span class="keyword">private</span>: -00066 U16* fStr; -00067 }; -00068 -00069 <span class="preprocessor">#endif</span> -00070 <span class="preprocessor"></span> -</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue May 9 14:35:23 2006 for SGL by -<a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.0 </small></address> -</body> -</html> |