fontcache.hxx (ebfcd9af) | fontcache.hxx (ee206fda) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 22 unchanged lines hidden (view full) --- 31 32#include <hash_map> 33 34namespace psp 35{ 36 37class VCL_PLUGIN_PUBLIC FontCache 38{ | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 22 unchanged lines hidden (view full) --- 31 32#include <hash_map> 33 34namespace psp 35{ 36 37class VCL_PLUGIN_PUBLIC FontCache 38{ |
39 struct FontDir; 40 friend class FontDir; 41 struct FontFile; 42 friend class FontFile; 43 | |
44 typedef std::list< PrintFontManager::PrintFont* > FontCacheEntry; 45 struct FontFile 46 { 47 FontCacheEntry m_aEntry; 48 }; 49 50 typedef std::hash_map< ::rtl::OString, FontFile, ::rtl::OStringHash > FontDirMap; 51 struct FontDir --- 36 unchanged lines hidden (view full) --- 88 void flush(); 89 90 void updateDirTimestamp( int nDirID ); 91}; 92 93} // namespace psp 94 95#endif // _PSPRINT_FONTCACHE_HXX | 39 typedef std::list< PrintFontManager::PrintFont* > FontCacheEntry; 40 struct FontFile 41 { 42 FontCacheEntry m_aEntry; 43 }; 44 45 typedef std::hash_map< ::rtl::OString, FontFile, ::rtl::OStringHash > FontDirMap; 46 struct FontDir --- 36 unchanged lines hidden (view full) --- 83 void flush(); 84 85 void updateDirTimestamp( int nDirID ); 86}; 87 88} // namespace psp 89 90#endif // _PSPRINT_FONTCACHE_HXX |
91 |
|