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

Unified Diff: xfa/src/fxbarcode/src/include/BC_QRCoderFormatInformation.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 side-by-side diff with in-line comments
Download patch
Index: xfa/src/fxbarcode/src/include/BC_QRCoderFormatInformation.h
diff --git a/xfa/src/fxbarcode/src/include/BC_QRCoderFormatInformation.h b/xfa/src/fxbarcode/src/include/BC_QRCoderFormatInformation.h
deleted file mode 100644
index 9d828c8380895a1e7be4b91d723fe3332b3e7763..0000000000000000000000000000000000000000
--- a/xfa/src/fxbarcode/src/include/BC_QRCoderFormatInformation.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef _BC_QRCODERFORMATINFORMATION_H_
-#define _BC_QRCODERFORMATINFORMATION_H_
-class CBC_QRCoderErrorCorrectionLevel;
-class CBC_QRCoderFormatInformation;
-class CBC_QRCoderFormatInformation : public CFX_Object
-{
-private:
- const static FX_INT32 FORMAT_INFO_MASK_QR;
- const static FX_INT32 FORMAT_INFO_DECODE_LOOKUP[32][2];
- const static FX_INT32 BITS_SET_IN_HALF_BYTE[16];
- CBC_QRCoderErrorCorrectionLevel* m_errorCorrectLevl;
- FX_BYTE m_dataMask;
-public:
- CBC_QRCoderFormatInformation(FX_INT32 formatInfo);
- virtual ~CBC_QRCoderFormatInformation();
- FX_BYTE GetDataMask();
- CBC_QRCoderErrorCorrectionLevel* GetErrorCorrectionLevel();
-
- static FX_INT32 NumBitsDiffering(FX_INT32 a, FX_INT32 b);
- static CBC_QRCoderFormatInformation* DecodeFormatInformation(FX_INT32 maskedFormatInfo);
- static CBC_QRCoderFormatInformation* DoDecodeFormatInformation(FX_INT32 maskedFormatInfo);
-};
-#endif
« no previous file with comments | « xfa/src/fxbarcode/src/include/BC_QRCoderErrorCorrectionLevel.h ('k') | xfa/src/fxbarcode/src/include/BC_QRCoderMaskUtil.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698