1 // Copyright 2014 PDFium Authors. All rights reserved.
\r
2 // Use of this source code is governed by a BSD-style license that can be
\r
3 // found in the LICENSE file.
\r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
\r
7 #ifndef _BC_QRCODERERRORCORRECTIONLEVEL_H_
\r
8 #define _BC_QRCODERERRORCORRECTIONLEVEL_H_
\r
9 class CBC_QRCoderErrorCorrectionLevel;
\r
10 class CBC_QRCoderErrorCorrectionLevel : public CFX_Object
\r
15 CFX_ByteString m_name;
\r
16 CBC_QRCoderErrorCorrectionLevel(FX_INT32 ordinal, FX_INT32 bits, FX_CHAR* name);
\r
17 CBC_QRCoderErrorCorrectionLevel();
\r
19 static CBC_QRCoderErrorCorrectionLevel* L;
\r
20 static CBC_QRCoderErrorCorrectionLevel* M;
\r
21 static CBC_QRCoderErrorCorrectionLevel* Q;
\r
22 static CBC_QRCoderErrorCorrectionLevel* H;
\r
23 virtual ~CBC_QRCoderErrorCorrectionLevel();
\r
24 static void Initialize();
\r
25 static void Finalize();
\r
28 CFX_ByteString GetName();
\r
29 static void Destroy();
\r
30 static CBC_QRCoderErrorCorrectionLevel* ForBits(FX_INT32 bits);
\r