Edit

kc3-lang/ftgl/include/FTLibrary.h

Branch :

  • Show log

    Commit

  • Author : henry
    Date : 2001-08-05 21:34:40
    Hash : 678be1a1
    Message : Minor tidy ups

  • 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  ~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               */
    
    		
    };
    #endif	//	__FTLibrary__