From df4bc596c64fb848647c670be66a29ea0861b4f4 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 31 Mar 2016 20:34:43 -0700 Subject: Remove IXFA_* interfaces. This CL removes the IXFA_* interfaces which are: - Implemented once. - Not implemented by an fpdfsdk class. This requires making a few classes visible to fpdfsdk so we can have the correct instances available instead of the IXFA types. Review URL: https://codereview.chromium.org/1846993002 --- xfa/fxfa/parser/xfa_localemgr.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'xfa/fxfa/parser/xfa_localemgr.cpp') diff --git a/xfa/fxfa/parser/xfa_localemgr.cpp b/xfa/fxfa/parser/xfa_localemgr.cpp index ce638a3b97..7ccf228177 100644 --- a/xfa/fxfa/parser/xfa_localemgr.cpp +++ b/xfa/fxfa/parser/xfa_localemgr.cpp @@ -1269,21 +1269,28 @@ CFX_WideStringC CXFA_LocaleMgr::GetConfigLocaleName(CXFA_Node* pConfig) { return m_wsConfigLocale; } static CXFA_TimeZoneProvider* g_pProvider = NULL; -IXFA_TimeZoneProvider* IXFA_TimeZoneProvider::Create() { + +// Static. +CXFA_TimeZoneProvider* CXFA_TimeZoneProvider::Create() { FXSYS_assert(!g_pProvider); g_pProvider = new CXFA_TimeZoneProvider(); return g_pProvider; } -IXFA_TimeZoneProvider* IXFA_TimeZoneProvider::Get() { + +// Static. +CXFA_TimeZoneProvider* CXFA_TimeZoneProvider::Get() { if (!g_pProvider) { g_pProvider = new CXFA_TimeZoneProvider(); } return g_pProvider; } -void IXFA_TimeZoneProvider::Destroy() { + +// Static. +void CXFA_TimeZoneProvider::Destroy() { delete g_pProvider; g_pProvider = NULL; } + #include CXFA_TimeZoneProvider::CXFA_TimeZoneProvider() { #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ -- cgit v1.2.3