| 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_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ | 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
| 8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ | 8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
| 9 | 9 |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| 11 | 11 |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "core/fxcrt/include/fx_string.h" | 14 #include "core/fxcrt/fx_string.h" |
| 15 | 15 |
| 16 class CBC_QRCoderVersion; | 16 class CBC_QRCoderVersion; |
| 17 | 17 |
| 18 class CBC_QRCoderMode { | 18 class CBC_QRCoderMode { |
| 19 public: | 19 public: |
| 20 virtual ~CBC_QRCoderMode(); | 20 virtual ~CBC_QRCoderMode(); |
| 21 | 21 |
| 22 static void Initialize(); | 22 static void Initialize(); |
| 23 static void Finalize(); | 23 static void Finalize(); |
| 24 static CBC_QRCoderMode* ForBits(int32_t bits, int32_t& e); | 24 static CBC_QRCoderMode* ForBits(int32_t bits, int32_t& e); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 44 CBC_QRCoderMode(std::vector<int32_t> charCountBits, | 44 CBC_QRCoderMode(std::vector<int32_t> charCountBits, |
| 45 int32_t bits, | 45 int32_t bits, |
| 46 CFX_ByteString name); | 46 CFX_ByteString name); |
| 47 | 47 |
| 48 std::vector<int32_t> m_characterCountBitsForVersions; | 48 std::vector<int32_t> m_characterCountBitsForVersions; |
| 49 const int32_t m_bits; | 49 const int32_t m_bits; |
| 50 const CFX_ByteString m_name; | 50 const CFX_ByteString m_name; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ | 53 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
| OLD | NEW |