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 XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ | 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ | 8 #define XFA_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ |
9 | 9 |
10 #include <stdint.h> | 10 #include <stdint.h> |
11 | 11 |
12 class CBC_BarcodeMetadata { | 12 class CBC_BarcodeMetadata { |
13 public: | 13 public: |
14 CBC_BarcodeMetadata(int32_t columnCount, | 14 CBC_BarcodeMetadata(int32_t columnCount, |
15 int32_t rowCountUpperPart, | 15 int32_t rowCountUpperPart, |
16 int32_t rowCountLowerPart, | 16 int32_t rowCountLowerPart, |
17 int32_t errorCorrectionLevel); | 17 int32_t errorCorrectionLevel); |
18 virtual ~CBC_BarcodeMetadata(); | 18 virtual ~CBC_BarcodeMetadata(); |
19 int32_t getColumnCount(); | 19 int32_t getColumnCount(); |
20 int32_t getErrorCorrectionLevel(); | 20 int32_t getErrorCorrectionLevel(); |
21 int32_t getRowCount(); | 21 int32_t getRowCount(); |
22 int32_t getRowCountUpperPart(); | 22 int32_t getRowCountUpperPart(); |
23 int32_t getRowCountLowerPart(); | 23 int32_t getRowCountLowerPart(); |
24 | 24 |
25 private: | 25 private: |
26 int32_t m_columnCount; | 26 int32_t m_columnCount; |
27 int32_t m_errorCorrectionLevel; | 27 int32_t m_errorCorrectionLevel; |
28 int32_t m_rowCountUpperPart; | 28 int32_t m_rowCountUpperPart; |
29 int32_t m_rowCountLowerPart; | 29 int32_t m_rowCountLowerPart; |
30 int32_t m_rowCount; | 30 int32_t m_rowCount; |
31 }; | 31 }; |
32 | 32 |
33 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ | 33 #endif // XFA_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ |
OLD | NEW |