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 _FX_LOCALEMGR_IMP_H_
8#define _FX_LOCALEMGR_IMP_H_
9class CFX_LocaleMgr : public IFX_LocaleMgr {
10 public:
11  CFX_LocaleMgr(FX_WORD wDefLCID);
12  virtual void Release() { delete this; }
13  virtual FX_WORD GetDefLocaleID();
14  virtual IFX_Locale* GetDefLocale();
15  virtual IFX_Locale* GetLocale(FX_WORD lcid);
16  virtual IFX_Locale* GetLocaleByName(const CFX_WideStringC& wsLocaleName);
17  CFX_MapPtrToPtr m_lcid2xml;
18
19 protected:
20  ~CFX_LocaleMgr();
21  CFX_MapPtrToPtr m_lcid2locale;
22  FX_WORD m_wDefLCID;
23};
24#endif
25