25 lines
462 B
C
25 lines
462 B
C
|
|
/*
|
||
|
|
* Copyright 2016 Nu-book Inc.
|
||
|
|
* Copyright 2016 ZXing authors
|
||
|
|
*/
|
||
|
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "ODRowReader.h"
|
||
|
|
|
||
|
|
namespace ZXing::OneD {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief A reader that can read all available UPC/EAN formats.
|
||
|
|
*/
|
||
|
|
class MultiUPCEANReader : public RowReader
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
using RowReader::RowReader;
|
||
|
|
|
||
|
|
Barcode decodePattern(int rowNumber, PatternView& next, std::unique_ptr<DecodingState>&) const override;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace ZXing::OneD
|