| <!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>FTGL: FTLibrary.h Source File</title> |
| <link href="doxygen.css" rel="stylesheet" type="text/css"> |
| </head><body> |
| <!-- Generated by Doxygen 1.3.6 --> |
| <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">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> |
| <h1>FTLibrary.h</h1><a href="FTLibrary_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __FTLibrary__</span> |
| 00002 <span class="preprocessor"></span><span class="preprocessor">#define __FTLibrary__</span> |
| 00003 <span class="preprocessor"></span> |
| 00004 <span class="preprocessor">#include <ft2build.h></span> |
| 00005 <span class="preprocessor">#include FT_FREETYPE_H</span> |
| 00006 <span class="preprocessor"></span><span class="comment">//#include FT_CACHE_H</span> |
| 00007 |
| 00008 <span class="preprocessor">#include "<a class="code" href="FTGL_8h.html">FTGL.h</a>"</span> |
| 00009 |
| 00010 |
| <a name="l00029"></a><a class="code" href="classFTLibrary.html">00029</a> <span class="keyword">class </span><a class="code" href="FTGL_8h.html#a3">FTGL_EXPORT</a> FTLibrary |
| 00030 { |
| 00031 <span class="keyword">public</span>: |
| 00037 <span class="keyword">static</span> <span class="keyword">const</span> FTLibrary& Instance(); |
| 00038 |
| <a name="l00044"></a><a class="code" href="classFTLibrary.html#a0">00044</a> <span class="keyword">const</span> FT_Library* <span class="keyword">const</span> GetLibrary()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> library;} |
| 00045 |
| <a name="l00051"></a><a class="code" href="classFTLibrary.html#a1">00051</a> FT_Error Error()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> err;} |
| 00052 |
| 00058 ~FTLibrary(); |
| 00059 |
| 00060 <span class="keyword">private</span>: |
| 00067 FTLibrary(); |
| 00068 FTLibrary( <span class="keyword">const</span> FT_Library&){} |
| 00069 FTLibrary& operator=( <span class="keyword">const</span> FT_Library&) { <span class="keywordflow">return</span> *<span class="keyword">this</span>; } |
| 00070 |
| 00082 <span class="keywordtype">bool</span> Initialise(); |
| 00083 |
| 00087 FT_Library* library; |
| 00088 <span class="comment">// FTC_Manager* manager;</span> |
| 00089 |
| 00093 FT_Error err; |
| 00094 |
| 00095 }; |
| 00096 |
| 00097 <span class="preprocessor">#endif // __FTLibrary__</span> |
| </pre></div><hr size="1"><address style="align: right;"><small>Generated on Sun Dec 5 22:24:06 2004 for FTGL by |
| <a href="http://www.doxygen.org/index.html"> |
| <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
| </a>1.3.6 </small></address> |
| </body> |
| </html> |