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 "xfa/fgas/localization/fgas_datetime.h" | 10 #include "xfa/fgas/localization/fgas_datetime.h" |
11 #include "xfa/fgas/localization/fgas_locale.h" | 11 #include "xfa/fgas/localization/fgas_locale.h" |
12 #include "xfa/fxfa/parser/xfa_localemgr.h" | 12 #include "xfa/fxfa/parser/xfa_localemgr.h" |
13 #include "xfa/include/fxfa/fxfa_objectacc.h" | |
14 | 13 |
15 class CXFA_Node; | 14 class CXFA_Node; |
16 class IFX_Locale; | 15 class IFX_Locale; |
17 | 16 |
18 #define XFA_LANGID_zh_CN 0x0804 | 17 #define XFA_LANGID_zh_CN 0x0804 |
19 #define XFA_LANGID_zh_TW 0x0404 | 18 #define XFA_LANGID_zh_TW 0x0404 |
20 #define XFA_LANGID_zh_HK 0x0c04 | 19 #define XFA_LANGID_zh_HK 0x0c04 |
21 #define XFA_LANGID_ja_JP 0x0411 | 20 #define XFA_LANGID_ja_JP 0x0411 |
22 #define XFA_LANGID_ko_KR 0x0412 | 21 #define XFA_LANGID_ko_KR 0x0412 |
23 #define XFA_LANGID_en_US 0x0409 | 22 #define XFA_LANGID_en_US 0x0409 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 static void Destroy(); | 61 static void Destroy(); |
63 | 62 |
64 void SetTimeZone(FX_TIMEZONE& tz); | 63 void SetTimeZone(FX_TIMEZONE& tz); |
65 void GetTimeZone(FX_TIMEZONE& tz); | 64 void GetTimeZone(FX_TIMEZONE& tz); |
66 | 65 |
67 private: | 66 private: |
68 FX_TIMEZONE m_tz; | 67 FX_TIMEZONE m_tz; |
69 }; | 68 }; |
70 | 69 |
71 #endif // XFA_FXFA_PARSER_XFA_LOCALEMGR_H_ | 70 #endif // XFA_FXFA_PARSER_XFA_LOCALEMGR_H_ |
OLD | NEW |