Home | History | Annotate | Download | only in android
      1 // Copyright 2016 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_CFPF_SKIADEVICEMODULE_H_
      8 #define CORE_FXGE_ANDROID_CFPF_SKIADEVICEMODULE_H_
      9 
     10 class CFPF_SkiaFontMgr;
     11 
     12 class CFPF_SkiaDeviceModule {
     13  public:
     14   CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {}
     15   ~CFPF_SkiaDeviceModule();
     16 
     17   void Destroy();
     18   CFPF_SkiaFontMgr* GetFontMgr();
     19 
     20  protected:
     21   CFPF_SkiaFontMgr* m_pFontMgr;
     22 };
     23 
     24 CFPF_SkiaDeviceModule* CFPF_GetSkiaDeviceModule();
     25 
     26 #endif  // CORE_FXGE_ANDROID_CFPF_SKIADEVICEMODULE_H_
     27