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_DATAMATRIXVERSION_H_ | 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXVERSION_H_ |
8 #define _BC_DATAMATRIXVERSION_H_ | 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXVERSION_H_ |
| 9 |
9 class ECBlocks; | 10 class ECBlocks; |
10 class CBC_DataMatrixVersion; | 11 class CBC_DataMatrixVersion; |
11 class ECB { | 12 class ECB { |
12 public: | 13 public: |
13 ECB(int32_t count, int32_t dataCodewords) { | 14 ECB(int32_t count, int32_t dataCodewords) { |
14 m_count = count; | 15 m_count = count; |
15 m_dataCodewords = dataCodewords; | 16 m_dataCodewords = dataCodewords; |
16 } | 17 } |
17 | 18 |
18 int32_t GetCount() { return m_count; } | 19 int32_t GetCount() { return m_count; } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 private: | 77 private: |
77 int32_t m_versionNumber; | 78 int32_t m_versionNumber; |
78 int32_t m_symbolSizeRows; | 79 int32_t m_symbolSizeRows; |
79 int32_t m_symbolSizeColumns; | 80 int32_t m_symbolSizeColumns; |
80 int32_t m_dataRegionSizeRows; | 81 int32_t m_dataRegionSizeRows; |
81 int32_t m_dataRegionSizeColumns; | 82 int32_t m_dataRegionSizeColumns; |
82 ECBlocks* m_ecBlocks; | 83 ECBlocks* m_ecBlocks; |
83 int32_t m_totalCodewords; | 84 int32_t m_totalCodewords; |
84 static CFX_PtrArray* VERSIONS; | 85 static CFX_PtrArray* VERSIONS; |
85 }; | 86 }; |
86 #endif | 87 |
| 88 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXVERSION_H_ |
OLD | NEW |