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

Side by Side Diff: xfa/fwl/basewidget/fxmath_barcodeimp.h

Issue 1935793002: Fix lint bugs. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase 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/javascript/JS_Define.h ('k') | xfa/fwl/basewidget/fxmath_barcodeimp.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_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ 7 #ifndef XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_
8 #define XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ 8 #define XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
(...skipping 10 matching lines...) Expand all
21 class CFX_Barcode { 21 class CFX_Barcode {
22 public: 22 public:
23 CFX_Barcode(); 23 CFX_Barcode();
24 ~CFX_Barcode(); 24 ~CFX_Barcode();
25 25
26 FX_BOOL Create(BC_TYPE type); 26 FX_BOOL Create(BC_TYPE type);
27 void Release(); 27 void Release();
28 BC_TYPE GetType(); 28 BC_TYPE GetType();
29 FX_BOOL Encode(const CFX_WideStringC& contents, FX_BOOL isDevice, int32_t& e); 29 FX_BOOL Encode(const CFX_WideStringC& contents, FX_BOOL isDevice, int32_t& e);
30 FX_BOOL RenderDevice(CFX_RenderDevice* device, 30 FX_BOOL RenderDevice(CFX_RenderDevice* device,
31 const CFX_Matrix* matirx, 31 const CFX_Matrix* matrix,
32 int32_t& e); 32 int32_t& e);
33 FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e); 33 FX_BOOL RenderBitmap(CFX_DIBitmap*& pOutBitmap, int32_t& e);
34 CFX_WideString Decode(uint8_t* buf, 34 CFX_WideString Decode(uint8_t* buf,
35 int32_t width, 35 int32_t width,
36 int32_t height, 36 int32_t height,
37 int32_t& errorCode); 37 int32_t& errorCode);
38 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& errorCode); 38 CFX_WideString Decode(CFX_DIBitmap* pBitmap, int32_t& errorCode);
39 FX_BOOL SetCharEncoding(BC_CHAR_ENCODING encoding); 39 FX_BOOL SetCharEncoding(BC_CHAR_ENCODING encoding);
40 FX_BOOL SetModuleHeight(int32_t moduleHeight); 40 FX_BOOL SetModuleHeight(int32_t moduleHeight);
41 FX_BOOL SetModuleWidth(int32_t moduleWidth); 41 FX_BOOL SetModuleWidth(int32_t moduleWidth);
(...skipping 13 matching lines...) Expand all
55 FX_BOOL SetEndChar(FX_CHAR end); 55 FX_BOOL SetEndChar(FX_CHAR end);
56 FX_BOOL SetVersion(int32_t version); 56 FX_BOOL SetVersion(int32_t version);
57 FX_BOOL SetErrorCorrectionLevel(int32_t level); 57 FX_BOOL SetErrorCorrectionLevel(int32_t level);
58 FX_BOOL SetTruncated(FX_BOOL truncated); 58 FX_BOOL SetTruncated(FX_BOOL truncated);
59 59
60 protected: 60 protected:
61 CBC_CodeBase* m_pBCEngine; 61 CBC_CodeBase* m_pBCEngine;
62 }; 62 };
63 63
64 #endif // XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_ 64 #endif // XFA_FWL_BASEWIDGET_FXMATH_BARCODEIMP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/JS_Define.h ('k') | xfa/fwl/basewidget/fxmath_barcodeimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698