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

Side by Side Diff: xfa/src/fxbarcode/src/include/BC_QRCoderMode.h

Issue 842043002: Organize barcode codes into modules. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 11 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
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef _BC_QRCODERMODE_H_
8 #define _BC_QRCODERMODE_H_
9 class CBC_QRCoderVersion;
10 class CBC_QRCoderMode;
11 class CBC_QRCoderMode : public CFX_Object
12 {
13 private:
14 FX_INT32* m_characterCountBitsForVersions;
15 FX_INT32 m_bits;
16 CFX_ByteString m_name;
17 CBC_QRCoderMode(FX_INT32 *characterCountBitsForVersions, FX_INT32 x1, FX_INT 32 x2, FX_INT32 x3, FX_INT32 bits, CFX_ByteString name);
18 CBC_QRCoderMode();
19 public:
20 static CBC_QRCoderMode* sBYTE;
21 static CBC_QRCoderMode* sNUMERIC;
22 static CBC_QRCoderMode* sALPHANUMERIC;
23 static CBC_QRCoderMode* sKANJI;
24 static CBC_QRCoderMode* sECI;
25 static CBC_QRCoderMode* sGBK;
26 static CBC_QRCoderMode* sTERMINATOR;
27 static CBC_QRCoderMode* sFNC1_FIRST_POSITION;
28 static CBC_QRCoderMode* sFNC1_SECOND_POSITION;
29 static CBC_QRCoderMode* sSTRUCTURED_APPEND;
30 virtual ~CBC_QRCoderMode();
31
32 static void Initialize();
33 static void Finalize();
34 static CBC_QRCoderMode* ForBits(FX_INT32 bits, FX_INT32 &e);
35 FX_INT32 GetCharacterCountBits(CBC_QRCoderVersion* version, FX_INT32 &e);
36 FX_INT32 GetBits();
37 CFX_ByteString GetName();
38 static void Destroy();
39 };
40 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/src/include/BC_QRCoderMatrixUtil.h ('k') | xfa/src/fxbarcode/src/include/BC_QRCoderVersion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698