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/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 +++++--- 27 files changed, 134 insertions(+), 81 deletions(-) (limited to 'xfa/src/fxbarcode/qrcode') 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_ -- cgit v1.2.3