]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/letest/FontTableCache.h
ICU-531.30.tar.gz
[apple/icu.git] / icuSources / test / letest / FontTableCache.h
index 36971e4c297859019b2bd022ec18e0fa0fb5b4d6..d0e1c54b0785fbbd0bf06b926c1c5d101dadb1a4 100644 (file)
@@ -1,6 +1,6 @@
 /*
  **********************************************************************
- *   Copyright (C) 2003-2008, International Business Machines
+ *   Copyright (C) 2003-2013, International Business Machines
  *   Corporation and others.  All Rights Reserved.
  **********************************************************************
  */
@@ -22,15 +22,15 @@ public:
 
     virtual ~FontTableCache();
 
-    const void *find(LETag tableTag) const;
+    const void *find(LETag tableTag, size_t &length) const;
 
 protected:
-    virtual const void *readFontTable(LETag tableTag) const = 0;
+    virtual const void *readFontTable(LETag tableTag, size_t &length) const = 0;
     virtual void freeFontTable(const void *table) const;
 
 private:
 
-    void add(LETag tableTag, const void *table);
+    void add(LETag tableTag, const void *table, size_t length);
 
     FontTableCacheEntry *fTableCache;
     le_int32 fTableCacheCurr;