Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FTLibrary.h

Go to the documentation of this file.
00001 #ifndef     __FTLibrary__
00002 #define     __FTLibrary__
00003 
00004 #include <ft2build.h>
00005 #include FT_FREETYPE_H
00006 //#include FT_CACHE_H
00007 
00008 #include "FTGL.h"
00009 
00010 
00029 class FTGL_EXPORT FTLibrary
00030 {
00031     public:
00037         static const FTLibrary& Instance();
00038 
00044         const FT_Library* const GetLibrary() const { return library;}
00045         
00051         FT_Error Error() const { return err;}
00052         
00058         ~FTLibrary();
00059         
00060     private:
00067         FTLibrary();
00068         FTLibrary( const FT_Library&){}
00069         FTLibrary& operator=( const FT_Library&) { return *this; }
00070         
00082         bool Initialise();
00083         
00087         FT_Library* library;
00088 //      FTC_Manager* manager;
00089 
00093         FT_Error err;
00094         
00095 };
00096 
00097 #endif  //  __FTLibrary__

Generated on Sun Dec 5 22:24:06 2004 for FTGL by doxygen 1.3.6