comparison mupdf-source/thirdparty/zxing-cpp/wrappers/ios/Sources/Wrapper/Reader/ZXIResult.mm @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
1 // Copyright 2022 KURZ Digital Solutions GmbH
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 #import "ZXIResult.h"
6
7 @implementation ZXIResult
8 - (instancetype)init:(NSString *)text
9 format:(ZXIFormat)format
10 bytes:(NSData *)bytes
11 position:(ZXIPosition *)position
12 orientation:(NSInteger)orientation
13 ecLevel:(NSString *)ecLevel
14 symbologyIdentifier:(NSString *)symbologyIdentifier
15 sequenceSize:(NSInteger)sequenceSize
16 sequenceIndex:(NSInteger)sequenceIndex
17 sequenceId:(NSString *)sequenceId
18 readerInit:(BOOL)readerInit
19 lineCount:(NSInteger)lineCount
20 gtin:(ZXIGTIN *)gtin {
21 self = [super init];
22 self.text = text;
23 self.format = format;
24 self.bytes = bytes;
25 self.position = position;
26 self.orientation = orientation;
27 self.ecLevel = ecLevel;
28 self.symbologyIdentifier = symbologyIdentifier;
29 self.sequenceSize = sequenceSize;
30 self.sequenceIndex = sequenceIndex;
31 self.sequenceId = sequenceId;
32 self.readerInit = readerInit;
33 self.lineCount = lineCount;
34 self.gtin = gtin;
35 return self;
36 }
37 @end