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

Side by Side Diff: core/src/fxcrt/fx_arabic.h

Issue 1160443004: Fix ALL the include guards. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 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
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_ARABIC_IMP 7 #ifndef FX_ARABIC_H_
8 #define _FX_ARABIC_IMP 8 #define FX_ARABIC_H_
9
9 class CFX_BidiChar FX_FINAL : public IFX_BidiChar 10 class CFX_BidiChar FX_FINAL : public IFX_BidiChar
10 { 11 {
11 public: 12 public:
12 CFX_BidiChar(); 13 CFX_BidiChar();
13 virtual void Release() FX_OVERRIDE 14 virtual void Release() FX_OVERRIDE
14 { 15 {
15 delete this; 16 delete this;
16 } 17 }
17 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) FX_OV ERRIDE 18 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) FX_OV ERRIDE
18 { 19 {
19 m_bSeparateNeutral = bSeparateNeutral; 20 m_bSeparateNeutral = bSeparateNeutral;
20 } 21 }
21 virtual FX_BOOL AppendChar(FX_WCHAR wch) FX_OVERRIDE; 22 virtual FX_BOOL AppendChar(FX_WCHAR wch) FX_OVERRIDE;
22 virtual FX_BOOL EndChar() FX_OVERRIDE; 23 virtual FX_BOOL EndChar() FX_OVERRIDE;
23 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount) FX_OVERR IDE; 24 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount) FX_OVERR IDE;
24 virtual void Reset() FX_OVERRIDE; 25 virtual void Reset() FX_OVERRIDE;
25 26
26 private: 27 private:
27 ~CFX_BidiChar() { } 28 ~CFX_BidiChar() { }
28 FX_BOOL m_bSeparateNeutral; 29 FX_BOOL m_bSeparateNeutral;
29 FX_INT32 m_iCurStart; 30 FX_INT32 m_iCurStart;
30 FX_INT32 m_iCurCount; 31 FX_INT32 m_iCurCount;
31 FX_INT32 m_iCurBidi; 32 FX_INT32 m_iCurBidi;
32 FX_INT32 m_iLastBidi; 33 FX_INT32 m_iLastBidi;
33 FX_INT32 m_iLastStart; 34 FX_INT32 m_iLastStart;
34 FX_INT32 m_iLastCount; 35 FX_INT32 m_iLastCount;
35 }; 36 };
36 #endif 37
38 #endif // FX_ARABIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698