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

Side by Side Diff: xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.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_ONEDCODABARREADER_H_ 7 #ifndef _BC_ONEDCODABARREADER_H_
8 #define _BC_ONEDCODABARREADER_H_ 8 #define _BC_ONEDCODABARREADER_H_
9 class CBC_CommonBitArray; 9 class CBC_CommonBitArray;
10 class CBC_OneDReader; 10 class CBC_OneDReader;
11 class CBC_OnedCodaBarReader; 11 class CBC_OnedCodaBarReader;
12 class CBC_OnedCodaBarReader : public CBC_OneDReader 12 class CBC_OnedCodaBarReader : public CBC_OneDReader
13 { 13 {
14 public: 14 public:
15 CBC_OnedCodaBarReader(); 15 CBC_OnedCodaBarReader();
16 virtual ~CBC_OnedCodaBarReader(); 16 virtual ~CBC_OnedCodaBarReader();
17 CFX_ByteString DecodeRow(FX_INT32 rowNumber, CBC_CommonBitArray *row, FX_INT 32 hints, FX_INT32 &e); 17 CFX_ByteString DecodeRow(int32_t rowNumber, CBC_CommonBitArray *row, int32_t hints, int32_t &e);
18 CFX_Int32Array *FindAsteriskPattern(CBC_CommonBitArray *row, FX_INT32 &e); 18 CFX_Int32Array *FindAsteriskPattern(CBC_CommonBitArray *row, int32_t &e);
19 FX_BOOL ArrayContains(const FX_CHAR array[], FX_CHAR key); 19 FX_BOOL ArrayContains(const FX_CHAR array[], FX_CHAR key);
20 FX_CHAR ToNarrowWidePattern(CFX_Int32Array *counter); 20 FX_CHAR ToNarrowWidePattern(CFX_Int32Array *counter);
21 static FX_LPCSTR ALPHABET_STRING; 21 static FX_LPCSTR ALPHABET_STRING;
22 22
23 23
24 const static FX_INT32 CHARACTER_ENCODINGS[22]; 24 const static int32_t CHARACTER_ENCODINGS[22];
25 25
26 const static FX_INT32 minCharacterLength; 26 const static int32_t minCharacterLength;
27 27
28 const static FX_CHAR STARTEND_ENCODING[8]; 28 const static FX_CHAR STARTEND_ENCODING[8];
29 }; 29 };
30 #endif 30 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp ('k') | xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698