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

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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 _BC_CODEWORD_H_ 7 #ifndef _BC_CODEWORD_H_
8 #define _BC_CODEWORD_H_ 8 #define _BC_CODEWORD_H_
9 class CBC_Codeword 9 class CBC_Codeword
10 { 10 {
11 public: 11 public:
12 CBC_Codeword(FX_INT32 startX, FX_INT32 endX, FX_INT32 bucket, FX_INT32 value ); 12 CBC_Codeword(int32_t startX, int32_t endX, int32_t bucket, int32_t value);
13 virtual ~CBC_Codeword(); 13 virtual ~CBC_Codeword();
14 FX_BOOL hasValidRowNumber() ; 14 FX_BOOL hasValidRowNumber() ;
15 FX_BOOL isValidRowNumber(FX_INT32 rowNumber); 15 FX_BOOL isValidRowNumber(int32_t rowNumber);
16 void setRowNumberAsRowIndicatorColumn(); 16 void setRowNumberAsRowIndicatorColumn();
17 FX_INT32 getWidth(); 17 int32_t getWidth();
18 FX_INT32 getStartX(); 18 int32_t getStartX();
19 FX_INT32 getEndX(); 19 int32_t getEndX();
20 FX_INT32 getBucket(); 20 int32_t getBucket();
21 FX_INT32 getValue(); 21 int32_t getValue();
22 FX_INT32 getRowNumber(); 22 int32_t getRowNumber();
23 void setRowNumber(FX_INT32 rowNumber); 23 void setRowNumber(int32_t rowNumber);
24 CFX_ByteString toString(); 24 CFX_ByteString toString();
25 private: 25 private:
26 static FX_INT32 BARCODE_ROW_UNKNOWN; 26 static int32_t BARCODE_ROW_UNKNOWN;
27 FX_INT32 m_startX; 27 int32_t m_startX;
28 FX_INT32 m_endX; 28 int32_t m_endX;
29 FX_INT32 m_bucket; 29 int32_t m_bucket;
30 FX_INT32 m_value; 30 int32_t m_value;
31 FX_INT32 m_rowNumber; 31 int32_t m_rowNumber;
32 }; 32 };
33 #endif 33 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.cpp ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698