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_QRCODERMODE_H_ | 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
8 #define XFA_SRC_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 "core/include/fxcrt/fx_string.h" | 12 #include "core/include/fxcrt/fx_string.h" |
13 | 13 |
14 class CBC_QRCoderVersion; | 14 class CBC_QRCoderVersion; |
15 | 15 |
16 class CBC_QRCoderMode { | 16 class CBC_QRCoderMode { |
17 private: | 17 private: |
18 int32_t* m_characterCountBitsForVersions; | 18 int32_t* m_characterCountBitsForVersions; |
(...skipping 22 matching lines...) Expand all Loading... |
41 | 41 |
42 static void Initialize(); | 42 static void Initialize(); |
43 static void Finalize(); | 43 static void Finalize(); |
44 static CBC_QRCoderMode* ForBits(int32_t bits, int32_t& e); | 44 static CBC_QRCoderMode* ForBits(int32_t bits, int32_t& e); |
45 int32_t GetCharacterCountBits(CBC_QRCoderVersion* version, int32_t& e); | 45 int32_t GetCharacterCountBits(CBC_QRCoderVersion* version, int32_t& e); |
46 int32_t GetBits(); | 46 int32_t GetBits(); |
47 CFX_ByteString GetName(); | 47 CFX_ByteString GetName(); |
48 static void Destroy(); | 48 static void Destroy(); |
49 }; | 49 }; |
50 | 50 |
51 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ | 51 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ |
OLD | NEW |