Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: xfa/fxfa/parser/xfa_localemgr.h

Issue 1846993002: Remove IXFA_* interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/parser/xfa_locale.cpp ('k') | xfa/fxfa/parser/xfa_localemgr.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FXFA_PARSER_XFA_LOCALEMGR_H_ 7 #ifndef XFA_FXFA_PARSER_XFA_LOCALEMGR_H_
8 #define XFA_FXFA_PARSER_XFA_LOCALEMGR_H_ 8 #define XFA_FXFA_PARSER_XFA_LOCALEMGR_H_
9 9
10 #include "xfa/fgas/localization/fgas_datetime.h" 10 #include "xfa/fgas/localization/fgas_datetime.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 protected: 46 protected:
47 CFX_PtrArray m_LocaleArray; 47 CFX_PtrArray m_LocaleArray;
48 CFX_PtrArray m_XMLLocaleArray; 48 CFX_PtrArray m_XMLLocaleArray;
49 IFX_Locale* m_pDefLocale; 49 IFX_Locale* m_pDefLocale;
50 CFX_WideString m_wsConfigLocale; 50 CFX_WideString m_wsConfigLocale;
51 uint16_t m_dwDeflcid; 51 uint16_t m_dwDeflcid;
52 uint16_t m_dwLocaleFlags; 52 uint16_t m_dwLocaleFlags;
53 }; 53 };
54 54
55 class IXFA_TimeZoneProvider { 55 class CXFA_TimeZoneProvider {
56 public: 56 public:
57 static IXFA_TimeZoneProvider* Create(); 57 CXFA_TimeZoneProvider();
58 static IXFA_TimeZoneProvider* Get(); 58 ~CXFA_TimeZoneProvider();
59
60 static CXFA_TimeZoneProvider* Create();
61 static CXFA_TimeZoneProvider* Get();
59 static void Destroy(); 62 static void Destroy();
60 63
61 virtual ~IXFA_TimeZoneProvider() {} 64 void SetTimeZone(FX_TIMEZONE& tz);
62 65 void GetTimeZone(FX_TIMEZONE& tz);
63 virtual void SetTimeZone(FX_TIMEZONE& tz) = 0;
64
65 virtual void GetTimeZone(FX_TIMEZONE& tz) = 0;
66 };
67 class CXFA_TimeZoneProvider : public IXFA_TimeZoneProvider {
68 public:
69 CXFA_TimeZoneProvider();
70 virtual ~CXFA_TimeZoneProvider();
71 virtual void SetTimeZone(FX_TIMEZONE& tz);
72 virtual void GetTimeZone(FX_TIMEZONE& tz);
73 66
74 private: 67 private:
75 FX_TIMEZONE m_tz; 68 FX_TIMEZONE m_tz;
76 }; 69 };
77 70
78 #endif // XFA_FXFA_PARSER_XFA_LOCALEMGR_H_ 71 #endif // XFA_FXFA_PARSER_XFA_LOCALEMGR_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/parser/xfa_locale.cpp ('k') | xfa/fxfa/parser/xfa_localemgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698