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