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

Side by Side Diff: xfa/src/fgas/src/localization/fx_localemgr.h

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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 | « xfa/src/fgas/src/localization/fx_localeimp.h ('k') | xfa/src/fgas/src/xml/fx_sax_imp.h » ('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 _FX_LOCALEMGR_IMP_H_ 7 #ifndef _FX_LOCALEMGR_IMP_H_
8 #define _FX_LOCALEMGR_IMP_H_ 8 #define _FX_LOCALEMGR_IMP_H_
9 class CFX_LocaleMgr : public IFX_LocaleMgr, public CFX_Object 9 class CFX_LocaleMgr : public IFX_LocaleMgr
10 { 10 {
11 public: 11 public:
12 CFX_LocaleMgr(FX_WORD wDefLCID); 12 CFX_LocaleMgr(FX_WORD wDefLCID);
13 virtual void Release() 13 virtual void Release()
14 { 14 {
15 delete this; 15 delete this;
16 } 16 }
17 virtual FX_WORD GetDefLocaleID(); 17 virtual FX_WORD GetDefLocaleID();
18 virtual IFX_Locale* GetDefLocale(); 18 virtual IFX_Locale* GetDefLocale();
19 virtual IFX_Locale* GetLocale(FX_WORD lcid); 19 virtual IFX_Locale* GetLocale(FX_WORD lcid);
20 virtual IFX_Locale* GetLocaleByName(FX_WSTR wsLocaleName); 20 virtual IFX_Locale* GetLocaleByName(FX_WSTR wsLocaleName);
21 CFX_MapPtrToPtr m_lcid2xml; 21 CFX_MapPtrToPtr m_lcid2xml;
22 protected: 22 protected:
23 ~CFX_LocaleMgr(); 23 ~CFX_LocaleMgr();
24 CFX_MapPtrToPtr m_lcid2locale; 24 CFX_MapPtrToPtr m_lcid2locale;
25 FX_WORD m_wDefLCID; 25 FX_WORD m_wDefLCID;
26 }; 26 };
27 #endif 27 #endif
OLDNEW
« no previous file with comments | « xfa/src/fgas/src/localization/fx_localeimp.h ('k') | xfa/src/fgas/src/xml/fx_sax_imp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698