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_QRCODERERRORCORRECTIONLEVEL_H_ | 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ |
8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ | 8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" |
11 | 11 |
12 class CBC_QRCoderErrorCorrectionLevel { | 12 class CBC_QRCoderErrorCorrectionLevel { |
13 public: | 13 public: |
14 static CBC_QRCoderErrorCorrectionLevel* L; | 14 static CBC_QRCoderErrorCorrectionLevel* L; |
15 static CBC_QRCoderErrorCorrectionLevel* M; | 15 static CBC_QRCoderErrorCorrectionLevel* M; |
16 static CBC_QRCoderErrorCorrectionLevel* Q; | 16 static CBC_QRCoderErrorCorrectionLevel* Q; |
17 static CBC_QRCoderErrorCorrectionLevel* H; | 17 static CBC_QRCoderErrorCorrectionLevel* H; |
18 | 18 |
19 static void Initialize(); | 19 static void Initialize(); |
20 static void Finalize(); | 20 static void Finalize(); |
(...skipping 11 matching lines...) Expand all Loading... |
32 int32_t bits, | 32 int32_t bits, |
33 const FX_CHAR* name); | 33 const FX_CHAR* name); |
34 CBC_QRCoderErrorCorrectionLevel(); | 34 CBC_QRCoderErrorCorrectionLevel(); |
35 | 35 |
36 int32_t m_ordinal; | 36 int32_t m_ordinal; |
37 int32_t m_bits; | 37 int32_t m_bits; |
38 CFX_ByteString m_name; | 38 CFX_ByteString m_name; |
39 }; | 39 }; |
40 | 40 |
41 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ | 41 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ |
OLD | NEW |