OLD | NEW |
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_PDF417READER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417RESULTMETADATA_H_ |
8 #define _BC_PDF417READER_H_ | 8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417RESULTMETADATA_H_ |
| 9 |
9 class CBC_PDF417ResultMetadata { | 10 class CBC_PDF417ResultMetadata { |
10 public: | 11 public: |
11 CBC_PDF417ResultMetadata(); | 12 CBC_PDF417ResultMetadata(); |
12 virtual ~CBC_PDF417ResultMetadata(); | 13 virtual ~CBC_PDF417ResultMetadata(); |
13 int32_t getSegmentIndex(); | 14 int32_t getSegmentIndex(); |
14 void setSegmentIndex(int32_t segmentIndex); | 15 void setSegmentIndex(int32_t segmentIndex); |
15 CFX_ByteString getFileId(); | 16 CFX_ByteString getFileId(); |
16 void setFileId(CFX_ByteString fileId); | 17 void setFileId(CFX_ByteString fileId); |
17 CFX_Int32Array& getOptionalData(); | 18 CFX_Int32Array& getOptionalData(); |
18 void setOptionalData(CFX_Int32Array& optionalData); | 19 void setOptionalData(CFX_Int32Array& optionalData); |
19 FX_BOOL isLastSegment(); | 20 FX_BOOL isLastSegment(); |
20 void setLastSegment(FX_BOOL lastSegment); | 21 void setLastSegment(FX_BOOL lastSegment); |
21 | 22 |
22 private: | 23 private: |
23 int32_t m_segmentIndex; | 24 int32_t m_segmentIndex; |
24 CFX_ByteString m_fileId; | 25 CFX_ByteString m_fileId; |
25 CFX_Int32Array m_optionalData; | 26 CFX_Int32Array m_optionalData; |
26 FX_BOOL m_lastSegment; | 27 FX_BOOL m_lastSegment; |
27 }; | 28 }; |
28 #endif | 29 |
| 30 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417RESULTMETADATA_H_ |
OLD | NEW |