Fixed header guards triggering 'warning: macro name is a reserved identifier'

This commit is contained in:
Alexander Stillich 2018-11-02 16:42:05 +01:00
parent 26b5ce2fbd
commit b1bf4dfb01
97 changed files with 312 additions and 291 deletions

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __BARCODE_FORMAT_H__
#define __BARCODE_FORMAT_H__
#ifndef ZXING_BARCODE_FORMAT_H
#define ZXING_BARCODE_FORMAT_H
/*
* BarcodeFormat.h
@ -58,4 +58,4 @@ public:
}
#endif // __BARCODE_FORMAT_H__
#endif // ZXING_BARCODE_FORMAT_H

View File

@ -1,5 +1,5 @@
#ifndef __BINARYBITMAP_H__
#define __BINARYBITMAP_H__
#ifndef ZXING_BINARYBITMAP_H
#define ZXING_BINARYBITMAP_H
/*
* BinaryBitmap.h
@ -53,4 +53,4 @@ namespace zxing {
}
#endif /* BINARYBITMAP_H_ */
#endif /* ZXING_BINARYBITMAP_H */

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __CHECKSUM_EXCEPTION_H__
#define __NOT_FOUND_EXCEPTION_H__
#ifndef ZXING_CHECKSUM_EXCEPTION_H
#define ZXING_CHECKSUM_EXCEPTION_H
/*
* Copyright 20011 ZXing authors
@ -31,4 +31,4 @@ namespace zxing {
};
}
#endif // __CHECKSUM_EXCEPTION_H__
#endif // ZXING_CHECKSUM_EXCEPTION_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __DECODEHINTS_H_
#define __DECODEHINTS_H_
#ifndef ZXING_DECODEHINTS_H
#define ZXING_DECODEHINTS_H
/*
* DecodeHintType.h
* zxing
@ -85,4 +85,5 @@ class DecodeHints {
}
#endif
#endif // ZXING_DECODEHINTS_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __EXCEPTION_H__
#define __EXCEPTION_H__
#ifndef ZXING_EXCEPTION_H
#define ZXING_EXCEPTION_H
/*
* Exception.h
@ -48,4 +48,4 @@ private:
}
#endif // __EXCEPTION_H__
#endif // ZXING_EXCEPTION_H

View File

@ -1,5 +1,5 @@
#ifndef __FORMAT_EXCEPTION_H__
#define __FORMAT_EXCEPTION_H__
#ifndef ZXING_FORMAT_EXCEPTION_H
#define ZXING_FORMAT_EXCEPTION_H
/*
* FormatException.h
@ -34,4 +34,4 @@ public:
};
}
#endif // __FORMAT_EXCEPTION_H__
#endif // ZXING_FORMAT_EXCEPTION_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ILLEGAL_STATE_EXCEPTION_H__
#define __ILLEGAL_STATE_EXCEPTION_H__
#ifndef ZXING_ILLEGAL_STATE_EXCEPTION_H
#define ZXING_ILLEGAL_STATE_EXCEPTION_H
/*
* Copyright 20011 ZXing authors
@ -32,4 +32,4 @@ public:
}
#endif // __ILLEGAL_STATE_EXCEPTION_H__
#endif // ZXING_ILLEGAL_STATE_EXCEPTION_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __INVERTEDLUMINANCESOURCE_H__
#define __INVERTEDLUMINANCESOURCE_H__
#ifndef ZXING_INVERTEDLUMINANCESOURCE_H
#define ZXING_INVERTEDLUMINANCESOURCE_H
/*
* Copyright 2013 ZXing authors All rights reserved.
*
@ -45,4 +45,4 @@ public:
}
#endif /* INVERTEDLUMINANCESOURCE_H_ */
#endif // ZXING_INVERTEDLUMINANCESOURCE_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __LUMINANCESOURCE_H__
#define __LUMINANCESOURCE_H__
#ifndef ZXING_LUMINANCESOURCE_H
#define ZXING_LUMINANCESOURCE_H
/*
* LuminanceSource.h
* zxing
@ -59,4 +59,4 @@ class LuminanceSource : public Counted {
}
#endif /* LUMINANCESOURCE_H_ */
#endif // ZXING_LUMINANCESOURCE_H

View File

@ -1,5 +1,5 @@
#ifndef __MULTI_FORMAT_READER_H__
#define __MULTI_FORMAT_READER_H__
#ifndef ZXING_MULTI_FORMAT_READER_H
#define ZXING_MULTI_FORMAT_READER_H
/*
* MultiFormatBarcodeReader.h
@ -45,4 +45,5 @@ namespace zxing {
};
}
#endif
#endif // ZXING_MULTI_FORMAT_READER_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __NOT_FOUND_EXCEPTION_H__
#define __NOT_FOUND_EXCEPTION_H__
#ifndef ZXING_NOT_FOUND_EXCEPTION_H
#define ZXING_NOT_FOUND_EXCEPTION_H
/*
* Copyright 20011 ZXing authors
@ -32,4 +32,4 @@ public:
}
#endif // __NOT_FOUND_EXCEPTION_H__
#endif // ZXING_NOT_FOUND_EXCEPTION_H

View File

@ -1,5 +1,5 @@
#ifndef __READER_H__
#define __READER_H__
#ifndef ZXING_READER_H
#define ZXING_READER_H
/*
* Reader.h
@ -37,4 +37,4 @@ namespace zxing {
}
#endif // __READER_H__
#endif // ZXING_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __READER_EXCEPTION_H__
#define __READER_EXCEPTION_H__
#ifndef ZXING_READER_EXCEPTION_H
#define ZXING_READER_EXCEPTION_H
/*
* ReaderException.h
@ -34,4 +34,4 @@ class ReaderException : public Exception {
}
#endif // __READER_EXCEPTION_H__
#endif // ZXING_READER_EXCEPTION_H

View File

@ -1,5 +1,5 @@
#ifndef __RESULT_H__
#define __RESULT_H__
#ifndef ZXING_RESULT_H
#define ZXING_RESULT_H
/*
* Result.h
@ -55,4 +55,4 @@ public:
};
}
#endif // __RESULT_H__
#endif // ZXING_RESULT_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __RESULT_POINT_H__
#define __RESULT_POINT_H__
#ifndef ZXING_RESULT_POINT_H
#define ZXING_RESULT_POINT_H
/*
* ResultPoint.h
@ -52,4 +52,4 @@ private:
}
#endif // __RESULT_POINT_H__
#endif // ZXING_RESULT_POINT_H

View File

@ -1,5 +1,5 @@
#ifndef __RESULT_POINT_CALLBACK_H__
#define __RESULT_POINT_CALLBACK_H__
#ifndef ZXING_RESULT_POINT_CALLBACK_H
#define ZXING_RESULT_POINT_CALLBACK_H
/*
* ResultPointCallback.h
@ -36,4 +36,4 @@ public:
}
#endif // __RESULT_POINT_CALLBACK_H__
#endif // ZXING_RESULT_POINT_CALLBACK_H

View File

@ -14,8 +14,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef __ZXING_H_
#define __ZXING_H_
#ifndef ZXING_H
#define ZXING_H
#define ZXING_ARRAY_LEN(v) ((int)(sizeof(v)/sizeof(v[0])))
#define ZX_LOG_DIGITS(digits) \

View File

@ -19,8 +19,8 @@
* limitations under the License.
*/
#ifndef __ZXING_AZTEC_DECODER_DECODER_H__
#define __ZXING_AZTEC_DECODER_DECODER_H__
#ifndef ZXING_AZTEC_DECODER_DECODER_H
#define ZXING_AZTEC_DECODER_DECODER_H
#include <zxing/common/BitMatrix.h>
#include <zxing/common/Str.h>
@ -66,4 +66,4 @@ class Decoder : public Counted {
}
}
#endif
#endif // ZXING_AZTEC_DECODER_DECODER_H

View File

@ -19,8 +19,8 @@
* limitations under the License.
*/
#ifndef __ZXING_AZTEC_DETECTOR_DETECTOR_H__
#define __ZXING_AZTEC_DETECTOR_DETECTOR_H__
#ifndef ZXING_AZTEC_DETECTOR_DETECTOR_H
#define ZXING_AZTEC_DETECTOR_DETECTOR_H
#include <vector>
@ -89,4 +89,4 @@ class Detector : public Counted {
}
}
#endif
#endif // ZXING_AZTEC_DETECTOR_DETECTOR_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ARRAY_H__
#define __ARRAY_H__
#ifndef ZXING_ARRAY_H
#define ZXING_ARRAY_H
/*
* Array.h
@ -170,4 +170,4 @@ public:
} // namespace zxing
#endif // __ARRAY_H__
#endif // ZXING_ARRAY_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __BIT_ARRAY_H__
#define __BIT_ARRAY_H__
#ifndef ZXING_BIT_ARRAY_H
#define ZXING_BIT_ARRAY_H
/*
* Copyright 2010 ZXing authors. All rights reserved.
@ -100,4 +100,4 @@ std::ostream& operator << (std::ostream&, BitArray const&);
}
#endif // __BIT_ARRAY_H__
#endif // ZXING_BIT_ARRAY_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __BIT_MATRIX_H__
#define __BIT_MATRIX_H__
#ifndef ZXING_BIT_MATRIX_H
#define ZXING_BIT_MATRIX_H
/*
* BitMatrix.h
@ -81,4 +81,4 @@ private:
}
#endif // __BIT_MATRIX_H__
#endif // ZXING_BIT_MATRIX_H

View File

@ -1,5 +1,5 @@
#ifndef __BIT_SOURCE_H__
#define __BIT_SOURCE_H__
#ifndef ZXING_BIT_SOURCE_H
#define ZXING_BIT_SOURCE_H
/*
* BitSource.h
@ -71,4 +71,4 @@ public:
}
#endif // __BIT_SOURCE_H__
#endif // ZXING_BIT_SOURCE_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __CHARACTERSET_ECI__
#define __CHARACTERSET_ECI__
#ifndef ZXING_CHARACTERSET_ECI
#define ZXING_CHARACTERSET_ECI
/*
* Copyright 2008-2011 ZXing authors
@ -54,4 +54,5 @@ public:
}
}
#endif
#endif // ZXING_CHARACTERSET_ECI

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __COUNTED_H__
#define __COUNTED_H__
#ifndef ZXING_COUNTED_H
#define ZXING_COUNTED_H
/*
* Copyright 2010 ZXing authors All rights reserved.
@ -137,4 +137,4 @@ public:
}
#endif // __COUNTED_H__
#endif // ZXING_COUNTED_H

View File

@ -1,5 +1,5 @@
#ifndef __DECODER_RESULT_H__
#define __DECODER_RESULT_H__
#ifndef ZXING_DECODER_RESULT_H
#define ZXING_DECODER_RESULT_H
/*
* DecoderResult.h
@ -52,4 +52,4 @@ public:
}
#endif // __DECODER_RESULT_H__
#endif // ZXING_DECODER_RESULT_H

View File

@ -1,5 +1,5 @@
#ifndef __DETECTOR_RESULT_H__
#define __DETECTOR_RESULT_H__
#ifndef ZXING_DETECTOR_RESULT_H
#define ZXING_DETECTOR_RESULT_H
/*
* DetectorResult.h
@ -40,4 +40,4 @@ public:
}
#endif // __DETECTOR_RESULT_H__
#endif // ZXING_DETECTOR_RESULT_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __GLOBALHISTOGRAMBINARIZER_H__
#define __GLOBALHISTOGRAMBINARIZER_H__
#ifndef ZXING_GLOBALHISTOGRAMBINARIZER_H
#define ZXING_GLOBALHISTOGRAMBINARIZER_H
/*
* GlobalHistogramBinarizer.h
* zxing
@ -45,4 +45,4 @@ private:
}
#endif /* GLOBALHISTOGRAMBINARIZER_H_ */
#endif /* ZXING_GLOBALHISTOGRAMBINARIZER_H */

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __GREYSCALE_LUMINANCE_SOURCE__
#define __GREYSCALE_LUMINANCE_SOURCE__
#ifndef ZXING_GREYSCALE_LUMINANCE_SOURCE
#define ZXING_GREYSCALE_LUMINANCE_SOURCE
/*
* GreyscaleLuminanceSource.h
* zxing
@ -50,4 +50,4 @@ public:
}
#endif
#endif // ZXING_GREYSCALE_LUMINANCE_SOURCE

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __GREYSCALE_ROTATED_LUMINANCE_SOURCE__
#define __GREYSCALE_ROTATED_LUMINANCE_SOURCE__
#ifndef ZXING_GREYSCALE_ROTATED_LUMINANCE_SOURCE
#define ZXING_GREYSCALE_ROTATED_LUMINANCE_SOURCE
/*
* GreyscaleRotatedLuminanceSource.h
* zxing
@ -43,4 +43,4 @@ public:
}
#endif
#endif // ZXING_GREYSCALE_ROTATED_LUMINANCE_SOURCE

View File

@ -1,5 +1,5 @@
#ifndef __GRID_SAMPLER_H__
#define __GRID_SAMPLER_H__
#ifndef ZXING_GRID_SAMPLER_H
#define ZXING_GRID_SAMPLER_H
/*
* GridSampler.h
@ -42,4 +42,4 @@ public:
};
}
#endif // __GRID_SAMPLER_H__
#endif // ZXING_GRID_SAMPLER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __HYBRIDBINARIZER_H__
#define __HYBRIDBINARIZER_H__
#ifndef ZXING_HYBRIDBINARIZER_H
#define ZXING_HYBRIDBINARIZER_H
/*
* HybridBinarizer.h
* zxing
@ -64,4 +64,4 @@ namespace zxing {
}
#endif
#endif // ZXING_HYBRIDBINARIZER_H

View File

@ -1,5 +1,5 @@
#ifndef __ILLEGAL_ARGUMENT_EXCEPTION_H__
#define __ILLEGAL_ARGUMENT_EXCEPTION_H__
#ifndef ZXING_ILLEGAL_ARGUMENT_EXCEPTION_H
#define ZXING_ILLEGAL_ARGUMENT_EXCEPTION_H
/*
* IllegalArgumentException.h
@ -33,4 +33,4 @@ public:
}
#endif // __ILLEGAL_ARGUMENT_EXCEPTION_H__
#endif // ZXING_ILLEGAL_ARGUMENT_EXCEPTION_H

View File

@ -1,5 +1,5 @@
#ifndef __PERSPECTIVE_TANSFORM_H__
#define __PERSPECTIVE_TANSFORM_H__
#ifndef ZXING_PERSPECTIVE_TANSFORM_H
#define ZXING_PERSPECTIVE_TANSFORM_H
/*
* PerspectiveTransform.h
@ -46,4 +46,4 @@ public:
};
}
#endif // __PERSPECTIVE_TANSFORM_H__
#endif // ZXING_PERSPECTIVE_TANSFORM_H

View File

@ -1,5 +1,5 @@
#ifndef __POINT_H__
#define __POINT_H__
#ifndef ZXING_POINT_H
#define ZXING_POINT_H
/*
* Point.h
@ -44,4 +44,4 @@ public:
Point end;
};
}
#endif // POINT_H_
#endif // ZXING_POINT_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __STR_H__
#define __STR_H__
#ifndef ZXING_STR_H
#define ZXING_STR_H
/*
* Str.h
@ -48,4 +48,4 @@ public:
}
#endif // __COMMON__STRING_H__
#endif // ZXING_STR_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __STRING_UTILS__
#define __STRING_UTILS__
#ifndef ZXING_STRING_UTILS_H
#define ZXING_STRING_UTILS_H
/*
* Copyright (C) 2010-2011 ZXing authors
@ -52,4 +52,5 @@ public:
}
}
#endif
#endif // ZXING_STRING_UTILS_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __TYPES_H__
#define __TYPES_H__
#ifndef ZXING_TYPES_H
#define ZXING_TYPES_H
#include <string>
#include <iostream>
@ -13,4 +13,4 @@ typedef bool boolean;
}
#endif // __COMMON__TYPES_H__
#endif // ZXING_TYPES_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ZXING_COMMON_DETECTOR_MATH_H__
#define __ZXING_COMMON_DETECTOR_MATH_H__
#ifndef ZXING_COMMON_DETECTOR_MATH_H
#define ZXING_COMMON_DETECTOR_MATH_H
/*
* Copyright 2012 ZXing authors All rights reserved.
*
@ -40,4 +40,5 @@ class Math {
}
}
#endif
#endif // ZXING_COMMON_DETECTOR_MATH_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ZXING_COMMON_DETECTOR_MATHUTILS_H__
#define __ZXING_COMMON_DETECTOR_MATHUTILS_H__
#ifndef ZXING_COMMON_DETECTOR_MATHUTILS_H
#define ZXING_COMMON_DETECTOR_MATHUTILS_H
/*
* Copyright 2012 ZXing authors All rights reserved.
*
@ -54,4 +54,5 @@ class MathUtils {
}
}
#endif
#endif // ZXING_COMMON_DETECTOR_MATHUTILS_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __MONOCHROMERECTANGLEDETECTOR_H__
#define __MONOCHROMERECTANGLEDETECTOR_H__
#ifndef ZXING_MONOCHROMERECTANGLEDETECTOR_H
#define ZXING_MONOCHROMERECTANGLEDETECTOR_H
/*
* MonochromeRectangleDetector.h
@ -59,4 +59,4 @@ class MonochromeRectangleDetector : public Counted {
}
#endif // __MONOCHROMERECTANGLEDETECTOR_H__
#endif // ZXING_MONOCHROMERECTANGLEDETECTOR_H

View File

@ -1,5 +1,5 @@
#ifndef __WHITERECTANGLEDETECTOR_H__
#define __WHITERECTANGLEDETECTOR_H__
#ifndef ZXING_WHITERECTANGLEDETECTOR_H
#define ZXING_WHITERECTANGLEDETECTOR_H
/*
* WhiteRectangleDetector.h
@ -56,4 +56,5 @@ class WhiteRectangleDetector : public Counted {
};
}
#endif
#endif // ZXING_WHITERECTANGLEDETECTOR_H

View File

@ -1,5 +1,5 @@
#ifndef __REED_SOLOMON_DECODER_H__
#define __REED_SOLOMON_DECODER_H__
#ifndef ZXING_REED_SOLOMON_DECODER_H
#define ZXING_REED_SOLOMON_DECODER_H
/*
* ReedSolomonDecoder.h
@ -46,4 +46,4 @@ private:
};
}
#endif // __REED_SOLOMON_DECODER_H__
#endif // ZXING_REED_SOLOMON_DECODER_H

View File

@ -1,5 +1,5 @@
#ifndef __REED_SOLOMON_EXCEPTION_H__
#define __REED_SOLOMON_EXCEPTION_H__
#ifndef ZXING_REED_SOLOMON_EXCEPTION_H
#define ZXING_REED_SOLOMON_EXCEPTION_H
/*
* ReedSolomonException.h
@ -30,4 +30,4 @@ public:
};
}
#endif // __REED_SOLOMON_EXCEPTION_H__
#endif // ZXING_REED_SOLOMON_EXCEPTION_H

View File

@ -1,5 +1,5 @@
#ifndef __DATA_MATRIX_READER_H__
#define __DATA_MATRIX_READER_H__
#ifndef ZXING_DATA_MATRIX_READER_H
#define ZXING_DATA_MATRIX_READER_H
/*
* DataMatrixReader.h
@ -42,4 +42,4 @@ public:
}
}
#endif // __DATA_MATRIX_READER_H__
#endif // ZXING_DATA_MATRIX_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __VERSION_H__
#define __VERSION_H__
#ifndef ZXING_VERSION_H
#define ZXING_VERSION_H
/*
* Version.h
@ -84,4 +84,4 @@ private:
}
}
#endif // __VERSION_H__
#endif // ZXING_VERSION_H

View File

@ -1,5 +1,5 @@
#ifndef __BIT_MATRIX_PARSER_DM_H__
#define __BIT_MATRIX_PARSER_DM_H__
#ifndef ZXING_BIT_MATRIX_PARSER_DM_H
#define ZXING_BIT_MATRIX_PARSER_DM_H
/*
* BitMatrixParser.h
@ -56,4 +56,4 @@ private:
}
}
#endif // __BIT_MATRIX_PARSER_DM_H__
#endif // ZXING_BIT_MATRIX_PARSER_DM_H

View File

@ -1,5 +1,5 @@
#ifndef __DATA_BLOCK_DM_H__
#define __DATA_BLOCK_DM_H__
#ifndef ZXING_DATA_BLOCK_DM_H
#define ZXING_DATA_BLOCK_DM_H
/*
* DataBlock.h
@ -46,4 +46,4 @@ public:
}
}
#endif // __DATA_BLOCK_DM_H__
#endif // ZXING_DATA_BLOCK_DM_H

View File

@ -1,5 +1,5 @@
#ifndef __DECODED_BIT_STREAM_PARSER_DM_H__
#define __DECODED_BIT_STREAM_PARSER_DM_H__
#ifndef ZXING_DECODED_BIT_STREAM_PARSER_DM_H
#define ZXING_DECODED_BIT_STREAM_PARSER_DM_H
/*
* DecodedBitStreamParser.h
@ -90,15 +90,16 @@ private:
int pseudoRandomNumber = ((149 * base256CodewordPosition) % 255) + 1;
int tempVariable = randomizedBase256Codeword - pseudoRandomNumber;
return (byte) (tempVariable >= 0 ? tempVariable : (tempVariable + 256));
};
}
void append(std::ostream &ost, const char *bufIn, size_t nIn, const char *src);
public:
DecodedBitStreamParser() { };
DecodedBitStreamParser() { }
Ref<DecoderResult> decode(ArrayRef<byte> bytes);
};
}
}
#endif // __DECODED_BIT_STREAM_PARSER_DM_H__
#endif // ZXING_DECODED_BIT_STREAM_PARSER_DM_H

View File

@ -1,5 +1,5 @@
#ifndef __DECODER_DM_H__
#define __DECODER_DM_H__
#ifndef ZXING_DECODER_DM_H
#define ZXING_DECODER_DM_H
/*
* Decoder.h
@ -46,4 +46,4 @@ public:
}
}
#endif // __DECODER_DM_H__
#endif // ZXING_DECODER_DM_H

View File

@ -1,5 +1,5 @@
#ifndef __CORNER_FINDER_H__
#define __CORNER_FINDER_H__
#ifndef ZXING_CORNER_FINDER_H
#define ZXING_CORNER_FINDER_H
/*
* CornerPoint.h
@ -40,4 +40,4 @@ namespace zxing {
}
}
#endif // __CORNER_FINDER_H__
#endif // ZXING_CORNER_FINDER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __DETECTOR_H__
#define __DETECTOR_H__
#ifndef ZXING_DETECTOR_H
#define ZXING_DETECTOR_H
/*
* Detector.h
@ -91,4 +91,4 @@ class Detector: public Counted {
}
}
#endif // __DETECTOR_H__
#endif // ZXING_DETECTOR_H

View File

@ -1,5 +1,5 @@
#ifndef __BY_QUADRANT_READER_H__
#define __BY_QUADRANT_READER_H__
#ifndef ZXING_BY_QUADRANT_READER_H
#define ZXING_BY_QUADRANT_READER_H
/*
* Copyright 2011 ZXing authors All rights reserved.
@ -39,4 +39,4 @@ class ByQuadrantReader : public Reader {
}
}
#endif // __BY_QUADRANT_READER_H__
#endif // ZXING_BY_QUADRANT_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __GENERIC_MULTIPLE_BARCODE_READER_H__
#define __GENERIC_MULTIPLE_BARCODE_READER_H__
#ifndef ZXING_GENERIC_MULTIPLE_BARCODE_READER_H
#define ZXING_GENERIC_MULTIPLE_BARCODE_READER_H
/*
* Copyright 2011 ZXing authors All rights reserved.
@ -48,4 +48,4 @@ class GenericMultipleBarcodeReader : public MultipleBarcodeReader {
}
}
#endif // __GENERIC_MULTIPLE_BARCODE_READER_H__
#endif // ZXING_GENERIC_MULTIPLE_BARCODE_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __MULTIPLE_BARCODE_READER_H__
#define __MULTIPLE_BARCODE_READER_H__
#ifndef ZXING_MULTIPLE_BARCODE_READER_H
#define ZXING_MULTIPLE_BARCODE_READER_H
/*
* Copyright 2011 ZXing authors All rights reserved.
@ -38,4 +38,4 @@ class MultipleBarcodeReader : public Counted {
}
}
#endif // __MULTIPLE_BARCODE_READER_H__
#endif // ZXING_MULTIPLE_BARCODE_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __QRCODE_MULTI_READER_H__
#define __QRCODE_MULTI_READER_H__
#ifndef ZXING_QRCODE_MULTI_READER_H
#define ZXING_QRCODE_MULTI_READER_H
/*
* Copyright 2011 ZXing authors All rights reserved.
@ -33,4 +33,4 @@ class QRCodeMultiReader: public zxing::qrcode::QRCodeReader, public MultipleBarc
}
}
#endif // __QRCODE_MULTI_READER_H__
#endif // ZXING_QRCODE_MULTI_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __MULTI_DETECTOR_H__
#define __MULTI_DETECTOR_H__
#ifndef ZXING_MULTI_DETECTOR_H
#define ZXING_MULTI_DETECTOR_H
/*
* Copyright 2011 ZXing authors
@ -34,4 +34,4 @@ class MultiDetector : public zxing::qrcode::Detector {
}
}
#endif // __MULTI_DETECTOR_H__
#endif // ZXING_MULTI_DETECTOR_H

View File

@ -1,5 +1,5 @@
#ifndef __MULTI_FINDER_PATTERN_FINDER_H__
#define __MULTI_FINDER_PATTERN_FINDER_H__
#ifndef ZXING_MULTI_FINDER_PATTERN_FINDER_H
#define ZXING_MULTI_FINDER_PATTERN_FINDER_H
/*
* Copyright 2011 ZXing authors
@ -44,4 +44,4 @@ class MultiFinderPatternFinder : zxing::qrcode::FinderPatternFinder {
}
}
#endif // __MULTI_FINDER_PATTERN_FINDER_H__
#endif // ZXING_MULTI_FINDER_PATTERN_FINDER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __CODA_BAR_READER_H__
#define __CODA_BAR_READER_H__
#ifndef ZXING_CODA_BAR_READER_H
#define ZXING_CODA_BAR_READER_H
/*
* Copyright 2010 ZXing authors All rights reserved.
*
@ -54,4 +54,4 @@ private:
}
}
#endif
#endif // ZXING_CODA_BAR_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __CODE_128_READER_H__
#define __CODE_128_READER_H__
#ifndef ZXING_CODE_128_READER_H
#define ZXING_CODE_128_READER_H
/*
* Copyright 2010 ZXing authors All rights reserved.
*
@ -45,4 +45,5 @@ public:
}
}
#endif
#endif // ZXING_CODE_128_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __CODE_39_READER_H__
#define __CODE_39_READER_H__
#ifndef ZXING_CODE_39_READER_H
#define ZXING_CODE_39_READER_H
/*
* Code39Reader.h
* ZXing
@ -60,4 +60,5 @@ public:
}
}
#endif
#endif // ZXING_CODE_39_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __CODE_93_READER_H__
#define __CODE_93_READER_H__
#ifndef ZXING_CODE_93_READER_H
#define ZXING_CODE_93_READER_H
/*
* Code93Reader.h
* ZXing
@ -55,4 +55,5 @@ private:
}
}
#endif
#endif // ZXING_CODE_93_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __EAN_13_READER_H__
#define __EAN_13_READER_H__
#ifndef ZXING_EAN_13_READER_H
#define ZXING_EAN_13_READER_H
/*
* EAN13Reader.h
@ -46,4 +46,5 @@ public:
}
}
#endif
#endif // ZXING_EAN_13_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __EAN_8_READER_H__
#define __EAN_8_READER_H__
#ifndef ZXING_EAN_8_READER_H
#define ZXING_EAN_8_READER_H
/*
* EAN8Reader.h
@ -44,4 +44,5 @@ class EAN8Reader : public UPCEANReader {
}
}
#endif
#endif // ZXING_EAN_8_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ITF_READER_H__
#define __ITF_READER_H__
#ifndef ZXING_ITF_READER_H
#define ZXING_ITF_READER_H
/*
* Copyright 2010 ZXing authors All rights reserved.
@ -51,4 +51,5 @@ public:
}
}
#endif
#endif // ZXING_ITF_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __MULTI_FORMAT_ONED_READER_H__
#define __MULTI_FORMAT_ONED_READER_H__
#ifndef ZXING_MULTI_FORMAT_ONED_READER_H
#define ZXING_MULTI_FORMAT_ONED_READER_H
/*
* MultiFormatOneDReader.h
* ZXing
@ -35,4 +35,5 @@ namespace zxing {
}
}
#endif
#endif // ZXING_MULTI_FORMAT_ONED_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __MULTI_FORMAT_UPC_EAN_READER_H__
#define __MULTI_FORMAT_UPC_EAN_READER_H__
#ifndef ZXING_MULTI_FORMAT_UPC_EAN_READER_H
#define ZXING_MULTI_FORMAT_UPC_EAN_READER_H
/*
* MultiFormatUPCEANReader.h
* ZXing
@ -38,4 +38,5 @@ public:
}
}
#endif
#endif // ZXING_MULTI_FORMAT_UPC_EAN_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ONED_READER_H__
#define __ONED_READER_H__
#ifndef ZXING_ONED_READER_H
#define ZXING_ONED_READER_H
/*
* OneDReader.h
@ -78,4 +78,5 @@ public:
}
}
#endif
#endif // ZXING_ONED_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __ONED_RESULT_POINT_H__
#define __ONED_RESULT_POINT_H__
#ifndef ZXING_ONED_RESULT_POINT_H
#define ZXING_ONED_RESULT_POINT_H
/*
* OneDResultPoint.h
* ZXing
@ -32,4 +32,5 @@ namespace zxing {
}
}
#endif
#endif // ZXING_ONED_RESULT_POINT_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __UPCA_READER_H__
#define __UPCA_READER_H__
#ifndef ZXING_UPCA_READER_H
#define ZXING_UPCA_READER_H
/*
* UPCAReader.h
* ZXing
@ -47,4 +47,5 @@ public:
}
}
#endif
#endif // ZXING_UPCA_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __UPC_EAN_READER_H__
#define __UPC_EAN_READER_H__
#ifndef ZXING_UPC_EAN_READER_H
#define ZXING_UPC_EAN_READER_H
/*
* Copyright 2010 ZXing authors All rights reserved.
@ -85,4 +85,5 @@ public:
}
}
#endif
#endif // ZXING_UPC_EAN_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __UPC_E_READER_H__
#define __UPC_E_READER_H__
#ifndef ZXING_UPC_E_READER_H
#define ZXING_UPC_E_READER_H
/*
* Copyright 2010 ZXing authors All rights reserved.
@ -44,4 +44,5 @@ public:
}
}
#endif
#endif // ZXING_UPC_E_READER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __PDF417_READER_H__
#define __PDF417_READER_H__
#ifndef ZXING_PDF417_READER_H
#define ZXING_PDF417_READER_H
/*
* PDF417Reader.h
@ -46,4 +46,4 @@ class PDF417Reader : public Reader {
}
}
#endif // __PDF417_READER_H__
#endif // ZXING_PDF417_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __BIT_MATRIX_PARSER__PDF_H__
#define __BIT_MATRIX_PARSER__PDF_H__
#ifndef ZXING_BIT_MATRIX_PARSER_PDF_H
#define ZXING_BIT_MATRIX_PARSER_PDF_H
/*
* BitMatrixParser.h / PDF417
@ -81,4 +81,4 @@ protected:
}
}
#endif // __BIT_MATRIX_PARSER__PDF_H__
#endif // ZXING_BIT_MATRIX_PARSER_PDF_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __DECODED_BIT_STREAM_PARSER_PD_H__
#define __DECODED_BIT_STREAM_PARSER_PD_H__
#ifndef ZXING_DECODED_BIT_STREAM_PARSER_PD_H
#define ZXING_DECODED_BIT_STREAM_PARSER_PD_H
/*
* Copyright 2010 ZXing authors All rights reserved.
@ -81,4 +81,4 @@ class DecodedBitStreamParser {
} /* namespace pdf417 */
} /* namespace zxing */
#endif // __DECODED_BIT_STREAM_PARSER_PD_H__
#endif // ZXING_DECODED_BIT_STREAM_PARSER_PD_H

View File

@ -1,5 +1,5 @@
#ifndef __DECOCER_PDF_H__
#define __DECOCER_PDF_H__
#ifndef ZXING_DECOCER_PDF_H
#define ZXING_DECOCER_PDF_H
/*
* Decoder.h
@ -59,4 +59,4 @@ public:
}
}
#endif // __DECOCER_PDF_H__
#endif // ZXING_DECOCER_PDF_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ERROR_CORRECTION_PDF_H__
#define __ERROR_CORRECTION_PDF_H__
#ifndef ZXING_ERROR_CORRECTION_PDF_H
#define ZXING_ERROR_CORRECTION_PDF_H
/*
* Copyright 2012 ZXing authors
*
@ -68,4 +68,4 @@ class ErrorCorrection: public Counted {
}
}
#endif /* __ERROR_CORRECTION_PDF_H__ */
#endif /* ZXING_ERROR_CORRECTION_PDF_H */

View File

@ -1,5 +1,5 @@
#ifndef __MODULUS_GF_PDF_H__
#define __MODULUS_GF_PDF_H__
#ifndef ZXING_MODULUS_GF_PDF_H
#define ZXING_MODULUS_GF_PDF_H
/*
* Copyright 2012 ZXing authors
*
@ -69,4 +69,4 @@ class ModulusGF {
}
}
#endif /* __MODULUS_GF_PDF_H__ */
#endif /* ZXING_MODULUS_GF_PDF_H */

View File

@ -1,5 +1,5 @@
#ifndef __MODULUS_GFPOLY_PDF_H__
#define __MODULUS_GFPOLY_PDF_H__
#ifndef ZXING_MODULUS_GFPOLY_PDF_H
#define ZXING_MODULUS_GFPOLY_PDF_H
/*
* Copyright 2012 ZXing authors
@ -65,4 +65,4 @@ class ModulusPoly: public Counted {
}
}
#endif /* __MODULUS_GFPOLY_PDF_H__ */
#endif /* ZXING_MODULUS_GFPOLY_PDF_H */

View File

@ -1,5 +1,5 @@
#ifndef __DETECTOR_H__
#define __DETECTOR_H__
#ifndef ZXING_DETECTOR_H_
#define ZXING_DETECTOR_H_
/*
* Detector.h
@ -103,4 +103,4 @@ public:
}
}
#endif // __DETECTOR_H__
#endif // ZXING_DETECTOR_H_

View File

@ -1,5 +1,5 @@
#ifndef __LINESSAMPLER_H__
#define __LINESSAMPLER_H__
#ifndef ZXING_LINESSAMPLER_H
#define ZXING_LINESSAMPLER_H
/*
* Copyright 2010 ZXing authors All rights reserved.
@ -119,4 +119,4 @@ public:
}
}
#endif // __LINESSAMPLER_H__
#endif // ZXING_LINESSAMPLER_H

View File

@ -1,5 +1,5 @@
#ifndef __ERROR_CORRECTION_LEVEL_H__
#define __ERROR_CORRECTION_LEVEL_H__
#ifndef ZXING_ERROR_CORRECTION_LEVEL_H
#define ZXING_ERROR_CORRECTION_LEVEL_H
/*
* ErrorCorrectionLevel.h
@ -52,4 +52,4 @@ public:
}
}
#endif // __ERROR_CORRECTION_LEVEL_H__
#endif // ZXING_ERROR_CORRECTION_LEVEL_H

View File

@ -1,5 +1,5 @@
#ifndef __FORMAT_INFORMATION_H__
#define __FORMAT_INFORMATION_H__
#ifndef ZXING_FORMAT_INFORMATION_H
#define ZXING_FORMAT_INFORMATION_H
/*
* FormatInformation.h
@ -51,4 +51,4 @@ public:
}
}
#endif // __FORMAT_INFORMATION_H__
#endif // ZXING_FORMAT_INFORMATION_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __QR_CODE_READER_H__
#define __QR_CODE_READER_H__
#ifndef ZXING_QR_CODE_READER_H
#define ZXING_QR_CODE_READER_H
/*
* QRCodeReader.h
@ -45,4 +45,4 @@ class QRCodeReader : public Reader {
}
}
#endif // __QR_CODE_READER_H__
#endif // ZXING_QR_CODE_READER_H

View File

@ -1,5 +1,5 @@
#ifndef __VERSION_H__
#define __VERSION_H__
#ifndef ZXING_VERSION_H
#define ZXING_VERSION_H
/*
* Version.h
@ -83,4 +83,4 @@ public:
}
}
#endif // __VERSION_H__
#endif // ZXING_VERSION_H

View File

@ -1,5 +1,5 @@
#ifndef __BIT_MATRIX_PARSER_H__
#define __BIT_MATRIX_PARSER_H__
#ifndef ZXING_MATRIX_PARSER_H
#define ZXING_MATRIX_PARSER_H
/*
* BitMatrixParser.h
@ -57,4 +57,4 @@ private:
}
}
#endif // __BIT_MATRIX_PARSER_H__
#endif // ZXING_MATRIX_PARSER_H

View File

@ -1,5 +1,5 @@
#ifndef __DATA_BLOCK_H__
#define __DATA_BLOCK_H__
#ifndef ZXING_DATA_BLOCK_H
#define ZXING_DATA_BLOCK_H
/*
* DataBlock.h
@ -47,4 +47,4 @@ public:
}
}
#endif // __DATA_BLOCK_H__
#endif // ZXING_DATA_BLOCK_H

View File

@ -1,5 +1,5 @@
#ifndef __DATA_MASK_H__
#define __DATA_MASK_H__
#ifndef ZXING_DATA_MASK_H
#define ZXING_DATA_MASK_H
/*
* DataMask.h
@ -47,4 +47,4 @@ public:
}
}
#endif // __DATA_MASK_H__
#endif // ZXING_DATA_MASK_H

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __DECODED_BIT_STREAM_PARSER_H__
#define __DECODED_BIT_STREAM_PARSER_H__
#ifndef ZXING_DECODED_BIT_STREAM_PARSER_H
#define ZXING_DECODED_BIT_STREAM_PARSER_H
/*
* DecodedBitStreamParser.h
@ -69,4 +69,4 @@ public:
}
}
#endif // __DECODED_BIT_STREAM_PARSER_H__
#endif // ZXING_DECODED_BIT_STREAM_PARSER_H

View File

@ -1,5 +1,5 @@
#ifndef __DECODER_H__
#define __DECODER_H__
#ifndef ZXING_DECODER_H
#define ZXING_DECODER_H
/*
* Decoder.h
@ -43,4 +43,4 @@ public:
}
}
#endif // __DECODER_H__
#endif // ZXING_DECODER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __MODE_H__
#define __MODE_H__
#ifndef ZXING_MODE_H
#define ZXING_MODE_H
/*
* Mode.h

View File

@ -1,7 +1,7 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ALIGNMENT_PATTERN_H__
#define __ALIGNMENT_PATTERN_H__
#ifndef ZXING_ALIGNMENT_PATTERN_H
#define ZXING_ALIGNMENT_PATTERN_H
/*
* AlignmentPattern.h
@ -42,4 +42,4 @@ namespace zxing {
}
}
#endif // __ALIGNMENT_PATTERN_H__
#endif // ZXING_ALIGNMENT_PATTERN_H

View File

@ -1,5 +1,5 @@
#ifndef __ALIGNMENT_PATTERN_FINDER_H__
#define __ALIGNMENT_PATTERN_FINDER_H__
#ifndef ZXING_ALIGNMENT_PATTERN_FINDER_H
#define ZXING_ALIGNMENT_PATTERN_FINDER_H
/*
* AlignmentPatternFinder.h
@ -65,4 +65,4 @@ private:
}
}
#endif // __ALIGNMENT_PATTERN_FINDER_H__
#endif // ZXING_ALIGNMENT_PATTERN_FINDER_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __DETECTOR_H__
#define __DETECTOR_H__
#ifndef ZXING_DETECTOR_H
#define ZXING_DETECTOR_H
/*
* Detector.h
@ -66,4 +66,4 @@ public:
}
}
#endif // __DETECTOR_H__
#endif // ZXING_DETECTOR_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __FINDER_PATTERN_H__
#define __FINDER_PATTERN_H__
#ifndef ZXING_FINDER_PATTERN_H
#define ZXING_FINDER_PATTERN_H
/*
* FinderPattern.h
@ -45,4 +45,4 @@ namespace zxing {
}
}
#endif // __FINDER_PATTERN_H__
#endif // ZXING_FINDER_PATTERN_H

View File

@ -1,6 +1,6 @@
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __FINDER_PATTERN_FINDER_H__
#define __FINDER_PATTERN_FINDER_H__
#ifndef ZXING_FINDER_PATTERN_FINDER_H
#define ZXING_FINDER_PATTERN_FINDER_H
/*
* FinderPatternFinder.h
@ -77,4 +77,4 @@ public:
}
}
#endif // __FINDER_PATTERN_FINDER_H__
#endif // ZXING_FINDER_PATTERN_FINDER_H

View File

@ -1,5 +1,5 @@
#ifndef __FINDER_PATTERN_INFO_H__
#define __FINDER_PATTERN_INFO_H__
#ifndef ZXING_FINDER_PATTERN_INFO_H
#define ZXING_FINDER_PATTERN_INFO_H
/*
* FinderPatternInfo.h
@ -44,4 +44,4 @@ public:
}
}
#endif // __FINDER_PATTERN_INFO_H__
#endif // ZXING_FINDER_PATTERN_INFO_H