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

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp

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 // Original code is licensed as follows: 6 // Original code is licensed as follows:
7 /* 7 /*
8 * Copyright 2013 ZXing authors 8 * Copyright 2013 ZXing authors
9 * 9 *
10 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * Licensed under the Apache License, Version 2.0 (the "License");
(...skipping 10 matching lines...) Expand all
21 */ 21 */
22 22
23 #include "../barcode.h" 23 #include "../barcode.h"
24 #include "BC_PDF417ResultMetadata.h" 24 #include "BC_PDF417ResultMetadata.h"
25 CBC_PDF417ResultMetadata::CBC_PDF417ResultMetadata() 25 CBC_PDF417ResultMetadata::CBC_PDF417ResultMetadata()
26 { 26 {
27 } 27 }
28 CBC_PDF417ResultMetadata::~CBC_PDF417ResultMetadata() 28 CBC_PDF417ResultMetadata::~CBC_PDF417ResultMetadata()
29 { 29 {
30 } 30 }
31 FX_INT32 CBC_PDF417ResultMetadata::getSegmentIndex() 31 int32_t CBC_PDF417ResultMetadata::getSegmentIndex()
32 { 32 {
33 return m_segmentIndex; 33 return m_segmentIndex;
34 } 34 }
35 void CBC_PDF417ResultMetadata::setSegmentIndex(FX_INT32 segmentIndex) 35 void CBC_PDF417ResultMetadata::setSegmentIndex(int32_t segmentIndex)
36 { 36 {
37 m_segmentIndex = segmentIndex; 37 m_segmentIndex = segmentIndex;
38 } 38 }
39 CFX_ByteString CBC_PDF417ResultMetadata::getFileId() 39 CFX_ByteString CBC_PDF417ResultMetadata::getFileId()
40 { 40 {
41 return m_fileId; 41 return m_fileId;
42 } 42 }
43 void CBC_PDF417ResultMetadata::setFileId(CFX_ByteString fileId) 43 void CBC_PDF417ResultMetadata::setFileId(CFX_ByteString fileId)
44 { 44 {
45 m_fileId = fileId; 45 m_fileId = fileId;
46 } 46 }
47 CFX_Int32Array& CBC_PDF417ResultMetadata::getOptionalData() 47 CFX_Int32Array& CBC_PDF417ResultMetadata::getOptionalData()
48 { 48 {
49 return m_optionalData; 49 return m_optionalData;
50 } 50 }
51 void CBC_PDF417ResultMetadata::setOptionalData(CFX_Int32Array &optionalData) 51 void CBC_PDF417ResultMetadata::setOptionalData(CFX_Int32Array &optionalData)
52 { 52 {
53 m_optionalData.Copy(optionalData); 53 m_optionalData.Copy(optionalData);
54 } 54 }
55 FX_BOOL CBC_PDF417ResultMetadata::isLastSegment() 55 FX_BOOL CBC_PDF417ResultMetadata::isLastSegment()
56 { 56 {
57 return m_lastSegment; 57 return m_lastSegment;
58 } 58 }
59 void CBC_PDF417ResultMetadata::setLastSegment(FX_BOOL lastSegment) 59 void CBC_PDF417ResultMetadata::setLastSegment(FX_BOOL lastSegment)
60 { 60 {
61 m_lastSegment = lastSegment; 61 m_lastSegment = lastSegment;
62 } 62 }
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698