1 // Copyright 2014 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef _BC_PDF417READER_H_ 8 #define _BC_PDF417READER_H_ 9 class CBC_PDF417ResultMetadata { 10 public: 11 CBC_PDF417ResultMetadata(); 12 virtual ~CBC_PDF417ResultMetadata(); 13 int32_t getSegmentIndex(); 14 void setSegmentIndex(int32_t segmentIndex); 15 CFX_ByteString getFileId(); 16 void setFileId(CFX_ByteString fileId); 17 CFX_Int32Array& getOptionalData(); 18 void setOptionalData(CFX_Int32Array& optionalData); 19 FX_BOOL isLastSegment(); 20 void setLastSegment(FX_BOOL lastSegment); 21 22 private: 23 int32_t m_segmentIndex; 24 CFX_ByteString m_fileId; 25 CFX_Int32Array m_optionalData; 26 FX_BOOL m_lastSegment; 27 }; 28 #endif 29