* limitations under the License.
*/
-#include <zxing/oned/UPCEANReader.h>
-#include <zxing/Result.h>
+#include <zxing/oned/EAN13Reader.h>
+#include <zxing/DecodeHints.h>
namespace zxing {
namespace oned {
class UPCAReader : public UPCEANReader {
private:
- UPCEANReader* ean13Reader;
+ EAN13Reader ean13Reader;
static Ref<Result> maybeReturnResult(Ref<Result> result); //throws ReaderException
public:
Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row); //throws ReaderException
Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row, int startGuardRange[]); //throws ReaderException
- Ref<Result> decode(Ref<BinaryBitmap> image);
+ Ref<Result> decode(Ref<BinaryBitmap> image, DecodeHints hints);
BarcodeFormat getBarcodeFormat();
- ~UPCAReader();
};
}
-}
\ No newline at end of file
+}