| 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 _FPF_MODULE_H_ | 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
| 8 #define _FPF_MODULE_H_ | 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
| 9 |
| 9 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
| 10 class CFPF_SkiaFontMgr; | 11 class CFPF_SkiaFontMgr; |
| 11 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule | 12 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule |
| 12 { | 13 { |
| 13 public: | 14 public: |
| 14 CFPF_SkiaDeviceModule() : m_pFontMgr(NULL) {} | 15 CFPF_SkiaDeviceModule() : m_pFontMgr(NULL) {} |
| 15 virtual ~CFPF_SkiaDeviceModule(); | 16 virtual ~CFPF_SkiaDeviceModule(); |
| 16 virtual void Destroy(); | 17 virtual void Destroy(); |
| 17 virtual IFPF_FontMgr* GetFontMgr(); | 18 virtual IFPF_FontMgr* GetFontMgr(); |
| 18 protected: | 19 protected: |
| 19 CFPF_SkiaFontMgr *m_pFontMgr; | 20 CFPF_SkiaFontMgr *m_pFontMgr; |
| 20 }; | 21 }; |
| 21 #endif | 22 #endif |
| 22 #endif | 23 |
| 24 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_ |
| OLD | NEW |