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_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ |
8 #define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ | 8 #define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
11 #include "core/include/fxcrt/fx_string.h" | 11 #include "core/include/fxcrt/fx_string.h" |
12 | 12 |
13 class Make_Pair; | |
14 class CBC_QRCoder; | 13 class CBC_QRCoder; |
15 class CBC_QRCoderErrorCorrectionLevel; | 14 class CBC_QRCoderErrorCorrectionLevel; |
16 class CBC_QRCoderMode; | 15 class CBC_QRCoderMode; |
17 class CBC_QRCoderBitVector; | 16 class CBC_QRCoderBitVector; |
18 class CBC_CommonByteArray; | 17 class CBC_CommonByteArray; |
19 class CBC_CommonByteMatrix; | 18 class CBC_CommonByteMatrix; |
20 | 19 |
21 class CBC_QRCoderEncoder { | 20 class CBC_QRCoderEncoder { |
22 private: | 21 private: |
23 const static int32_t m_alphaNumbericTable[96]; | 22 const static int32_t m_alphaNumbericTable[96]; |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 static void SplitString(const CFX_ByteString& content, CFX_PtrArray& result); | 124 static void SplitString(const CFX_ByteString& content, CFX_PtrArray& result); |
126 static void AppendDataModeLenghInfo(CFX_PtrArray& splitResult, | 125 static void AppendDataModeLenghInfo(CFX_PtrArray& splitResult, |
127 CBC_QRCoderBitVector& headerAndDataBits, | 126 CBC_QRCoderBitVector& headerAndDataBits, |
128 CBC_QRCoderMode* tempMode, | 127 CBC_QRCoderMode* tempMode, |
129 CBC_QRCoder* qrCode, | 128 CBC_QRCoder* qrCode, |
130 CFX_ByteString& encoding, | 129 CFX_ByteString& encoding, |
131 int32_t& e); | 130 int32_t& e); |
132 }; | 131 }; |
133 | 132 |
134 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ | 133 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ |
OLD | NEW |