]>
git.saurik.com Git - apple/icu.git/blob - icuSources/samples/layout/FontTableCache.h
2 **********************************************************************
3 * Copyright (C) 2003-2008, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
8 #ifndef __FONTTABLECACHE_H
10 #define __FONTTABLECACHE_H
12 #include "layout/LETypes.h"
14 struct FontTableCacheEntry
;
21 virtual ~FontTableCache();
23 const void *find(LETag tableTag
) const;
26 virtual const void *readFontTable(LETag tableTag
) const = 0;
27 virtual void freeFontTable(const void *table
) const;
31 void add(LETag tableTag
, const void *table
);
33 FontTableCacheEntry
*fTableCache
;
34 le_int32 fTableCacheCurr
;
35 le_int32 fTableCacheSize
;