summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/xfa_localemgr.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-03-31 20:34:43 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-31 20:34:43 -0700
commitdf4bc596c64fb848647c670be66a29ea0861b4f4 (patch)
tree096f18bc5903e45982291daf81424d0d4954d158 /xfa/fxfa/parser/xfa_localemgr.h
parent64376be4aac4710848b36b823fd98aae75095336 (diff)
downloadpdfium-df4bc596c64fb848647c670be66a29ea0861b4f4.tar.xz
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
Diffstat (limited to 'xfa/fxfa/parser/xfa_localemgr.h')
-rw-r--r--xfa/fxfa/parser/xfa_localemgr.h23
1 files changed, 8 insertions, 15 deletions
diff --git a/xfa/fxfa/parser/xfa_localemgr.h b/xfa/fxfa/parser/xfa_localemgr.h
index a30d0cc1ad..62b8c67924 100644
--- a/xfa/fxfa/parser/xfa_localemgr.h
+++ b/xfa/fxfa/parser/xfa_localemgr.h
@@ -52,24 +52,17 @@ class CXFA_LocaleMgr : public IFX_LocaleMgr {
uint16_t m_dwLocaleFlags;
};
-class IXFA_TimeZoneProvider {
+class CXFA_TimeZoneProvider {
public:
- static IXFA_TimeZoneProvider* Create();
- static IXFA_TimeZoneProvider* Get();
- static void Destroy();
-
- virtual ~IXFA_TimeZoneProvider() {}
+ CXFA_TimeZoneProvider();
+ ~CXFA_TimeZoneProvider();
- virtual void SetTimeZone(FX_TIMEZONE& tz) = 0;
+ static CXFA_TimeZoneProvider* Create();
+ static CXFA_TimeZoneProvider* Get();
+ static void Destroy();
- virtual void GetTimeZone(FX_TIMEZONE& tz) = 0;
-};
-class CXFA_TimeZoneProvider : public IXFA_TimeZoneProvider {
- public:
- CXFA_TimeZoneProvider();
- virtual ~CXFA_TimeZoneProvider();
- virtual void SetTimeZone(FX_TIMEZONE& tz);
- virtual void GetTimeZone(FX_TIMEZONE& tz);
+ void SetTimeZone(FX_TIMEZONE& tz);
+ void GetTimeZone(FX_TIMEZONE& tz);
private:
FX_TIMEZONE m_tz;