Committer:
Osamu Nakamura
Date:
Fri Jan 12 15:41:00 2018 +0900
Revision:
0:2f8d4a574b4e
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Osamu Nakamura 0:2f8d4a574b4e 1 #ifndef __BY_QUADRANT_READER_H__
Osamu Nakamura 0:2f8d4a574b4e 2 #define __BY_QUADRANT_READER_H__
Osamu Nakamura 0:2f8d4a574b4e 3
Osamu Nakamura 0:2f8d4a574b4e 4 /*
Osamu Nakamura 0:2f8d4a574b4e 5 * Copyright 2011 ZXing authors All rights reserved.
Osamu Nakamura 0:2f8d4a574b4e 6 *
Osamu Nakamura 0:2f8d4a574b4e 7 * Licensed under the Apache License, Version 2.0 (the "License");
Osamu Nakamura 0:2f8d4a574b4e 8 * you may not use this file except in compliance with the License.
Osamu Nakamura 0:2f8d4a574b4e 9 * You may obtain a copy of the License at
Osamu Nakamura 0:2f8d4a574b4e 10 *
Osamu Nakamura 0:2f8d4a574b4e 11 * http://www.apache.org/licenses/LICENSE-2.0
Osamu Nakamura 0:2f8d4a574b4e 12 *
Osamu Nakamura 0:2f8d4a574b4e 13 * Unless required by applicable law or agreed to in writing, software
Osamu Nakamura 0:2f8d4a574b4e 14 * distributed under the License is distributed on an "AS IS" BASIS,
Osamu Nakamura 0:2f8d4a574b4e 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Osamu Nakamura 0:2f8d4a574b4e 16 * See the License for the specific language governing permissions and
Osamu Nakamura 0:2f8d4a574b4e 17 * limitations under the License.
Osamu Nakamura 0:2f8d4a574b4e 18 */
Osamu Nakamura 0:2f8d4a574b4e 19
Osamu Nakamura 0:2f8d4a574b4e 20 #include <zxing/Reader.h>
Osamu Nakamura 0:2f8d4a574b4e 21 #include <zxing/BinaryBitmap.h>
Osamu Nakamura 0:2f8d4a574b4e 22 #include <zxing/Result.h>
Osamu Nakamura 0:2f8d4a574b4e 23 #include <zxing/DecodeHints.h>
Osamu Nakamura 0:2f8d4a574b4e 24
Osamu Nakamura 0:2f8d4a574b4e 25 namespace zxing {
Osamu Nakamura 0:2f8d4a574b4e 26 namespace multi {
Osamu Nakamura 0:2f8d4a574b4e 27
Osamu Nakamura 0:2f8d4a574b4e 28 class ByQuadrantReader : public Reader {
Osamu Nakamura 0:2f8d4a574b4e 29 private:
Osamu Nakamura 0:2f8d4a574b4e 30 Reader& delegate_;
Osamu Nakamura 0:2f8d4a574b4e 31
Osamu Nakamura 0:2f8d4a574b4e 32 public:
Osamu Nakamura 0:2f8d4a574b4e 33 ByQuadrantReader(Reader& delegate);
Osamu Nakamura 0:2f8d4a574b4e 34 virtual ~ByQuadrantReader();
Osamu Nakamura 0:2f8d4a574b4e 35 virtual Ref<Result> decode(Ref<BinaryBitmap> image);
Osamu Nakamura 0:2f8d4a574b4e 36 virtual Ref<Result> decode(Ref<BinaryBitmap> image, DecodeHints hints);
Osamu Nakamura 0:2f8d4a574b4e 37 };
Osamu Nakamura 0:2f8d4a574b4e 38
Osamu Nakamura 0:2f8d4a574b4e 39 }
Osamu Nakamura 0:2f8d4a574b4e 40 }
Osamu Nakamura 0:2f8d4a574b4e 41
Osamu Nakamura 0:2f8d4a574b4e 42 #endif // __BY_QUADRANT_READER_H__