mirror of
https://github.com/zxing/zxing.git
synced 2025-01-15 05:07:26 -08:00
2b01d912d3
git-svn-id: https://zxing.googlecode.com/svn/trunk@2204 59b500cc-1b3d-0410-9834-0bbf25fbcc57
26 lines
608 B
Plaintext
26 lines
608 B
Plaintext
//
|
|
// AztecReader.m
|
|
// ZXingWidget
|
|
//
|
|
// Created by Lukas Stabe on 08.02.12.
|
|
// Copyright (c) 2012 EOS UPTRADE GmbH. All rights reserved.
|
|
//
|
|
|
|
#import "AztecReader.h"
|
|
#import <zxing/aztec/AztecReader.h>
|
|
|
|
@implementation AztecReader
|
|
|
|
- (id)init {
|
|
zxing::aztec::AztecReader *reader = new zxing::aztec::AztecReader();
|
|
|
|
return [super initWithReader:reader];
|
|
}
|
|
|
|
- (zxing::Ref<zxing::Result>)decode:(zxing::Ref<zxing::BinaryBitmap>)grayImage andCallback:(zxing::Ref<zxing::ResultPointCallback>)callback {
|
|
//NSLog(@"no callbacks supported for aztec");
|
|
return [self decode:grayImage];
|
|
}
|
|
|
|
@end
|