| 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_QRCODERECBLOCKS_H_ | 7 #ifndef _BC_QRCODERECBLOCKS_H_ |
| 8 #define _BC_QRCODERECBLOCKS_H_ | 8 #define _BC_QRCODERECBLOCKS_H_ |
| 9 class CBC_QRCoderECB; | 9 class CBC_QRCoderECB; |
| 10 class CBC_QRCoderECBlocks; | 10 class CBC_QRCoderECBlocks |
| 11 class CBC_QRCoderECBlocks : public CFX_Object | |
| 12 { | 11 { |
| 13 private: | 12 private: |
| 14 FX_INT32 m_ecCodeWordsPerBlock; | 13 FX_INT32 m_ecCodeWordsPerBlock; |
| 15 CFX_PtrArray m_ecBlocks; | 14 CFX_PtrArray m_ecBlocks; |
| 16 public: | 15 public: |
| 17 CBC_QRCoderECBlocks(FX_INT32 ecCodeWordsPerBlock, CBC_QRCoderECB* ecBlocks); | 16 CBC_QRCoderECBlocks(FX_INT32 ecCodeWordsPerBlock, CBC_QRCoderECB* ecBlocks); |
| 18 CBC_QRCoderECBlocks(FX_INT32 ecCodeWordsPerBlock, CBC_QRCoderECB* ecBlocks1,
CBC_QRCoderECB* ecBlocks2); | 17 CBC_QRCoderECBlocks(FX_INT32 ecCodeWordsPerBlock, CBC_QRCoderECB* ecBlocks1,
CBC_QRCoderECB* ecBlocks2); |
| 19 virtual ~CBC_QRCoderECBlocks(); | 18 virtual ~CBC_QRCoderECBlocks(); |
| 20 FX_INT32 GetECCodeWordsPerBlock(); | 19 FX_INT32 GetECCodeWordsPerBlock(); |
| 21 FX_INT32 GetNumBlocks(); | 20 FX_INT32 GetNumBlocks(); |
| 22 FX_INT32 GetTotalECCodeWords(); | 21 FX_INT32 GetTotalECCodeWords(); |
| 23 CFX_PtrArray* GetECBlocks(); | 22 CFX_PtrArray* GetECBlocks(); |
| 24 }; | 23 }; |
| 25 #endif | 24 #endif |
| OLD | NEW |