Edit

kc3-lang/ftgl/include/FTLibrary.h

Branch :

  • Show log

    Commit

  • Author : henry
    Date : 2001-08-20 21:44:00
    Hash : aded3122
    Message : Gerards fixes to compile under Linux

  • include/FTLibrary.h
  • #ifndef		__FTLibrary__
    #define		__FTLibrary__
    
    
    #include <ft2build.h>
    #include FT_FREETYPE_H
    //#include FT_CACHE_H
    
    #include "FTGL.h"
    
    
    class	FTLibrary
    {
    	public:
    		// methods
    		static FTLibrary& Instance();
    		FT_Library*	GetLibrary() const { return lib;}
    		
    		virtual FT_Error Error() const { return err;}
    		
    		virtual  ~FTLibrary();
    		
    		// attributes
    		
    	private:
    		// methods
    		FTLibrary();
    		FTLibrary( const FT_Library&){}
    		FTLibrary&	operator=( const FT_Library&){}
    		bool Init();
    		
    		// attributes
    		FT_Library*	lib;
    //		FTC_Manager* manager;      /* the cache manager               */
    
    		FT_Error err;
    
    		
    };
    #endif	//	__FTLibrary__