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