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

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

Issue 2488403004: Add fpdfppo_embeddertest.cpp. (Closed)
Patch Set: Created 4 years, 1 month 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
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 <memory> 10 #include <memory>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 CFX_WideString m_wsConfigLocale; 55 CFX_WideString m_wsConfigLocale;
56 uint16_t m_dwDeflcid; 56 uint16_t m_dwDeflcid;
57 uint16_t m_dwLocaleFlags; 57 uint16_t m_dwLocaleFlags;
58 }; 58 };
59 59
60 class CXFA_TimeZoneProvider { 60 class CXFA_TimeZoneProvider {
61 public: 61 public:
62 CXFA_TimeZoneProvider(); 62 CXFA_TimeZoneProvider();
63 ~CXFA_TimeZoneProvider(); 63 ~CXFA_TimeZoneProvider();
64 64
65 static CXFA_TimeZoneProvider* Create(); 65 void GetTimeZone(FX_TIMEZONE& tz) const;
Lei Zhang 2016/11/11 23:56:48 Change this to take a pointer?
Tom Sepez 2016/11/12 00:35:46 Done.
66 static CXFA_TimeZoneProvider* Get();
67 static void Destroy();
68
69 void SetTimeZone(FX_TIMEZONE& tz);
70 void GetTimeZone(FX_TIMEZONE& tz);
71 66
72 private: 67 private:
73 FX_TIMEZONE m_tz; 68 FX_TIMEZONE m_tz;
74 }; 69 };
75 70
76 #endif // XFA_FXFA_PARSER_XFA_LOCALEMGR_H_ 71 #endif // XFA_FXFA_PARSER_XFA_LOCALEMGR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698