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_SRC_FGAS_LOCALIZATION_FGAS_LOCALEIMP_H_ | 7 #ifndef XFA_FGAS_LOCALIZATION_FGAS_LOCALEIMP_H_ |
8 #define XFA_SRC_FGAS_LOCALIZATION_FGAS_LOCALEIMP_H_ | 8 #define XFA_FGAS_LOCALIZATION_FGAS_LOCALEIMP_H_ |
9 | 9 |
10 #include "xfa/src/fgas/localization/fgas_locale.h" | 10 #include "xfa/fgas/localization/fgas_locale.h" |
11 | 11 |
12 class CFX_LCNumeric; | 12 class CFX_LCNumeric; |
13 | 13 |
14 class CFX_Locale : public IFX_Locale { | 14 class CFX_Locale : public IFX_Locale { |
15 public: | 15 public: |
16 CFX_Locale(CXML_Element* pLocaleData); | 16 CFX_Locale(CXML_Element* pLocaleData); |
17 virtual void Release() { delete this; } | 17 virtual void Release() { delete this; } |
18 | 18 |
19 virtual CFX_WideString GetName(); | 19 virtual CFX_WideString GetName(); |
20 virtual void GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, | 20 virtual void GetNumbericSymbol(FX_LOCALENUMSYMBOL eType, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 CFX_WideString& wsOutput); | 112 CFX_WideString& wsOutput); |
113 FX_DATETIMETYPE GetDateTimeFormat(const CFX_WideString& wsPattern, | 113 FX_DATETIMETYPE GetDateTimeFormat(const CFX_WideString& wsPattern, |
114 IFX_Locale*& pLocale, | 114 IFX_Locale*& pLocale, |
115 CFX_WideString& wsDatePattern, | 115 CFX_WideString& wsDatePattern, |
116 CFX_WideString& wsTimePattern); | 116 CFX_WideString& wsTimePattern); |
117 IFX_Locale* GetPatternLocale(const CFX_WideStringC& wsLocale); | 117 IFX_Locale* GetPatternLocale(const CFX_WideStringC& wsLocale); |
118 IFX_LocaleMgr* m_pLocaleMgr; | 118 IFX_LocaleMgr* m_pLocaleMgr; |
119 FX_BOOL m_bUseLCID; | 119 FX_BOOL m_bUseLCID; |
120 }; | 120 }; |
121 | 121 |
122 #endif // XFA_SRC_FGAS_LOCALIZATION_FGAS_LOCALEIMP_H_ | 122 #endif // XFA_FGAS_LOCALIZATION_FGAS_LOCALEIMP_H_ |
OLD | NEW |