| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef XFA_FGAS_LOCALIZATION_FGAS_LOCALEMGR_H_ | |
| 8 #define XFA_FGAS_LOCALIZATION_FGAS_LOCALEMGR_H_ | |
| 9 | |
| 10 #include "xfa/fgas/localization/fgas_locale.h" | |
| 11 | |
| 12 class CFX_LocaleMgr : public IFX_LocaleMgr { | |
| 13 public: | |
| 14 CFX_LocaleMgr(uint16_t wDefLCID); | |
| 15 | |
| 16 void Release() override { delete this; } | |
| 17 uint16_t GetDefLocaleID() override; | |
| 18 IFX_Locale* GetDefLocale() override; | |
| 19 IFX_Locale* GetLocale(uint16_t lcid) override; | |
| 20 IFX_Locale* GetLocaleByName(const CFX_WideString& wsLocaleName) override; | |
| 21 | |
| 22 CFX_MapPtrToPtr m_lcid2xml; | |
| 23 | |
| 24 protected: | |
| 25 ~CFX_LocaleMgr() override; | |
| 26 CFX_MapPtrToPtr m_lcid2locale; | |
| 27 uint16_t m_wDefLCID; | |
| 28 }; | |
| 29 | |
| 30 #endif // XFA_FGAS_LOCALIZATION_FGAS_LOCALEMGR_H_ | |
| OLD | NEW |