Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(774)

Side by Side Diff: xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 CBC_QRCoder; 13 class CBC_QRCoder;
14 class CBC_QRCoderErrorCorrectionLevel; 14 class CBC_QRCoderErrorCorrectionLevel;
15 class CBC_QRCoderMode; 15 class CBC_QRCoderMode;
16 class CBC_QRCoderBitVector; 16 class CBC_QRCoderBitVector;
17 class CBC_CommonByteArray; 17 class CBC_CommonByteArray;
18 class CBC_CommonByteMatrix; 18 class CBC_CommonByteMatrix;
19 19
20 class CBC_QRCoderEncoder { 20 class CBC_QRCoderEncoder {
21 private: 21 private:
22 const static int32_t m_alphaNumbericTable[96]; 22 static const int32_t m_alphaNumbericTable[96];
23 23
24 public: 24 public:
25 CBC_QRCoderEncoder(); 25 CBC_QRCoderEncoder();
26 virtual ~CBC_QRCoderEncoder(); 26 virtual ~CBC_QRCoderEncoder();
27 27
28 static void Encode(const CFX_ByteString& content, 28 static void Encode(const CFX_ByteString& content,
29 CBC_QRCoderErrorCorrectionLevel* ecLevel, 29 CBC_QRCoderErrorCorrectionLevel* ecLevel,
30 CBC_QRCoder* qrCode, 30 CBC_QRCoder* qrCode,
31 int32_t& e, 31 int32_t& e,
32 int32_t versionSpecify = 0); 32 int32_t versionSpecify = 0);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 static void SplitString(const CFX_ByteString& content, CFX_PtrArray& result); 124 static void SplitString(const CFX_ByteString& content, CFX_PtrArray& result);
125 static void AppendDataModeLenghInfo(CFX_PtrArray& splitResult, 125 static void AppendDataModeLenghInfo(CFX_PtrArray& splitResult,
126 CBC_QRCoderBitVector& headerAndDataBits, 126 CBC_QRCoderBitVector& headerAndDataBits,
127 CBC_QRCoderMode* tempMode, 127 CBC_QRCoderMode* tempMode,
128 CBC_QRCoder* qrCode, 128 CBC_QRCoder* qrCode,
129 CFX_ByteString& encoding, 129 CFX_ByteString& encoding,
130 int32_t& e); 130 int32_t& e);
131 }; 131 };
132 132
133 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ 133 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/qrcode/BC_QRCoder.h ('k') | xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698