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