| 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_QRCODERMODE_H_ | 7 #ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
| 8 #define _BC_QRCODERMODE_H_ | 8 #define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
| 9 |
| 9 class CBC_QRCoderVersion; | 10 class CBC_QRCoderVersion; |
| 10 class CBC_QRCoderMode { | 11 class CBC_QRCoderMode { |
| 11 private: | 12 private: |
| 12 int32_t* m_characterCountBitsForVersions; | 13 int32_t* m_characterCountBitsForVersions; |
| 13 int32_t m_bits; | 14 int32_t m_bits; |
| 14 CFX_ByteString m_name; | 15 CFX_ByteString m_name; |
| 15 CBC_QRCoderMode(int32_t* characterCountBitsForVersions, | 16 CBC_QRCoderMode(int32_t* characterCountBitsForVersions, |
| 16 int32_t x1, | 17 int32_t x1, |
| 17 int32_t x2, | 18 int32_t x2, |
| 18 int32_t x3, | 19 int32_t x3, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 34 virtual ~CBC_QRCoderMode(); | 35 virtual ~CBC_QRCoderMode(); |
| 35 | 36 |
| 36 static void Initialize(); | 37 static void Initialize(); |
| 37 static void Finalize(); | 38 static void Finalize(); |
| 38 static CBC_QRCoderMode* ForBits(int32_t bits, int32_t& e); | 39 static CBC_QRCoderMode* ForBits(int32_t bits, int32_t& e); |
| 39 int32_t GetCharacterCountBits(CBC_QRCoderVersion* version, int32_t& e); | 40 int32_t GetCharacterCountBits(CBC_QRCoderVersion* version, int32_t& e); |
| 40 int32_t GetBits(); | 41 int32_t GetBits(); |
| 41 CFX_ByteString GetName(); | 42 CFX_ByteString GetName(); |
| 42 static void Destroy(); | 43 static void Destroy(); |
| 43 }; | 44 }; |
| 44 #endif | 45 |
| 46 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
| OLD | NEW |