| OLD | NEW |
| 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 Loading... |
| 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; |
| 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_ |
| OLD | NEW |