diff options
Diffstat (limited to 'xfa/fgas/font/cfgas_defaultfontmanager.h')
-rw-r--r-- | xfa/fgas/font/cfgas_defaultfontmanager.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/xfa/fgas/font/cfgas_defaultfontmanager.h b/xfa/fgas/font/cfgas_defaultfontmanager.h index 3d723d5e14..e1b36be386 100644 --- a/xfa/fgas/font/cfgas_defaultfontmanager.h +++ b/xfa/fgas/font/cfgas_defaultfontmanager.h @@ -15,15 +15,17 @@ class CFGAS_FontMgr; class CFGAS_DefaultFontManager { public: - CFGAS_DefaultFontManager(); - ~CFGAS_DefaultFontManager(); - - RetainPtr<CFGAS_GEFont> GetFont(CFGAS_FontMgr* pFontMgr, - const WideStringView& wsFontFamily, - uint32_t dwFontStyles); - RetainPtr<CFGAS_GEFont> GetDefaultFont(CFGAS_FontMgr* pFontMgr, + static RetainPtr<CFGAS_GEFont> GetFont(CFGAS_FontMgr* pFontMgr, const WideStringView& wsFontFamily, uint32_t dwFontStyles); + static RetainPtr<CFGAS_GEFont> GetDefaultFont( + CFGAS_FontMgr* pFontMgr, + const WideStringView& wsFontFamily, + uint32_t dwFontStyles); + + CFGAS_DefaultFontManager() = delete; + CFGAS_DefaultFontManager(const CFGAS_DefaultFontManager&) = delete; + CFGAS_DefaultFontManager& operator=(const CFGAS_DefaultFontManager&) = delete; }; #endif // XFA_FGAS_FONT_CFGAS_DEFAULTFONTMANAGER_H_ |