| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ | |
| 8 #define CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ | |
| 9 | |
| 10 #include "core/fxcrt/fx_system.h" | |
| 11 | |
| 12 #if _FX_OS_ == _FX_ANDROID_ | |
| 13 | |
| 14 #include "core/fxge/android/fpf_skiafontmgr.h" | |
| 15 | |
| 16 class CFPF_SkiaFontMgr; | |
| 17 | |
| 18 class CFPF_SkiaDeviceModule { | |
| 19 public: | |
| 20 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {} | |
| 21 ~CFPF_SkiaDeviceModule(); | |
| 22 | |
| 23 void Destroy(); | |
| 24 CFPF_SkiaFontMgr* GetFontMgr(); | |
| 25 | |
| 26 protected: | |
| 27 CFPF_SkiaFontMgr* m_pFontMgr; | |
| 28 }; | |
| 29 | |
| 30 CFPF_SkiaDeviceModule* CFPF_GetSkiaDeviceModule(); | |
| 31 | |
| 32 #endif // _FX_OS_ == _FX_ANDROID_ | |
| 33 | |
| 34 #endif // CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ | |
| OLD | NEW |