OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ | 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ | 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
9 | 9 |
10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
11 | 11 |
12 #include "../../../include/fxge/fpf.h" | 12 #include "core/include/fxge/fpf.h" |
13 | 13 |
14 class CFPF_SkiaFontMgr; | 14 class CFPF_SkiaFontMgr; |
15 | 15 |
16 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { | 16 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { |
17 public: | 17 public: |
18 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {} | 18 CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {} |
19 ~CFPF_SkiaDeviceModule() override; | 19 ~CFPF_SkiaDeviceModule() override; |
20 | 20 |
21 // IFPF_DeviceModule | 21 // IFPF_DeviceModule |
22 void Destroy() override; | 22 void Destroy() override; |
23 IFPF_FontMgr* GetFontMgr() override; | 23 IFPF_FontMgr* GetFontMgr() override; |
24 | 24 |
25 protected: | 25 protected: |
26 CFPF_SkiaFontMgr* m_pFontMgr; | 26 CFPF_SkiaFontMgr* m_pFontMgr; |
27 }; | 27 }; |
28 #endif | 28 #endif |
29 | 29 |
30 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ | 30 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
OLD | NEW |