diff options
Diffstat (limited to 'core/fxge/android/fpf_skiamodule.h')
-rw-r--r-- | core/fxge/android/fpf_skiamodule.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/core/fxge/android/fpf_skiamodule.h b/core/fxge/android/fpf_skiamodule.h index 95748493c7..8ad7549cf1 100644 --- a/core/fxge/android/fpf_skiamodule.h +++ b/core/fxge/android/fpf_skiamodule.h @@ -7,24 +7,28 @@ #ifndef CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ #define CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ +#include "core/fxcrt/include/fx_system.h'" + #if _FX_OS_ == _FX_ANDROID_ -#include "core/fxge/include/fpf.h" +#include "core/fxge/android/fpf_skiafontmgr.h" class CFPF_SkiaFontMgr; -class CFPF_SkiaDeviceModule : public IFPF_DeviceModule { +class CFPF_SkiaDeviceModule { public: CFPF_SkiaDeviceModule() : m_pFontMgr(nullptr) {} - ~CFPF_SkiaDeviceModule() override; + ~CFPF_SkiaDeviceModule(); - // IFPF_DeviceModule - void Destroy() override; - IFPF_FontMgr* GetFontMgr() override; + void Destroy(); + CFPF_SkiaFontMgr* GetFontMgr(); protected: CFPF_SkiaFontMgr* m_pFontMgr; }; -#endif + +CFPF_SkiaDeviceModule* CFPF_GetSkiaDeviceModule(); + +#endif // _FX_OS_ == _FX_ANDROID_ #endif // CORE_FXGE_ANDROID_FPF_SKIAMODULE_H_ |