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