summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2016-02-27 08:53:48 -0500
committerdan sinclair <dsinclair@chromium.org>2016-02-27 08:53:48 -0500
commit06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb (patch)
treedfeadd4e7851b25cbdb6430af7cb421650681660 /xfa/src/fxbarcode
parent330a7037a2b6ef329c18cac39d895ef42c2b793e (diff)
downloadpdfium-06f49c808a23d0ce9f89fd7fa6552a0f0ee96bbb.tar.xz
Cleanup forward declarations.
This CL removes duplicate forward declarations, removes extraneous declarations and adds a couple of missing declarations. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1741003002 .
Diffstat (limited to 'xfa/src/fxbarcode')
-rw-r--r--xfa/src/fxbarcode/BC_Binarizer.h1
-rw-r--r--xfa/src/fxbarcode/BC_UtilRSS.h1
-rw-r--r--xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h1
-rw-r--r--xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h1
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417.h1
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h1
-rw-r--r--xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h1
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h9
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h1
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h2
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRDetector.h5
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h1
-rw-r--r--xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h2
20 files changed, 0 insertions, 37 deletions
diff --git a/xfa/src/fxbarcode/BC_Binarizer.h b/xfa/src/fxbarcode/BC_Binarizer.h
index 281f4ae5d4..ed1ac9c19c 100644
--- a/xfa/src/fxbarcode/BC_Binarizer.h
+++ b/xfa/src/fxbarcode/BC_Binarizer.h
@@ -12,7 +12,6 @@
class CBC_LuminanceSource;
class CBC_CommonBitMatrix;
class CBC_CommonBitArray;
-class CBC_BinaryBitmap;
class CBC_Binarizer {
public:
diff --git a/xfa/src/fxbarcode/BC_UtilRSS.h b/xfa/src/fxbarcode/BC_UtilRSS.h
index cbcad946c7..825a555744 100644
--- a/xfa/src/fxbarcode/BC_UtilRSS.h
+++ b/xfa/src/fxbarcode/BC_UtilRSS.h
@@ -11,7 +11,6 @@
#include "core/include/fxcrt/fx_basic.h"
-class CBC_RssPair;
class CBC_UtilRSS {
public:
virtual ~CBC_UtilRSS();
diff --git a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h
index c0ffaaa28d..56c2794fbe 100644
--- a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h
+++ b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
#include "xfa/src/fxbarcode/BC_Binarizer.h"
-class CBC_CommonBinarizer;
class CBC_CommonBitArray;
class CBC_CommonBitMatrix;
class CBC_LuminanceSource;
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h
index a688d1a65a..a99c0e89f8 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h
@@ -9,7 +9,6 @@
class CBC_OneDReader;
class CBC_CommonBitArray;
-class CBC_OnedCoda128Reader;
class CBC_OnedCode128Reader : public CBC_OneDReader {
public:
CBC_OnedCode128Reader();
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h
index d31cc00af1..333d3c563b 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h
@@ -8,7 +8,6 @@
#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODE128WRITER_H_
class CBC_OneDimWriter;
-class CBC_OnedCoda128Writer;
class CBC_OnedCode128Writer : public CBC_OneDimWriter {
public:
CBC_OnedCode128Writer();
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h
index 424cbe52d6..b3fa803cd7 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h
@@ -9,7 +9,6 @@
class CBC_OneDReader;
class CBC_CommonBitArray;
-class CBC_OnedCoda39Reader;
class CBC_OnedCode39Reader : public CBC_OneDReader {
public:
static const FX_CHAR* ALPHABET_STRING;
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h
index f984b9bc0b..d453b49b48 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h
@@ -9,7 +9,6 @@
enum BC_TEXT_LOC;
class CBC_OneDimWriter;
-class CBC_OnedCoda39Writer;
class CBC_OnedCode39Writer : public CBC_OneDimWriter {
public:
CBC_OnedCode39Writer();
diff --git a/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h b/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h
index 1b5ce48040..6146425b0b 100644
--- a/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h
+++ b/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h
@@ -7,7 +7,6 @@
#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_
#define XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_
-class CBC_Writer;
class CBC_OnedEAN13Writer;
class CBC_OnedUPCAWriter;
class CBC_OnedUPCAWriter : public CBC_OneDimWriter {
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417.h b/xfa/src/fxbarcode/pdf417/BC_PDF417.h
index 55b9b6c483..a7a4649461 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
#include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h"
-class CBC_Compaction;
class CBC_BarcodeRow;
class CBC_BarcodeMatrix;
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h
index c73f3eb9fa..f5d245b0e3 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h
@@ -8,7 +8,6 @@
#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSGF_H_
class CBC_PDF417ECModulusPoly;
-class CBC_PDF417Common;
class CBC_PDF417ECModulusGF {
public:
CBC_PDF417ECModulusGF(int32_t modulus, int32_t generator, int32_t& e);
diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h
index a0ac8888b1..ca310d2c44 100644
--- a/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h
+++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h
@@ -9,12 +9,10 @@
class CBC_CommonDecoderResult;
class CBC_CommonBitMatrix;
-class CBC_ErrorCorrection;
class CBC_Codeword;
class CBC_BoundingBox;
class CBC_ResultPoint;
class CBC_BarcodeMetadata;
-class CBC_BarcodeValue;
class CBC_DetectionResult;
class CBC_DetectionResultRowIndicatorColumn;
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h
index a32fd3500b..f40d371631 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h
@@ -6,9 +6,7 @@
#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERN_H_
#define XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERN_H_
-class CBC_CommonBitArray;
class CBC_ResultPoint;
-class CBC_REAI013x0x1xDecoder;
class CBC_QRAlignmentPattern : public CBC_ResultPoint {
private:
FX_FLOAT m_moduleSize;
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h
index 8964b86d62..c93be6db9a 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h
@@ -12,7 +12,6 @@
class CBC_CommonBitMatrix;
class CBC_QRCoderVersion;
class CBC_QRCoderFormatInformation;
-class CBC_QRDataMask;
class CBC_QRBitMatrixParser {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h
index bcb08fa21e..7edb12b937 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h
@@ -12,17 +12,8 @@
#include "core/include/fxcrt/fx_string.h"
#include "xfa/src/fxbarcode/BC_Reader.h"
-class CBC_QRDetector;
class CBC_BinaryBitmap;
class CBC_QRCoderDecoder;
-class CBC_ResultPoint;
-class CBC_ReedSolomonGF256;
-class CBC_QRCoderVersion;
-class CBC_QRDetector;
-class CBC_QRDetectorResult;
-class CBC_QRCoderErrorCorrectionLevel;
-class CBC_QRCoderMode;
-class CBC_QRDataMask;
class CFX_DIBitmap;
class CBC_QRCodeReader : public CBC_Reader {
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h
index acae014158..ceb6547640 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h
@@ -10,8 +10,6 @@
#include "xfa/src/fxbarcode/BC_TwoDimWriter.h"
class CBC_TwoDimWriter;
-class CBC_MultiBarCodes;
-class CBC_QRCoderWriter;
class CBC_QRCodeWriter : public CBC_TwoDimWriter {
public:
CBC_QRCodeWriter();
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h
index 27e5b65494..70dad949c6 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
#include "core/include/fxcrt/fx_string.h"
-class Make_Pair;
class CBC_QRCoder;
class CBC_QRCoderErrorCorrectionLevel;
class CBC_QRCoderMode;
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h b/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h
index 6146c41465..de53ca49d4 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h
@@ -10,8 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
class CBC_QRCoderVersion;
-class CBC_QRCoderECBlocks;
-class CBC_QRCoderECB;
class CBC_QRCoderErrorCorrectionLevel;
class CBC_QRDataBlock {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetector.h b/xfa/src/fxbarcode/qrcode/BC_QRDetector.h
index b76a656f07..67cbeb44d6 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRDetector.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDetector.h
@@ -14,11 +14,6 @@ class CBC_CommonBitMatrix;
class CBC_QRDetectorResult;
class CBC_QRFinderPatternInfo;
class CBC_QRAlignmentPattern;
-class CBC_QRFinderPatternFinder;
-class CBC_QRCoderVersion;
-class CBC_QRGridSampler;
-class CBC_QRAlignmentPatternFinder;
-class CBC_QRAlignmentPattern;
class CBC_QRDetector {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h
index 50381d9742..e2397db7ef 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h
@@ -10,7 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
class CBC_CommonBitMatrix;
-class CBC_ResultPoint;
class CBC_QRDetectorResult {
private:
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h b/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h
index 8d6b96a2b2..ce75ac8d05 100644
--- a/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h
+++ b/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h
@@ -10,8 +10,6 @@
#include "core/include/fxcrt/fx_basic.h"
class CBC_CommonBitMatrix;
-class CBC_CommonPerspectiveTransform;
-class CBC_CommonDefaultGridSampler;
class CBC_QRGridSampler {
private: