summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/pdf417/BC_PDF417Common.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-16 12:29:07 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-16 12:29:07 -0700
commita26153440b46b3b37b7e81435debb296f22769f4 (patch)
tree37b3073d15af7ae2850b5a02be87123feb54a054 /xfa/fxbarcode/pdf417/BC_PDF417Common.h
parent8320ee28f24615d1d619a5db1b7c235ea6f91dde (diff)
downloadpdfium-a26153440b46b3b37b7e81435debb296f22769f4.tar.xz
Remove barcode reading code.
We never read barcodes, we only write them. Remove code related to barcode reading. Review-Url: https://codereview.chromium.org/2071633002
Diffstat (limited to 'xfa/fxbarcode/pdf417/BC_PDF417Common.h')
-rw-r--r--xfa/fxbarcode/pdf417/BC_PDF417Common.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417Common.h b/xfa/fxbarcode/pdf417/BC_PDF417Common.h
deleted file mode 100644
index 490507285b..0000000000
--- a/xfa/fxbarcode/pdf417/BC_PDF417Common.h
+++ /dev/null
@@ -1,35 +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 XFA_FXBARCODE_PDF417_BC_PDF417COMMON_H_
-#define XFA_FXBARCODE_PDF417_BC_PDF417COMMON_H_
-
-#include "core/fxcrt/include/fx_basic.h"
-
-class CBC_PDF417Common {
- public:
- CBC_PDF417Common();
- virtual ~CBC_PDF417Common();
-
- static int32_t getBitCountSum(CFX_Int32Array& moduleBitCount);
- static int32_t getCodeword(uint32_t symbol);
- static const int32_t NUMBER_OF_CODEWORDS = 929;
- static const int32_t MAX_CODEWORDS_IN_BARCODE = NUMBER_OF_CODEWORDS - 1;
- static const int32_t MIN_ROWS_IN_BARCODE = 3;
- static const int32_t MAX_ROWS_IN_BARCODE = 90;
- static const int32_t MAX_CODEWORDS_IN_ROW = 32;
- static const int32_t MODULES_IN_CODEWORD = 17;
- static const int32_t MODULES_IN_STOP_PATTERN = 18;
- static const int32_t BARS_IN_MODULE = 8;
- static const int32_t SYMBOL_TABLE[];
- static const uint16_t CODEWORD_TABLE[];
-
- private:
- static CFX_Int32Array* EMPTY_INT_ARRAY;
- static int32_t findCodewordIndex(uint32_t symbol);
-};
-
-#endif // XFA_FXBARCODE_PDF417_BC_PDF417COMMON_H_