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

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
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