mirror of https://github.com/status-im/qzxing.git
Fix compilation of project when targeting MSVC. #113
This commit is contained in:
parent
2fd0557cf0
commit
f846faa2d7
|
@ -21,6 +21,7 @@
|
|||
#include <zxing/DecodeHints.h>
|
||||
#include <zxing/common/IllegalArgumentException.h>
|
||||
#include <qglobal.h>
|
||||
#include <iterator>
|
||||
|
||||
using zxing::Ref;
|
||||
using zxing::ResultPointCallback;
|
||||
|
|
|
@ -118,14 +118,14 @@ UPCEANReader::L_AND_G_PATTERNS (VECTOR_INIT(L_AND_G_PATTERNS_));
|
|||
|
||||
UPCEANReader::UPCEANReader() {}
|
||||
|
||||
Ref<Result> UPCEANReader::decodeRow(int rowNumber, Ref<BitArray> row, DecodeHints hints) {
|
||||
Ref<Result> UPCEANReader::decodeRow(int rowNumber, Ref<BitArray> row, zxing::DecodeHints hints) {
|
||||
return decodeRow(rowNumber, row, findStartGuardPattern(row), hints);
|
||||
}
|
||||
|
||||
Ref<Result> UPCEANReader::decodeRow(int rowNumber,
|
||||
Ref<BitArray> row,
|
||||
Range const& startGuardRange,
|
||||
DecodeHints hints) {
|
||||
zxing::DecodeHints hints) {
|
||||
string& result = decodeRowStringBuffer;
|
||||
result.clear();
|
||||
int endStart = decodeMiddle(row, startGuardRange, result);
|
||||
|
|
|
@ -68,8 +68,8 @@ public:
|
|||
Range const& startRange,
|
||||
std::string& resultString) = 0;
|
||||
|
||||
virtual Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row, DecodeHints hints);
|
||||
virtual Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row, Range const& range, DecodeHints hints = DecodeHints());
|
||||
virtual Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row, zxing::DecodeHints hints);
|
||||
virtual Ref<Result> decodeRow(int rowNumber, Ref<BitArray> row, Range const& range, zxing::DecodeHints hints = DecodeHints());
|
||||
|
||||
static int decodeDigit(Ref<BitArray> row,
|
||||
std::vector<int>& counters,
|
||||
|
|
Loading…
Reference in New Issue