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

Side by Side Diff: xfa/fgas/localization/fgas_locale.h

Issue 1979723003: Make CFX_WideString(const CFX_WideString&) explicit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Override Created 4 years, 7 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 | « fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h ('k') | xfa/fgas/localization/fgas_locale.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_FGAS_LOCALIZATION_FGAS_LOCALE_H_ 7 #ifndef XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_
8 #define XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ 8 #define XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_
9 9
10 #include "core/fxcrt/include/fx_xml.h" 10 #include "core/fxcrt/include/fx_xml.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 CFX_WideString& wsPattern) const = 0; 83 CFX_WideString& wsPattern) const = 0;
84 }; 84 };
85 85
86 class IFX_LocaleMgr { 86 class IFX_LocaleMgr {
87 public: 87 public:
88 virtual ~IFX_LocaleMgr() {} 88 virtual ~IFX_LocaleMgr() {}
89 virtual void Release() = 0; 89 virtual void Release() = 0;
90 virtual uint16_t GetDefLocaleID() = 0; 90 virtual uint16_t GetDefLocaleID() = 0;
91 virtual IFX_Locale* GetDefLocale() = 0; 91 virtual IFX_Locale* GetDefLocale() = 0;
92 virtual IFX_Locale* GetLocale(uint16_t lcid) = 0; 92 virtual IFX_Locale* GetLocale(uint16_t lcid) = 0;
93 virtual IFX_Locale* GetLocaleByName(const CFX_WideStringC& wsLocaleName) = 0; 93 virtual IFX_Locale* GetLocaleByName(const CFX_WideString& wsLocaleName) = 0;
94 }; 94 };
95 IFX_LocaleMgr* FX_LocaleMgr_Create(const FX_WCHAR* pszLocalPath, 95 IFX_LocaleMgr* FX_LocaleMgr_Create(const FX_WCHAR* pszLocalPath,
96 uint16_t wDefaultLCID); 96 uint16_t wDefaultLCID);
97 void FX_ParseNumString(const CFX_WideString& wsNum, CFX_WideString& wsResult); 97 void FX_ParseNumString(const CFX_WideString& wsNum, CFX_WideString& wsResult);
98 FX_BOOL FX_DateFromCanonical(const CFX_WideString& wsDate, 98 FX_BOOL FX_DateFromCanonical(const CFX_WideString& wsDate,
99 CFX_Unitime& datetime); 99 CFX_Unitime& datetime);
100 FX_BOOL FX_TimeFromCanonical(const CFX_WideStringC& wsTime, 100 FX_BOOL FX_TimeFromCanonical(const CFX_WideStringC& wsTime,
101 CFX_Unitime& datetime, 101 CFX_Unitime& datetime,
102 IFX_Locale* pLocale); 102 IFX_Locale* pLocale);
103 class CFX_Decimal { 103 class CFX_Decimal {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 CFX_Decimal Multiply(const CFX_Decimal& val) const; 145 CFX_Decimal Multiply(const CFX_Decimal& val) const;
146 CFX_Decimal Divide(const CFX_Decimal& val) const; 146 CFX_Decimal Divide(const CFX_Decimal& val) const;
147 CFX_Decimal Modulus(const CFX_Decimal& val) const; 147 CFX_Decimal Modulus(const CFX_Decimal& val) const;
148 uint32_t m_uFlags; 148 uint32_t m_uFlags;
149 uint32_t m_uHi; 149 uint32_t m_uHi;
150 uint32_t m_uLo; 150 uint32_t m_uLo;
151 uint32_t m_uMid; 151 uint32_t m_uMid;
152 }; 152 };
153 153
154 #endif // XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_ 154 #endif // XFA_FGAS_LOCALIZATION_FGAS_LOCALE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h ('k') | xfa/fgas/localization/fgas_locale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698