Osamu Nakamura / GR-PEACH_mbed-os-client-ZXingSample
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MultipleBarcodeReader.h Source File

MultipleBarcodeReader.h

00001 #ifndef __MULTIPLE_BARCODE_READER_H__
00002 #define __MULTIPLE_BARCODE_READER_H__
00003 
00004 /*
00005  *  Copyright 2011 ZXing authors All rights reserved.
00006  *
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  *
00011  *      http://www.apache.org/licenses/LICENSE-2.0
00012  *
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00020 #include <zxing/common/Counted.h>
00021 #include <zxing/Result.h>
00022 #include <zxing/BinaryBitmap.h>
00023 #include <zxing/DecodeHints.h>
00024 #include <vector>
00025 
00026 namespace zxing {
00027 namespace multi {
00028 
00029 class MultipleBarcodeReader : public Counted {
00030   protected:
00031     MultipleBarcodeReader() {}
00032   public:
00033     virtual std::vector<Ref<Result> > decodeMultiple(Ref<BinaryBitmap> image);
00034     virtual std::vector<Ref<Result> > decodeMultiple(Ref<BinaryBitmap> image, DecodeHints hints) = 0;
00035     virtual ~MultipleBarcodeReader();
00036 };
00037 
00038 }
00039 }
00040 
00041 #endif // __MULTIPLE_BARCODE_READER_H__