OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_FXGE_INCLUDE_CFX_GEMODULE_H_ | 7 #ifndef CORE_FXGE_CFX_GEMODULE_H_ |
8 #define CORE_FXGE_INCLUDE_CFX_GEMODULE_H_ | 8 #define CORE_FXGE_CFX_GEMODULE_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fxge/include/cfx_fontmgr.h" | 12 #include "core/fxge/cfx_fontmgr.h" |
13 #include "core/fxge/include/fx_font.h" | 13 #include "core/fxge/fx_font.h" |
14 | 14 |
15 class CCodec_ModuleMgr; | 15 class CCodec_ModuleMgr; |
16 class CFX_FontCache; | 16 class CFX_FontCache; |
17 class CFX_FontMgr; | 17 class CFX_FontMgr; |
18 | 18 |
19 class CFX_GEModule { | 19 class CFX_GEModule { |
20 public: | 20 public: |
21 static CFX_GEModule* Get(); | 21 static CFX_GEModule* Get(); |
22 static void Destroy(); | 22 static void Destroy(); |
23 | 23 |
(...skipping 16 matching lines...) Expand all Loading... |
40 void DestroyPlatform(); | 40 void DestroyPlatform(); |
41 | 41 |
42 uint8_t m_GammaValue[256]; | 42 uint8_t m_GammaValue[256]; |
43 CFX_FontCache* m_pFontCache; | 43 CFX_FontCache* m_pFontCache; |
44 std::unique_ptr<CFX_FontMgr> m_pFontMgr; | 44 std::unique_ptr<CFX_FontMgr> m_pFontMgr; |
45 CCodec_ModuleMgr* m_pCodecModule; | 45 CCodec_ModuleMgr* m_pCodecModule; |
46 void* m_pPlatformData; | 46 void* m_pPlatformData; |
47 const char** m_pUserFontPaths; | 47 const char** m_pUserFontPaths; |
48 }; | 48 }; |
49 | 49 |
50 #endif // CORE_FXGE_INCLUDE_CFX_GEMODULE_H_ | 50 #endif // CORE_FXGE_CFX_GEMODULE_H_ |
OLD | NEW |