From c7cd809fccd7c5f90c8a2db7ddec7289f9630f53 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 18 Feb 2016 15:02:55 -0500 Subject: Fixup incorrect include guards. This CL updates include guards throughout the code base to be in the chromium style. BUG=pdfium:65 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1707893004 . --- xfa/src/fxbarcode/BC_Binarizer.h | 8 +++++--- xfa/src/fxbarcode/BC_BinaryBitmap.h | 8 +++++--- xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h | 8 +++++--- xfa/src/fxbarcode/BC_DecoderResult.h | 8 +++++--- xfa/src/fxbarcode/BC_Dimension.h | 8 +++++--- xfa/src/fxbarcode/BC_LuminanceSource.h | 8 +++++--- xfa/src/fxbarcode/BC_Reader.h | 8 +++++--- xfa/src/fxbarcode/BC_ResultPoint.h | 8 +++++--- xfa/src/fxbarcode/BC_UtilCodingConvert.h | 8 +++++--- xfa/src/fxbarcode/BC_UtilRSS.h | 8 +++++--- xfa/src/fxbarcode/barcode.h | 5 +++++ xfa/src/fxbarcode/common/BC_CommonBitArray.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonBitMatrix.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonBitSource.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonByteArray.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonByteMatrix.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonDecoderResult.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonECI.h | 8 +++++--- xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h | 8 +++++--- xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h | 8 +++++--- xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h | 8 +++++--- xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h | 8 +++++--- xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h | 8 +++++--- xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h | 8 +++++--- xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h | 8 +++++--- .../fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h | 7 ++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_Encoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h | 8 +++++--- xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OneDReader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OneDimReader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h | 7 ++++--- xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h | 8 +++++--- xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Common.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h | 1 + xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h | 8 +++++--- .../pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h | 8 +++++--- xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h | 7 ++++--- xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h | 9 ++++++--- xfa/src/fxbarcode/qrcode/BC_QRCoder.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h | 7 ++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRDataMask.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRDetector.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h | 8 +++++--- xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h | 8 +++++--- xfa/src/fxbarcode/utils.h | 8 +++++--- 114 files changed, 563 insertions(+), 336 deletions(-) (limited to 'xfa/src/fxbarcode') diff --git a/xfa/src/fxbarcode/BC_Binarizer.h b/xfa/src/fxbarcode/BC_Binarizer.h index 6a220e7187..131e39df7b 100644 --- a/xfa/src/fxbarcode/BC_Binarizer.h +++ b/xfa/src/fxbarcode/BC_Binarizer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BINARIZER_H_ -#define _BC_BINARIZER_H_ +#ifndef XFA_SRC_FXBARCODE_BC_BINARIZER_H_ +#define XFA_SRC_FXBARCODE_BC_BINARIZER_H_ + class CBC_LuminanceSource; class CBC_CommonBitMatrix; class CBC_CommonBitArray; @@ -23,4 +24,5 @@ class CBC_Binarizer { private: CBC_LuminanceSource* m_source; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_BINARIZER_H_ diff --git a/xfa/src/fxbarcode/BC_BinaryBitmap.h b/xfa/src/fxbarcode/BC_BinaryBitmap.h index 8745d20702..0554dfaba4 100644 --- a/xfa/src/fxbarcode/BC_BinaryBitmap.h +++ b/xfa/src/fxbarcode/BC_BinaryBitmap.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BINARYBITMAP_H_ -#define _BC_BINARYBITMAP_H_ +#ifndef XFA_SRC_FXBARCODE_BC_BINARYBITMAP_H_ +#define XFA_SRC_FXBARCODE_BC_BINARYBITMAP_H_ + class CBC_Binarizer; class CBC_CommonBitMatrix; class CBC_CommonBitArray; @@ -26,4 +27,5 @@ class CBC_BinaryBitmap { CBC_Binarizer* m_binarizer; CBC_CommonBitMatrix* m_matrix; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_BINARYBITMAP_H_ diff --git a/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h b/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h index 59241e1d25..f4c5f2f3ea 100644 --- a/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h +++ b/xfa/src/fxbarcode/BC_BufferedImageLuminanceSource.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BUFFEREDIMAGELUMINANCESOURCE_H_ -#define _BC_BUFFEREDIMAGELUMINANCESOURCE_H_ +#ifndef XFA_SRC_FXBARCODE_BC_BUFFEREDIMAGELUMINANCESOURCE_H_ +#define XFA_SRC_FXBARCODE_BC_BUFFEREDIMAGELUMINANCESOURCE_H_ + class CBC_LuminanceSource; class CBC_BufferedImageLuminanceSource; class CBC_BufferedImageLuminanceSource : public CBC_LuminanceSource { @@ -26,4 +27,5 @@ class CBC_BufferedImageLuminanceSource : public CBC_LuminanceSource { CFX_DIBitmap* m_pBitmap; const CFX_WideString m_filename; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_BUFFEREDIMAGELUMINANCESOURCE_H_ diff --git a/xfa/src/fxbarcode/BC_DecoderResult.h b/xfa/src/fxbarcode/BC_DecoderResult.h index 508cdc3664..21d2cc0e4f 100644 --- a/xfa/src/fxbarcode/BC_DecoderResult.h +++ b/xfa/src/fxbarcode/BC_DecoderResult.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DECODERRESULT_H_ -#define _BC_DECODERRESULT_H_ +#ifndef XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ +#define XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ + class CBC_DecoderResult; class CBC_DecoderResult { public: @@ -31,4 +32,5 @@ class CBC_DecoderResult { int32_t m_erasures; void* m_other; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_DECODERRESULT_H_ diff --git a/xfa/src/fxbarcode/BC_Dimension.h b/xfa/src/fxbarcode/BC_Dimension.h index 45f8baba4a..5a16b8f855 100644 --- a/xfa/src/fxbarcode/BC_Dimension.h +++ b/xfa/src/fxbarcode/BC_Dimension.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DIMENSION_H_ -#define _BC_DIMENSION_H_ +#ifndef XFA_SRC_FXBARCODE_BC_DIMENSION_H_ +#define XFA_SRC_FXBARCODE_BC_DIMENSION_H_ + class CBC_Dimension; class CBC_Dimension { public: @@ -21,4 +22,5 @@ class CBC_Dimension { int32_t m_width; int32_t m_height; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_DIMENSION_H_ diff --git a/xfa/src/fxbarcode/BC_LuminanceSource.h b/xfa/src/fxbarcode/BC_LuminanceSource.h index 464ed8b27c..e78f9ba889 100644 --- a/xfa/src/fxbarcode/BC_LuminanceSource.h +++ b/xfa/src/fxbarcode/BC_LuminanceSource.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_LUMINANCESOURCE_H -#define _BC_LUMINANCESOURCE_H +#ifndef XFA_SRC_FXBARCODE_BC_LUMINANCESOURCE_H_ +#define XFA_SRC_FXBARCODE_BC_LUMINANCESOURCE_H_ + class CBC_LuminanceSource; class CBC_LuminanceSource { public: @@ -21,4 +22,5 @@ class CBC_LuminanceSource { int32_t m_width; int32_t m_height; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_LUMINANCESOURCE_H_ diff --git a/xfa/src/fxbarcode/BC_Reader.h b/xfa/src/fxbarcode/BC_Reader.h index 37e2efd776..1f19a2f278 100644 --- a/xfa/src/fxbarcode/BC_Reader.h +++ b/xfa/src/fxbarcode/BC_Reader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_READER_H_ -#define _BC_READER_H_ +#ifndef XFA_SRC_FXBARCODE_BC_READER_H_ +#define XFA_SRC_FXBARCODE_BC_READER_H_ + class CBC_BinaryBitmap; class CBC_Reader; class CBC_Reader { @@ -17,4 +18,5 @@ class CBC_Reader { int32_t hints, int32_t& e) = 0; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_READER_H_ diff --git a/xfa/src/fxbarcode/BC_ResultPoint.h b/xfa/src/fxbarcode/BC_ResultPoint.h index 8fe91c1255..e2c92a6aa6 100644 --- a/xfa/src/fxbarcode/BC_ResultPoint.h +++ b/xfa/src/fxbarcode/BC_ResultPoint.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_RESULTPOINT_H_ -#define _BC_RESULTPOINT_H_ +#ifndef XFA_SRC_FXBARCODE_BC_RESULTPOINT_H_ +#define XFA_SRC_FXBARCODE_BC_RESULTPOINT_H_ + class CBC_ResultPoint; class CBC_ResultPoint { public: @@ -19,4 +20,5 @@ class CBC_ResultPoint { FX_FLOAT m_x; FX_FLOAT m_y; }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_RESULTPOINT_H_ diff --git a/xfa/src/fxbarcode/BC_UtilCodingConvert.h b/xfa/src/fxbarcode/BC_UtilCodingConvert.h index 7255a40b13..c46840ac4d 100644 --- a/xfa/src/fxbarcode/BC_UtilCodingConvert.h +++ b/xfa/src/fxbarcode/BC_UtilCodingConvert.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_UTILCODINGCONVERT_H_ -#define _BC_UTILCODINGCONVERT_H_ +#ifndef XFA_SRC_FXBARCODE_BC_UTILCODINGCONVERT_H_ +#define XFA_SRC_FXBARCODE_BC_UTILCODINGCONVERT_H_ + class CBC_UtilCodingConvert; class CBC_UtilCodingConvert { public: @@ -23,4 +24,5 @@ class CBC_UtilCodingConvert { static void UnicodeToUTF8(const CFX_WideString& source, CFX_ByteString& result); }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_UTILCODINGCONVERT_H_ diff --git a/xfa/src/fxbarcode/BC_UtilRSS.h b/xfa/src/fxbarcode/BC_UtilRSS.h index bcb1af4433..7f87bbb138 100644 --- a/xfa/src/fxbarcode/BC_UtilRSS.h +++ b/xfa/src/fxbarcode/BC_UtilRSS.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_UTILRESS_H_ -#define _BC_UTILRESS_H_ +#ifndef XFA_SRC_FXBARCODE_BC_UTILRSS_H_ +#define XFA_SRC_FXBARCODE_BC_UTILRSS_H_ + class CBC_RssPair; class CBC_UtilRSS { public: @@ -26,4 +27,5 @@ class CBC_UtilRSS { private: CBC_UtilRSS(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_BC_UTILRSS_H_ diff --git a/xfa/src/fxbarcode/barcode.h b/xfa/src/fxbarcode/barcode.h index 739e810d38..2228ca1ccb 100644 --- a/xfa/src/fxbarcode/barcode.h +++ b/xfa/src/fxbarcode/barcode.h @@ -6,5 +6,10 @@ // TODO(thestig): Remove this file and do IWYU. +#ifndef XFA_SRC_FXBARCODE_BARCODE_H_ +#define XFA_SRC_FXBARCODE_BARCODE_H_ + #include "xfa/src/foxitlib.h" #include "utils.h" + +#endif // XFA_SRC_FXBARCODE_BARCODE_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonBitArray.h b/xfa/src/fxbarcode/common/BC_CommonBitArray.h index fb93a9e912..c2364c2bc8 100644 --- a/xfa/src/fxbarcode/common/BC_CommonBitArray.h +++ b/xfa/src/fxbarcode/common/BC_CommonBitArray.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBITARRAY_H_ -#define _BC_COMMONBITARRAY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ + class CBC_CommonBitArray { public: CBC_CommonBitArray(CBC_CommonBitArray* array); @@ -28,4 +29,5 @@ class CBC_CommonBitArray { int32_t m_size; CFX_Int32Array m_bits; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITARRAY_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h b/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h index d60e437ea1..75e0b43502 100644 --- a/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h +++ b/xfa/src/fxbarcode/common/BC_CommonBitMatrix.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBITMATRIX_H_ -#define _BC_COMMONBITMATRIX_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_ + class CBC_CommonBitArray; class CBC_CommonBitMatrix { public: @@ -38,4 +39,5 @@ class CBC_CommonBitMatrix { int32_t m_rowSize; int32_t* m_bits; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITMATRIX_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonBitSource.h b/xfa/src/fxbarcode/common/BC_CommonBitSource.h index 098a6060d3..546e5e9d5c 100644 --- a/xfa/src/fxbarcode/common/BC_CommonBitSource.h +++ b/xfa/src/fxbarcode/common/BC_CommonBitSource.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBITSOURCE_H_ -#define _BC_COMMONBITSOURCE_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITSOURCE_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITSOURCE_H_ + class CBC_CommonBitSource { public: CBC_CommonBitSource(CFX_ByteArray* bytes); @@ -19,4 +20,5 @@ class CBC_CommonBitSource { int32_t m_byteOffset; int32_t m_bitOffset; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBITSOURCE_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonByteArray.h b/xfa/src/fxbarcode/common/BC_CommonByteArray.h index 6e89aa4518..1653596e57 100644 --- a/xfa/src/fxbarcode/common/BC_CommonByteArray.h +++ b/xfa/src/fxbarcode/common/BC_CommonByteArray.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBYTEARRAY_H_ -#define _BC_COMMONBYTEARRAY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ + class CBC_CommonByteArray { private: int32_t m_size; @@ -26,4 +27,5 @@ class CBC_CommonByteArray { void Set(uint8_t* source, int32_t offset, int32_t count); void Set(CFX_ByteArray* source, int32_t offset, int32_t count); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEARRAY_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h index db01704a23..371c185659 100644 --- a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h +++ b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONBYTEMATRIX_H_ -#define _BC_COMMONBYTEMATRIX_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEMATRIX_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEMATRIX_H_ + class CBC_CommonByteMatrix { public: CBC_CommonByteMatrix(int32_t width, int32_t height); @@ -25,4 +26,5 @@ class CBC_CommonByteMatrix { int32_t m_width; int32_t m_height; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONBYTEMATRIX_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h b/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h index 6626f7be7e..9ca6548533 100644 --- a/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h +++ b/xfa/src/fxbarcode/common/BC_CommonCharacterSetECI.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONCHARACTERSETECI_H_ -#define _BC_COMMONCHARACTERSETECI_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONCHARACTERSETECI_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONCHARACTERSETECI_H_ + class CBC_CommonECI; class CBC_CommonCharacterSetECI; class CBC_CommonCharacterSetECI : public CBC_CommonECI { @@ -23,4 +24,5 @@ class CBC_CommonCharacterSetECI : public CBC_CommonECI { CFX_ByteString m_encodingName; static void initialize(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONCHARACTERSETECI_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h index 93bab384ab..219a9f3a87 100644 --- a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h +++ b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONDECODERRESULT_H_ -#define _BC_COMMONDECODERRESULT_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ + class CBC_QRCoderErrorCorrectionLevel; class CBC_PDF417ResultMetadata; class CBC_CommonDecoderResult { @@ -37,4 +38,5 @@ class CBC_CommonDecoderResult { CFX_ByteString m_pdf417ecLevel; CBC_PDF417ResultMetadata* m_other; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONDECODERRESULT_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonECI.h b/xfa/src/fxbarcode/common/BC_CommonECI.h index 07b7e41870..3f46b3560c 100644 --- a/xfa/src/fxbarcode/common/BC_CommonECI.h +++ b/xfa/src/fxbarcode/common/BC_CommonECI.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONECI_H_ -#define _BC_COMMONECI_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONECI_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONECI_H_ + class CBC_CommonECI { public: CBC_CommonECI(int32_t value); @@ -17,4 +18,5 @@ class CBC_CommonECI { private: int32_t m_value; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONECI_H_ diff --git a/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h b/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h index f53bb00632..70e7bfb1ae 100644 --- a/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h +++ b/xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMMONPERSPECTIVETRANSFORM_H_ -#define _BC_COMMONPERSPECTIVETRANSFORM_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ + class CBC_CommonPerspectiveTransform { public: CBC_CommonPerspectiveTransform(FX_FLOAT a11, @@ -58,4 +59,5 @@ class CBC_CommonPerspectiveTransform { private: FX_FLOAT m_a11, m_a12, m_a13, m_a21, m_a22, m_a23, m_a31, m_a32, m_a33; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_COMMONPERSPECTIVETRANSFORM_H_ diff --git a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h index 52b653542c..86ac2eabe2 100644 --- a/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h +++ b/xfa/src/fxbarcode/common/BC_GlobalHistogramBinarizer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_GLOBALHISTOGRAMBINARIZER_H_ -#define _BC_GLOBALHISTOGRAMBINARIZER_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_GLOBALHISTOGRAMBINARIZER_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_GLOBALHISTOGRAMBINARIZER_H_ + class CBC_CommonBinarizer; class CBC_CommonBitArray; class CBC_CommonBitMatrix; @@ -27,4 +28,5 @@ class CBC_GlobalHistogramBinarizer : public CBC_Binarizer { CFX_ByteArray m_luminance; CFX_Int32Array m_buckets; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_GLOBALHISTOGRAMBINARIZER_H_ diff --git a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h index f0de614d99..e5f296c1af 100644 --- a/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h +++ b/xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_WHITERECTANLEDETECTOR_H_ -#define _BC_WHITERECTANLEDETECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ +#define XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ + class CBC_CommonBitMatrix; class CBC_ResultPoint; class CBC_WhiteRectangleDetector { @@ -45,4 +46,5 @@ class CBC_WhiteRectangleDetector { int32_t m_downInit; int32_t m_upInit; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h index 138163b10d..1976cdad2b 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomon.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_READSOLOMON_H_ -#define _BC_READSOLOMON_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ + class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonEncoder { @@ -21,4 +22,5 @@ class CBC_ReedSolomonEncoder { void Encode(CFX_Int32Array* toEncode, int32_t ecBytes, int32_t& e); virtual void Init(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMON_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h index e230a3af74..cb8eefca61 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonDecoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_REEDSOLOMONDECODER_H_ -#define _BC_REEDSOLOMONDECODER_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONDECODER_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONDECODER_H_ + class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonDecoder { @@ -27,4 +28,5 @@ class CBC_ReedSolomonDecoder { FX_BOOL dataMatrix, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONDECODER_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h index d414f13d3c..d635694c10 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_REEDSOLOMONGF256_H_ -#define _BC_REEDSOLOMONGF256_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_ + class CBC_ReedSolomonGF256Poly; class CBC_ReedSolomonGF256 { public: @@ -33,4 +34,5 @@ class CBC_ReedSolomonGF256 { CBC_ReedSolomonGF256Poly* m_zero; CBC_ReedSolomonGF256Poly* m_one; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_ diff --git a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h index 2ff7602eba..e427215cca 100644 --- a/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h +++ b/xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_READSOLOMONGF256POLY_H_ -#define _BC_READSOLOMONGF256POLY_H_ +#ifndef XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ +#define XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ + class CBC_ReedSolomonGF256; class CBC_ReedSolomonGF256Poly { public: @@ -35,4 +36,5 @@ class CBC_ReedSolomonGF256Poly { CBC_ReedSolomonGF256* m_field; CFX_Int32Array m_coefficients; }; -#endif + +#endif // XFA_SRC_FXBARCODE_COMMON_REEDSOLOMON_BC_READSOLOMONGF256POLY_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h b/xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h index 2e8d6c5c45..c01c4ce035 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_ASCIIEncoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ASCIIENCODER_H_ -#define _BC_ASCIIENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_ASCIIENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_ASCIIENCODER_H_ + class CBC_Encoder; class CBC_EncoderContext; class CBC_ASCIIEncoder; @@ -21,4 +22,5 @@ class CBC_ASCIIEncoder : public CBC_Encoder { FX_WCHAR digit2, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_ASCIIENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h b/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h index 3aa94bff7a..9cdef1996e 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_Base256Encoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BASE256ENCODER_H_ -#define _BC_BASE256ENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_BASE256ENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_BASE256ENCODER_H_ + class CBC_Encoder; class CBC_Base256Encoder; class CBC_Base256Encoder : public CBC_Encoder { @@ -18,4 +19,5 @@ class CBC_Base256Encoder : public CBC_Encoder { private: static FX_WCHAR randomize255State(FX_WCHAR ch, int32_t codewordPosition); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_BASE256ENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h b/xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h index 249f122820..e082e81487 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_C40Encoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_C40ENCODER_H_ -#define _BC_C40ENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_C40ENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_C40ENCODER_H_ + class CBC_C40Encoder; class CBC_C40Encoder : public CBC_Encoder { public: @@ -28,4 +29,5 @@ class CBC_C40Encoder : public CBC_Encoder { int32_t& e); static CFX_WideString encodeToCodewords(CFX_WideString sb, int32_t startPos); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_C40ENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h index 118bc2834c..2008ea7f2c 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXBITMATRIXPARSER_H_ -#define _BC_DATAMATRIXBITMATRIXPARSER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ + class CBC_CommonBitMatrix; class CBC_DataMatrixVersion; class CBC_DataMatrixBitMatrixParser { @@ -37,4 +38,5 @@ class CBC_DataMatrixBitMatrixParser { CBC_CommonBitMatrix* m_readMappingMatrix; CBC_DataMatrixVersion* m_version; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h index 8f1b277342..ca81e62655 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDataBlock.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXDATABLOCK_H_ -#define _BC_DATAMATRIXDATABLOCK_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDATABLOCK_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDATABLOCK_H_ + class CBC_DataMatrixVersion; class CBC_DataMatrixDataBlock { public: @@ -24,4 +25,5 @@ class CBC_DataMatrixDataBlock { CBC_DataMatrixDataBlock(int32_t numDataCodewords, CFX_ByteArray* codewords); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDATABLOCK_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h index 65785491e4..ba23976842 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ -#define _BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ class CBC_CommonDecoderResult; class CBC_CommonBitSource; class CBC_DataMatrixDecodedBitStreamParser { @@ -54,4 +54,5 @@ class CBC_DataMatrixDecodedBitStreamParser { const static int32_t EDIFACT_ENCODE; const static int32_t BASE256_ENCODE; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h index 601f9a5d5e..011a8b8e72 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXDECODER_H_ -#define _BC_DATAMATRIXDECODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODER_H_ + class CBC_ReedSolomonDecoder; class CBC_CommonDecoderResult; class CBC_CommonBitMatrix; @@ -22,4 +23,5 @@ class CBC_DataMatrixDecoder { int32_t& e); CBC_ReedSolomonDecoder* m_rsDecoder; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h index 6ed03022ef..5ab8f9d060 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXDETECTOR_H_ -#define _BC_DATAMATRIXDETECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ + class CBC_CommonBitMatrix; class CBC_WhiteRectangleDetector; class CBC_ResultPoint; @@ -70,4 +71,5 @@ class CBC_DataMatrixDetector { CBC_WhiteRectangleDetector* m_rectangleDetector; const static int32_t INTEGERS[5]; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h index 6e3f67d847..51d22588aa 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixReader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXREADER_H_ -#define _BC_DATAMATRIXREADER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXREADER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXREADER_H_ + class CBC_BinaryBitmap; class CBC_DataMatrixDecoder; class CBC_Reader; @@ -22,4 +23,5 @@ class CBC_DataMatrixReader : public CBC_Reader { private: CBC_DataMatrixDecoder* m_decoder; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXREADER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h index 94abdf5721..ce16004817 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixSymbolInfo144.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXSYMBOLINFO144_H_ -#define _BC_DATAMATRIXSYMBOLINFO144_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXSYMBOLINFO144_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXSYMBOLINFO144_H_ + class CBC_SymbolInfo; class CBC_DataMatrixSymbolInfo144; class CBC_DataMatrixSymbolInfo144 : public CBC_SymbolInfo { @@ -15,4 +16,5 @@ class CBC_DataMatrixSymbolInfo144 : public CBC_SymbolInfo { int32_t getInterleavedBlockCount(); int32_t getDataLengthForInterleavedBlock(int32_t index); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXSYMBOLINFO144_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h index 004a65e6ce..e96b743164 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DATAMATRIXVERSION_H_ -#define _BC_DATAMATRIXVERSION_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXVERSION_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXVERSION_H_ + class ECBlocks; class CBC_DataMatrixVersion; class ECB { @@ -83,4 +84,5 @@ class CBC_DataMatrixVersion { int32_t m_totalCodewords; static CFX_PtrArray* VERSIONS; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXVERSION_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h b/xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h index 0cc9fb3987..860199e42d 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h +++ b/xfa/src/fxbarcode/datamatrix/BC_DefaultPlacement.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DEFAULTPLACEMENT_H_ -#define _BC_DEFAULTPLACEMENT_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DEFAULTPLACEMENT_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DEFAULTPLACEMENT_H_ + class CBC_DefaultPlacement { public: CBC_DefaultPlacement(CFX_WideString codewords, @@ -33,4 +34,5 @@ class CBC_DefaultPlacement { void corner3(int32_t pos); void corner4(int32_t pos); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DEFAULTPLACEMENT_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h b/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h index 65f356cba1..26324ed9d6 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_EdifactEncoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_EDIFACTENCODER_H_ -#define _BC_EDIFACTENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_EDIFACTENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_EDIFACTENCODER_H_ + class CBC_EncoderContext; class CBC_EdifactEncoder; class CBC_EdifactEncoder : public CBC_Encoder { @@ -24,4 +25,5 @@ class CBC_EdifactEncoder : public CBC_Encoder { int32_t startPos, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_EDIFACTENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_Encoder.h b/xfa/src/fxbarcode/datamatrix/BC_Encoder.h index a7fa323445..36637fd3aa 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_Encoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_Encoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ENCODER_H_ -#define _BC_ENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODER_H_ + class CBC_EncoderContext; class CBC_Encoder { public: @@ -14,4 +15,5 @@ class CBC_Encoder { virtual int32_t getEncodingMode() = 0; virtual void Encode(CBC_EncoderContext& context, int32_t& e) = 0; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h b/xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h index 1a289d5722..9b78f86661 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h +++ b/xfa/src/fxbarcode/datamatrix/BC_EncoderContext.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ENCODERCONTEXT_H_ -#define _BC_ENCODERCONTEXT_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ + class CBC_SymbolShapeHint; class CBC_SymbolInfo; class CBC_Dimension; @@ -49,4 +50,5 @@ class CBC_EncoderContext : public CBC_SymbolShapeHint { CBC_Dimension* m_maxSize; int32_t m_skipAtEnd; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_ENCODERCONTEXT_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h b/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h index 7795ee485b..951b9ea572 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h +++ b/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ERRORCORRECTION_H_ -#define _BC_ERRORCORRECTION_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_ERRORCORRECTION_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_ERRORCORRECTION_H_ + class CBC_SymbolInfo; class CBC_ErrorCorrection { public: @@ -34,4 +35,5 @@ class CBC_ErrorCorrection { int32_t numECWords, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_ERRORCORRECTION_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h b/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h index 59b322b277..17433a169a 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_HighLevelEncoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_HIGHLEVALENCODER_H_ -#define _BC_HIGHLEVALENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVALENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVALENCODER_H_ + class CBC_SymbolShapeHint; class CBC_HighLevelEncoder; #define ASCII_ENCODATION 0 @@ -70,4 +71,5 @@ class CBC_HighLevelEncoder : public CBC_SymbolShapeHint { static FX_BOOL isNativeEDIFACT(FX_WCHAR ch); static FX_BOOL isSpecialB256(FX_WCHAR ch); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_HIGHLEVALENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h b/xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h index 08fb4d5472..b00e804fa0 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h +++ b/xfa/src/fxbarcode/datamatrix/BC_SymbolInfo.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_SYMBOLINFO_H_ -#define _BC_SYMBOLINFO_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ + class CBC_SymbolShapeHint; class CBC_Dimension; class CBC_SymbolInfo; @@ -75,4 +76,5 @@ class CBC_SymbolInfo : public CBC_SymbolShapeHint { int32_t rsBlockData, int32_t rsBlockError); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h b/xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h index 7ad8a0428f..ea8acdfb0f 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h +++ b/xfa/src/fxbarcode/datamatrix/BC_SymbolShapeHint.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_SYMBOLSHAPEHINT_H_ -#define _BC_SYMBOLSHAPEHINT_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_SYMBOLSHAPEHINT_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_SYMBOLSHAPEHINT_H_ + class CBC_SymbolShapeHint { public: CBC_SymbolShapeHint(); @@ -16,4 +17,5 @@ class CBC_SymbolShapeHint { FORCE_RECTANGLE, }; }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_SYMBOLSHAPEHINT_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h b/xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h index 1218e9d2c8..399b21bb90 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_TextEncoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_TEXTENCODER_H_ -#define _BC_TEXTENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_TEXTENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_TEXTENCODER_H_ + class CBC_TextEncoder; class CBC_TextEncoder : public CBC_C40Encoder { public: @@ -14,4 +15,5 @@ class CBC_TextEncoder : public CBC_C40Encoder { int32_t getEncodingMode(); int32_t encodeChar(FX_WCHAR c, CFX_WideString& sb, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_TEXTENCODER_H_ diff --git a/xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h b/xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h index 216987f874..62b35feb66 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h +++ b/xfa/src/fxbarcode/datamatrix/BC_X12Encoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_X12ENCODER_H_ -#define _BC_X12ENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_X12ENCODER_H_ +#define XFA_SRC_FXBARCODE_DATAMATRIX_BC_X12ENCODER_H_ + class CBC_C40Encoder; class CBC_X12Encoder; class CBC_X12Encoder : public CBC_C40Encoder { @@ -19,4 +20,5 @@ class CBC_X12Encoder : public CBC_C40Encoder { int32_t& e); int32_t encodeChar(FX_WCHAR c, CFX_WideString& sb, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_X12ENCODER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OneDReader.h b/xfa/src/fxbarcode/oned/BC_OneDReader.h index 45585d44c5..17e0934287 100644 --- a/xfa/src/fxbarcode/oned/BC_OneDReader.h +++ b/xfa/src/fxbarcode/oned/BC_OneDReader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDREADER_H_ -#define _BC_ONEDREADER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDREADER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDREADER_H_ + class CBC_Reader; class CBC_BinaryBitmap; class CBC_CommonBitArray; @@ -43,4 +44,5 @@ class CBC_OneDReader : public CBC_Reader { const int32_t* pattern, int32_t maxIndividualVariance); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDREADER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OneDimReader.h b/xfa/src/fxbarcode/oned/BC_OneDimReader.h index 0fb2c8690c..0a3e3c3d5d 100644 --- a/xfa/src/fxbarcode/oned/BC_OneDimReader.h +++ b/xfa/src/fxbarcode/oned/BC_OneDimReader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDUPCEANREADER_H_ -#define _BC_ONEDUPCEANREADER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDIMREADER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDIMREADER_H_ + class CBC_OneDReader; class CBC_CommonBitArray; class CBC_OneDimReader; @@ -57,4 +58,5 @@ class CBC_OneDimReader : public CBC_OneDReader { int32_t endStart, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDIMREADER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h b/xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h index 6218890a7f..e1cf9d8698 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDCODABARREADER_H_ -#define _BC_ONEDCODABARREADER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARREADER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARREADER_H_ + class CBC_CommonBitArray; class CBC_OneDReader; class CBC_OnedCodaBarReader; @@ -28,4 +29,5 @@ class CBC_OnedCodaBarReader : public CBC_OneDReader { const static FX_CHAR STARTEND_ENCODING[8]; }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARREADER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h b/xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h index 4530a140fb..3671821bce 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCodaBarWriter.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDCODABARWRITER_H_ -#define _BC_ONEDCODABARWRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ + enum BC_TEXT_LOC; class CBC_OneDimWriter; class CBC_OnedCodaBarWriter; @@ -49,4 +50,5 @@ class CBC_OnedCodaBarWriter : public CBC_OneDimWriter { FX_CHAR m_chEnd; int32_t m_iWideNarrRatio; }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARWRITER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h index a8924828e4..592df3a02d 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Reader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDCODA128READER_H_ -#define _BC_ONEDCODA128READER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128READER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128READER_H_ + class CBC_OneDReader; class CBC_CommonBitArray; class CBC_OnedCoda128Reader; @@ -43,4 +44,5 @@ class CBC_OnedCode128Reader : public CBC_OneDReader { int32_t rowOffset, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128READER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h index 94b0c9bc5a..b53cc95820 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode128Writer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDCODA128WRITER_H_ -#define _BC_ONEDCODA128WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128WRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128WRITER_H_ + class CBC_OneDimWriter; class CBC_OnedCoda128Writer; class CBC_OnedCode128Writer : public CBC_OneDimWriter { @@ -45,4 +46,5 @@ class CBC_OnedCode128Writer : public CBC_OneDimWriter { const static int32_t CODE_CODE_C; const static int32_t CODE_STOP; }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA128WRITER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h index d450aa69bb..c1a70b8318 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDCODA39READER_H_ -#define _BC_ONEDCODA39READER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39READER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39READER_H_ + class CBC_OneDReader; class CBC_CommonBitArray; class CBC_OnedCoda39Reader; @@ -32,4 +33,5 @@ class CBC_OnedCode39Reader : public CBC_OneDReader { FX_CHAR PatternToChar(int32_t pattern, int32_t& e); CFX_ByteString DecodeExtended(CFX_ByteString& encoded, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39READER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h index e5a6c68754..1e422827d5 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h +++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Writer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDCODA39WRITER_H_ -#define _BC_ONEDCODA39WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39WRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39WRITER_H_ + enum BC_TEXT_LOC; class CBC_OneDimWriter; class CBC_OnedCoda39Writer; @@ -49,4 +50,5 @@ class CBC_OnedCode39Writer : public CBC_OneDimWriter { int32_t m_iWideNarrRatio; FX_BOOL m_extendedMode; }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODA39WRITER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h b/xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h index 24b808eb6f..cf9e647c85 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedEAN13Reader.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDEAN13READER_H_ -#define _BC_ONEDEAN13READER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN13READER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN13READER_H_ class CBC_OneDimReader; class CBC_CommonBitArray; class CBC_OnedEAN13Reader; @@ -27,4 +27,5 @@ class CBC_OnedEAN13Reader : public CBC_OneDimReader { int32_t& e); friend class CBC_OnedUPCAReader; }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN13READER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h b/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h index ba755c900d..8fd42733f3 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h +++ b/xfa/src/fxbarcode/oned/BC_OnedEAN13Writer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDEAN13WRITER_H_ -#define _BC_ONEDEAN13WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_ + class CBC_OneDimWriter; class CBC_OnedEAN13Writer; class CBC_OnedEAN13Writer : public CBC_OneDimWriter { @@ -48,4 +49,5 @@ class CBC_OnedEAN13Writer : public CBC_OneDimWriter { int32_t multiple, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN13WRITER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h b/xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h index 56a5e952fd..b9f14d6c85 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedEAN8Reader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDEAN8READER_H_ -#define _BC_ONEDEAN8READER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN8READER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN8READER_H_ + class CBC_OneDimReader; class CBC_CommonBitArray; class CBC_OnedEAN8Reader; @@ -20,4 +21,5 @@ class CBC_OnedEAN8Reader : public CBC_OneDimReader { CFX_ByteString& result, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN8READER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h b/xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h index cca1f8470c..fd858fcc02 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h +++ b/xfa/src/fxbarcode/oned/BC_OnedEAN8Writer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDEAN8WRITER_H_ -#define _BC_ONEDEAN8WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_ + enum BC_TEXT_LOC; class CBC_OneDimWriter; class CBC_OnedEAN8Writer; @@ -50,4 +51,5 @@ class CBC_OnedEAN8Writer : public CBC_OneDimWriter { int32_t multiple, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDEAN8WRITER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h b/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h index a3feb52116..2b6bd1785a 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h +++ b/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDUPCAREADER_H_ -#define _BC_ONEDUPCAREADER_H_ +#ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAREADER_H_ +#define XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAREADER_H_ + class CBC_BinaryBitmap; class CBC_CommonBitArray; class CBC_OneDimReader; @@ -38,4 +39,5 @@ class CBC_OnedUPCAReader : public CBC_OneDimReader { int32_t& e); CFX_ByteString MaybeReturnResult(CFX_ByteString& result, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAREADER_H_ diff --git a/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h b/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h index 97b422d626..1b5ce48040 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h +++ b/xfa/src/fxbarcode/oned/BC_OnedUPCAWriter.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_ONEDUPCAWRITER_H_ -#define _BC_ONEDUPCAWRITER_H_ +#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; @@ -51,4 +52,5 @@ class CBC_OnedUPCAWriter : public CBC_OneDimWriter { int32_t multiple, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDUPCAWRITER_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417.h b/xfa/src/fxbarcode/pdf417/BC_PDF417.h index e1dee6814d..6da9cb934d 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417_H_ -#define _BC_PDF417_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ + class CBC_Compaction; class CBC_BarcodeRow; class CBC_BarcodeMatrix; @@ -56,4 +57,5 @@ class CBC_PDF417 { int32_t errorCorrectionCodeWords, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h index e974d71678..9c44cee288 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMatrix.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BARCODEMATRIX_H_ -#define _BC_BARCODEMATRIX_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMATRIX_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMATRIX_H_ + class CBC_BarcodeRow; class CBC_BarcodeMatrix { public: @@ -31,4 +32,5 @@ class CBC_BarcodeMatrix { int32_t m_outWidth; int32_t m_outHeight; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMATRIX_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h index cdffa83e19..4bec2939ee 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeMetadata.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BARCODEMETADATA_H_ -#define _BC_BARCODEMETADATA_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ + class CBC_BarcodeMetadata; class CBC_BarcodeMetadata { public: @@ -27,4 +28,5 @@ class CBC_BarcodeMetadata { int32_t m_rowCountLowerPart; int32_t m_rowCount; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEMETADATA_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h index c989f85f0e..16f351681c 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeRow.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BARCODEROW_H_ -#define _BC_BARCODEROW_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEROW_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEROW_H_ + class CBC_BarcodeRow { public: CBC_BarcodeRow(int32_t width); @@ -21,4 +22,5 @@ class CBC_BarcodeRow { CFX_ByteArray m_output; int32_t m_currentLocation; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEROW_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h index 17c3a0478a..a02c2ab1fb 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417BarcodeValue.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BARCODEVALUE_H_ -#define _BC_BARCODEVALUE_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEVALUE_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEVALUE_H_ + class CBC_BarcodeValue { public: CBC_BarcodeValue(); @@ -18,4 +19,5 @@ class CBC_BarcodeValue { CFX_Int32Array m_keys; CFX_Int32Array m_values; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417BARCODEVALUE_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h b/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h index d51900459a..045f89f318 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417BoundingBox.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_BOUNDINGBOX_H_ -#define _BC_BOUNDINGBOX_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ + class CBC_CommonBitMatrix; class CBC_ResultPoint; class CBC_BoundingBox { @@ -53,4 +54,5 @@ class CBC_BoundingBox { CBC_ResultPoint* bottomRight); void calculateMinMaxValues(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_BOUNDINGBOX_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h index f917484a23..0ff5ceb5ee 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Codeword.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_CODEWORD_H_ -#define _BC_CODEWORD_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_CODEWORD_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_CODEWORD_H_ + class CBC_Codeword { public: CBC_Codeword(int32_t startX, int32_t endX, int32_t bucket, int32_t value); @@ -30,4 +31,5 @@ class CBC_Codeword { int32_t m_value; int32_t m_rowNumber; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_CODEWORD_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h b/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h index 5bb6779dc1..78a26e9306 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417CODEWORDDECODER_H_ -#define _BC_PDF417CODEWORDDECODER_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417CODEWORDDECODER_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417CODEWORDDECODER_H_ + class CBC_PDF417CodewordDecoder; #define column 8 class CBC_PDF417Common; @@ -24,4 +25,5 @@ class CBC_PDF417CodewordDecoder { static int32_t getBitValue(CFX_Int32Array& moduleBitCount); static int32_t getClosestDecodedValue(CFX_Int32Array& moduleBitCount); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417CODEWORDDECODER_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Common.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Common.h index c551fe67df..16882e3bd4 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Common.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Common.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417COMMON_H_ -#define _BC_PDF417COMMON_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417COMMON_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417COMMON_H_ + class CBC_PDF417Common { public: CBC_PDF417Common(); @@ -27,4 +28,5 @@ class CBC_PDF417Common { static CFX_Int32Array* EMPTY_INT_ARRAY; static int32_t findCodewordIndex(FX_DWORD symbol); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417COMMON_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h index 9416bd603c..4c60e2d841 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_COMPACTION_H_ -#define _BC_COMPACTION_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417COMPACTION_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417COMPACTION_H_ + class CBC_Compaction; enum Compaction { AUTO, TEXT, BYTES, NUMERIC }; class CBC_Compaction { @@ -13,4 +14,5 @@ class CBC_Compaction { CBC_Compaction(); virtual ~CBC_Compaction(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417COMPACTION_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h b/xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h index 739dc46add..52901c66bf 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DecodedBitStreamParser.h @@ -59,4 +59,5 @@ class CBC_DecodedBitStreamPaser { int32_t count, int32_t& e); }; + #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DECODEDBITSTREAMPARSER_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h index 7edffe93ca..969d513c7e 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResult.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_EDTECTIONRESULT_H_ -#define _BC_EDTECTIONRESULT_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ + class CBC_BarcodeMetadata; class CBC_BoundingBox; class CBC_Codeword; @@ -52,4 +53,5 @@ class CBC_DetectionResult { static FX_BOOL adjustRowNumber(CBC_Codeword* codeword, CBC_Codeword* otherCodeword); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h index 35f78445b4..279b2c1057 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultColumn.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DETECTIONRESULTCOLUMN_H_ -#define _BC_DETECTIONRESULTCOLUMN_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTCOLUMN_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTCOLUMN_H_ + class CBC_Codeword; class CBC_BoundingBox; class CBC_DetectionResultColumn { @@ -28,4 +29,5 @@ class CBC_DetectionResultColumn { private: static int32_t MAX_NEARBY_DISTANCE; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTCOLUMN_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h index 9969039dee..e235586fcd 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectionResultRowIndicatorColumn.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_ -#define _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H_ + class CBC_BarcodeMetadata; class CBC_BoundingBox; class CBC_DetectionResultRowIndicatorColumn; @@ -29,4 +30,5 @@ class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn { void removeIncorrectCodewords(CFX_PtrArray* codewords, CBC_BarcodeMetadata barcodeMetadata); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h index eeef455a08..604bc3084a 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Detector.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DETECTOR_H_ -#define _BC_DETECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ + class CBC_PDF417DetectorResult; class CBC_BinaryBitmap; class CBC_CommonBitMatrix; @@ -63,4 +64,5 @@ class CBC_Detector { int32_t* pattern, int32_t maxIndividualVariance); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h index c12614d720..dbc2ffcf35 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417DetectorResult.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417DETECTORRESULT_H_ -#define _BC_PDF417DETECTORRESULT_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTORRESULT_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTORRESULT_H_ + class CBC_CommonBitMatrix; class CBC_PDF417DetectorResult { public: @@ -18,4 +19,5 @@ class CBC_PDF417DetectorResult { CBC_CommonBitMatrix* m_bits; CFX_PtrArray* m_points; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTORRESULT_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h index d1b0a1ecb0..d7d1623452 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Dimensions.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_DIMENSIONS_H_ -#define _BC_DIMENSIONS_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417DIMENSIONS_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DIMENSIONS_H_ + class CBC_Dimensions { public: CBC_Dimensions(int32_t minCols, @@ -24,4 +25,5 @@ class CBC_Dimensions { int32_t m_minRows; int32_t m_maxRows; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DIMENSIONS_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h index 1ebfd0e506..8966ae109c 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ECErrorCorrection.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417ECERRORCORRECTION_H_ -#define _BC_PDF417ECERRORCORRECTION_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECERRORCORRECTION_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECERRORCORRECTION_H_ + class CBC_PDF417ECModulusGF; class CBC_PDF417ECModulusPoly; class CBC_PDF417ECErrorCorrection { @@ -34,4 +35,5 @@ class CBC_PDF417ECErrorCorrection { CFX_Int32Array& errorLocations, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECERRORCORRECTION_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h index 74aea400a3..c73f3eb9fa 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusGF.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417ECMODULUSGF_H_ -#define _BC_PDF417ECMODULUSGF_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSGF_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSGF_H_ + class CBC_PDF417ECModulusPoly; class CBC_PDF417Common; class CBC_PDF417ECModulusGF { @@ -35,4 +36,5 @@ class CBC_PDF417ECModulusGF { CBC_PDF417ECModulusPoly* m_one; int32_t m_modulus; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSGF_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h index ec69241bb5..89384fcd69 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ECModulusPoly.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417ECMODULUSPOLY_H_ -#define _BC_PDF417ECMODULUSPOLY_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSPOLY_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSPOLY_H_ + class CBC_PDF417ECModulusGF; class CBC_PDF417ECModulusPoly { public: @@ -34,4 +35,5 @@ class CBC_PDF417ECModulusPoly { CBC_PDF417ECModulusGF* m_field; CFX_Int32Array m_coefficients; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417ECMODULUSPOLY_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h index 561b9fc077..e043bacfdf 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ErrorCorrection.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417ERRORCORRECTION_H_ -#define _BC_PDF417ERRORCORRECTION_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417ERRORCORRECTION_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417ERRORCORRECTION_H_ + class CBC_PDF417ErrorCorrection { public: CBC_PDF417ErrorCorrection(); @@ -21,4 +22,5 @@ class CBC_PDF417ErrorCorrection { private: static int32_t EC_COEFFICIENTS[][2500]; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417ERRORCORRECTION_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h index c7f42188b8..5c19d86b97 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417READER_H_ -#define _BC_PDF417READER_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417READER_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417READER_H_ + class CBC_BinaryBitmap; class CBC_ResultPoint; class CBC_PDF417Reader; @@ -26,4 +27,5 @@ class CBC_PDF417Reader : public CBC_Reader { static int32_t getMaxCodewordWidth(CFX_PtrArray& p); static int32_t getMinCodewordWidth(CFX_PtrArray& p); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417READER_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h index 1a9d297700..a95203d600 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417READER_H_ -#define _BC_PDF417READER_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417RESULTMETADATA_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417RESULTMETADATA_H_ + class CBC_PDF417ResultMetadata { public: CBC_PDF417ResultMetadata(); @@ -25,4 +26,5 @@ class CBC_PDF417ResultMetadata { CFX_Int32Array m_optionalData; FX_BOOL m_lastSegment; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417RESULTMETADATA_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h b/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h index 60dab2c2fe..a0ac8888b1 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417SCANNINGDECODER_H_ -#define _BC_PDF417SCANNINGDECODER_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417SCANNINGDECODER_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417SCANNINGDECODER_H_ + class CBC_CommonDecoderResult; class CBC_CommonBitMatrix; class CBC_ErrorCorrection; @@ -116,4 +117,5 @@ class CBC_PDF417ScanningDecoder { static int32_t getCodewordBucketNumber(int32_t codeword); static int32_t getCodewordBucketNumber(CFX_Int32Array& moduleBitCount); }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417SCANNINGDECODER_H_ diff --git a/xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h b/xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h index 382cef4948..3bfae5e05d 100644 --- a/xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h +++ b/xfa/src/fxbarcode/pdf417/BC_PDF417Writer.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_PDF417WRITER_H_ -#define _BC_PDF417WRITER_H_ +#ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417WRITER_H_ +#define XFA_SRC_FXBARCODE_PDF417_BC_PDF417WRITER_H_ + class CBC_TwoDimWriter; class CBC_PDF417Writer; class CBC_PDF417Writer : public CBC_TwoDimWriter { @@ -23,4 +24,5 @@ class CBC_PDF417Writer : public CBC_TwoDimWriter { void rotateArray(CFX_ByteArray& bitarray, int32_t width, int32_t height); FX_BOOL m_bTruncated; }; -#endif + +#endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417WRITER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h b/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h index eecfa0c88e..245f407b80 100644 --- a/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h +++ b/xfa/src/fxbarcode/qrcode/BC_FinderPatternInfo.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_FINDERPATTERNINFO_H_ -#define _BC_FINDERPATTERNINFO_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ + class CBC_QRFinderPattern; class CBC_QRFinderPatternInfo { private: @@ -20,4 +21,5 @@ class CBC_QRFinderPatternInfo { CBC_QRFinderPattern* GetTopLeft(); CBC_QRFinderPattern* GetTopRight(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_FINDERPATTERNINFO_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h index d2e36fb7d0..a32fd3500b 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPattern.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRALIGNMENTPATTERN_H_ -#define _BC_QRALIGNMENTPATTERN_H_ +#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; @@ -23,4 +23,5 @@ class CBC_QRAlignmentPattern : public CBC_ResultPoint { FX_FLOAT GetY(); CBC_QRAlignmentPattern* Clone(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERN_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h index 791107967c..922c2bb891 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRALIGNMENTPATTERNFINDER_H_ -#define _BC_QRALIGNMENTPATTERNFINDER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_ + class CBC_CommonBitMatrix; class CBC_QRAlignmentPattern; class CBC_QRAlignmentPatternFinder { @@ -38,4 +39,5 @@ class CBC_QRAlignmentPatternFinder { int32_t j); static FX_FLOAT CenterFromEnd(const CFX_Int32Array& stateCount, int32_t end); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h index 3d23c0c561..3ad6fb2c27 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRBitMatrixParser.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRABITMATRIXPARSER_H_ -#define _BC_QRABITMATRIXPARSER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRABITMATRIXPARSER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRABITMATRIXPARSER_H_ + class CBC_CommonBitMatrix; class CBC_QRCoderVersion; class CBC_QRCoderFormatInformation; @@ -27,4 +28,5 @@ class CBC_QRBitMatrixParser { CFX_ByteArray* ReadCodewords(int32_t& e); virtual void Init(CBC_CommonBitMatrix* bitMatrix, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRABITMATRIXPARSER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h index 0646cb61e1..98bf976e06 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODEREADER_H_ -#define _BC_QRCODEREADER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODEREADER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODEREADER_H_ + class CBC_QRDetector; class CBC_BinaryBitmap; class CBC_QRCoderDecoder; @@ -38,4 +39,5 @@ class CBC_QRCodeReader : public CBC_Reader { CFX_ByteString Decode(CBC_BinaryBitmap* image, int32_t& e); virtual void Init(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODEREADER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h index d5b39baed4..bd7bc59656 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeWriter.h @@ -4,9 +4,11 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERWRITER_H_ -#define _BC_QRCODERWRITER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERWRITER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERWRITER_H_ + #include "xfa/src/fxbarcode/BC_TwoDimWriter.h" + class CBC_TwoDimWriter; class CBC_MultiBarCodes; class CBC_QRCoderWriter; @@ -37,4 +39,5 @@ class CBC_QRCodeWriter : public CBC_TwoDimWriter { private: int32_t m_iVersion; }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERWRITER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoder.h b/xfa/src/fxbarcode/qrcode/BC_QRCoder.h index 729f13863b..e7087b33d7 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoder.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODER_H_ -#define _BC_QRCODER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODER_H_ + class CBC_QRCoderErrorCorrectionLevel; class CBC_QRCoderMode; class CBC_CommonByteMatrix; @@ -52,4 +53,5 @@ class CBC_QRCoder { void SetMatrix(CBC_CommonByteMatrix* value); static FX_BOOL IsValidMaskPattern(int32_t maskPattern); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h index 214d641c53..b6b4a48588 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderBitVector.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRECODERBITVECTOR_H_ -#define _BC_QRECODERBITVECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRECODERBITVECTOR_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRECODERBITVECTOR_H_ + class CBC_QRCoderBitVector { private: int32_t m_sizeInBits; @@ -28,4 +29,5 @@ class CBC_QRCoderBitVector { void Clear(); virtual void Init(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRECODERBITVECTOR_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h index 4401617a44..30551fe610 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderBlockPair.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERBLOCKPAIR_H_ -#define _BC_QRCODERBLOCKPAIR_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_ + class CBC_CommonByteArray; class CBC_QRCoderBlockPair { private: @@ -20,4 +21,5 @@ class CBC_QRCoderBlockPair { CBC_CommonByteArray* GetDataBytes(); CBC_CommonByteArray* GetErrorCorrectionBytes(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERBLOCKPAIR_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h index 3a2a99c304..26952ee9e0 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERDECODER_H_ -#define _BC_QRCODERDECODER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERDECODER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERDECODER_H_ + class CBC_CommonBitMatrix; class CBC_ReedSolomonDecoder; class CBC_CommonDecoderResult; @@ -32,4 +33,5 @@ class CBC_QRCoderDecoder { int32_t& e); virtual void Init(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERDECODER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h index 8b7b29443a..67b3987efa 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderECB.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERECB_H_ -#define _BC_QRCODERECB_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERECB_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERECB_H_ + class CBC_QRCoderECB { private: int32_t m_count; @@ -17,4 +18,5 @@ class CBC_QRCoderECB { int32_t GetCount(); int32_t GetDataCodeWords(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERECB_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h index df542fc00f..d2ba509631 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderECBlocks.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERECBLOCKS_H_ -#define _BC_QRCODERECBLOCKS_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERECBLOCKS_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERECBLOCKS_H_ + class CBC_QRCoderECB; class CBC_QRCoderECBlocks { private: @@ -23,4 +24,5 @@ class CBC_QRCoderECBlocks { int32_t GetTotalECCodeWords(); CFX_PtrArray* GetECBlocks(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERECBLOCKS_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h index 38d74233bb..05fc2f8551 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderEncoder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERENCODER_H_ -#define _BC_QRCODERENCODER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ + class Make_Pair; class CBC_QRCoder; class CBC_QRCoderErrorCorrectionLevel; @@ -126,4 +127,5 @@ class CBC_QRCoderEncoder { CFX_ByteString& encoding, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERENCODER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h index 1576f42667..fbe050d352 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderErrorCorrectionLevel.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERERRORCORRECTIONLEVEL_H_ -#define _BC_QRCODERERRORCORRECTIONLEVEL_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ + class CBC_QRCoderErrorCorrectionLevel { private: int32_t m_ordinal; @@ -28,4 +29,5 @@ class CBC_QRCoderErrorCorrectionLevel { static void Destroy(); static CBC_QRCoderErrorCorrectionLevel* ForBits(int32_t bits); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERERRORCORRECTIONLEVEL_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h index f0d8bca62d..4d6402a20b 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderFormatInformation.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERFORMATINFORMATION_H_ -#define _BC_QRCODERFORMATINFORMATION_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERFORMATINFORMATION_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERFORMATINFORMATION_H_ + class CBC_QRCoderErrorCorrectionLevel; class CBC_QRCoderFormatInformation { private: @@ -27,4 +28,5 @@ class CBC_QRCoderFormatInformation { static CBC_QRCoderFormatInformation* DoDecodeFormatInformation( int32_t maskedFormatInfo); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERFORMATINFORMATION_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h index bc2ad9f6ae..ad6274c8a2 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderMaskUtil.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERMASKUTIL_H_ -#define _BC_QRCODERMASKUTIL_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMASKUTIL_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMASKUTIL_H_ class CBC_CommonByteMatrix; class CBC_QRCoderMaskUtil { public: @@ -23,4 +23,5 @@ class CBC_QRCoderMaskUtil { static int32_t ApplyMaskPenaltyRule1Internal(CBC_CommonByteMatrix* matrix, FX_BOOL isHorizontal); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMASKUTIL_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h index aa7fce3ff8..be38c8a4ff 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderMatrixUtil.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERMATRIXUTIL_H_ -#define _BC_QRCODERMATRIXUTIL_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ + class CBC_CommonByteMatrix; class CBC_QRCoderErrorCorrectionLevel; class CBC_QRCoderBitVector; @@ -82,4 +83,5 @@ class CBC_QRCoderMatrixUtil { CBC_CommonByteMatrix* matrix, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h index 55e1b09885..354daf51c1 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderMode.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERMODE_H_ -#define _BC_QRCODERMODE_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ + class CBC_QRCoderVersion; class CBC_QRCoderMode { private: @@ -41,4 +42,5 @@ class CBC_QRCoderMode { CFX_ByteString GetName(); static void Destroy(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMODE_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h b/xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h index 5f4637127e..1f64faa98e 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderVersion.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRCODERVERSION_H_ -#define _BC_QRCODERVERSION_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERVERSION_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERVERSION_H_ + class CBC_QRCoderECBlocks; class CBC_CommonBitMatrix; class CBC_QRCoderErrorCorrectionLevel; @@ -46,4 +47,5 @@ class CBC_QRCoderVersion { int32_t& e); static void Destroy(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERVERSION_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h b/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h index cbe2f7d867..63ee10ef06 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRDataBlock.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRDATABLOCK_H_ -#define _BC_QRDATABLOCK_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRDATABLOCK_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRDATABLOCK_H_ + class CBC_QRCoderVersion; class CBC_QRCoderECBlocks; class CBC_QRCoderECB; @@ -25,4 +26,5 @@ class CBC_QRDataBlock { CBC_QRCoderErrorCorrectionLevel* ecLevel, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRDATABLOCK_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDataMask.h b/xfa/src/fxbarcode/qrcode/BC_QRDataMask.h index b44d59f80e..b32a35d822 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRDataMask.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRDataMask.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRDATAMASK_H_ -#define _BC_QRDATAMASK_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRDATAMASK_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRDATAMASK_H_ + class CBC_CommonBitMatrix; class CBC_QRDataMask { public: @@ -20,4 +21,5 @@ class CBC_QRDataMask { static int32_t BuildDataMasks(); static void Destroy(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRDATAMASK_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h b/xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h index cec8c14876..c014e4dec7 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRDECODEDBITSTREAMPARSER_H_ -#define _BC_QRDECODEDBITSTREAMPARSER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRDECODEDBITSTREAMPARSER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRDECODEDBITSTREAMPARSER_H_ + class CBC_CommonDecoderResult; class CBC_QRCoderErrorCorrectionLevel; class CBC_CommonBitSource; @@ -54,4 +55,5 @@ class CBC_QRDecodedBitStreamParser { int32_t byteModeDecode, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRDECODEDBITSTREAMPARSER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetector.h b/xfa/src/fxbarcode/qrcode/BC_QRDetector.h index ad783029fe..45d2f5345f 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRDetector.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRDetector.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRDETECTOR_H_ -#define _BC_QRDETECTOR_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRDETECTOR_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRDETECTOR_H_ + class CBC_ResultPoint; class CBC_CommonBitMatrix; class CBC_QRDetectorResult; @@ -61,4 +62,5 @@ class CBC_QRDetector { int32_t dimension, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRDETECTOR_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h index 7ae290cc16..3086cb8c95 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRDETECTORRESULT_H_ -#define _BC_QRDETECTORRESULT_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRDETECTORRESULT_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRDETECTORRESULT_H_ + class CBC_CommonBitMatrix; class CBC_ResultPoint; class CBC_QRDetectorResult { @@ -19,4 +20,5 @@ class CBC_QRDetectorResult { CBC_CommonBitMatrix* GetBits(); CFX_PtrArray* GetPoints(); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRDETECTORRESULT_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h b/xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h index fd8a625fc6..3e71034de3 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRFinderPattern.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRFINDERPATTERN_H_ -#define _BC_QRFINDERPATTERN_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRFINDERPATTERN_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRFINDERPATTERN_H_ + class CBC_ResultPoint; class CBC_QRFinderPattern; class CBC_QRFinderPattern : public CBC_ResultPoint { @@ -26,4 +27,5 @@ class CBC_QRFinderPattern : public CBC_ResultPoint { CBC_QRFinderPattern* Clone(); }; typedef CBC_QRFinderPattern FinderPattern; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRFINDERPATTERN_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h b/xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h index 70663a3f07..7f9209d214 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRFinderPatternFinder.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRFINDERPATTERNFINDER_H_ -#define _BC_QRFINDERPATTERNFINDER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_ + class CBC_CommonBitMatrix; class CBC_QRFinderPattern; class CBC_ResultPoint; @@ -50,4 +51,5 @@ class CBC_QRFinderPatternFinder { static FX_BOOL FoundPatternCross(const CFX_Int32Array& stateCount); static FX_FLOAT Distance(CBC_ResultPoint* point1, CBC_ResultPoint* point2); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_ diff --git a/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h b/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h index a860d3a38c..a3f412435d 100644 --- a/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h +++ b/xfa/src/fxbarcode/qrcode/BC_QRGridSampler.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_QRGRIDSAMPLER_H_ -#define _BC_QRGRIDSAMPLER_H_ +#ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRGRIDSAMPLER_H_ +#define XFA_SRC_FXBARCODE_QRCODE_BC_QRGRIDSAMPLER_H_ + class CBC_CommonBitMatrix; class CBC_CommonPerspectiveTransform; class CBC_CommonDefaultGridSampler; @@ -43,4 +44,5 @@ class CBC_QRGridSampler { CFX_FloatArray* points, int32_t& e); }; -#endif + +#endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRGRIDSAMPLER_H_ diff --git a/xfa/src/fxbarcode/utils.h b/xfa/src/fxbarcode/utils.h index 49aa539270..341d65bb36 100644 --- a/xfa/src/fxbarcode/utils.h +++ b/xfa/src/fxbarcode/utils.h @@ -4,8 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _BC_UTILS_H_ -#define _BC_UTILS_H_ +#ifndef XFA_SRC_FXBARCODE_UTILS_H_ +#define XFA_SRC_FXBARCODE_UTILS_H_ + typedef CFX_MapPtrTemplate CFX_PtrToInt32; FX_BOOL BC_FX_ByteString_Replace(CFX_ByteString& dst, FX_DWORD first, @@ -213,4 +214,5 @@ enum BCFORMAT { #define BC_EXCEPTION_CHECK_ReturnValue(e, v) \ if (e != BCExceptionNO) \ return v; -#endif + +#endif // XFA_SRC_FXBARCODE_UTILS_H_ -- cgit v1.2.3