Home | History | Annotate | Download | only in android
      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_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_
      8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_
      9 
     10 #if _FX_OS_ == _FX_ANDROID_
     11 
     12 #include "core/include/fxge/fpf.h"
     13 
     14 class CFPF_SkiaFontMgr;
     15 
     16 class CFPF_SkiaDeviceModule : public IFPF_DeviceModule {
     17  public:
     18   CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {}
     19   ~CFPF_SkiaDeviceModule() override;
     20 
     21   // IFPF_DeviceModule
     22   void Destroy() override;
     23   IFPF_FontMgr* GetFontMgr() override;
     24 
     25  protected:
     26   CFPF_SkiaFontMgr* m_pFontMgr;
     27 };
     28 #endif
     29 
     30 #endif  // CORE_SRC_FXGE_ANDROID_FPF_SKIAMODULE_H_
     31