projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C++ port: Hints infrastructure was added in r1499. This changeset implements reader...
[zxing.git]
/
cpp
/
core
/
src
/
zxing
/
MultiFormatReader.h
diff --git
a/cpp/core/src/zxing/MultiFormatReader.h
b/cpp/core/src/zxing/MultiFormatReader.h
index
44d4ce2
..
53d6b57
100644
(file)
--- a/
cpp/core/src/zxing/MultiFormatReader.h
+++ b/
cpp/core/src/zxing/MultiFormatReader.h
@@
-1,9
+1,10
@@
+#ifndef __MULTI_FORMAT_READER_H__
+#define __MULTI_FORMAT_READER_H__
+
/*
* MultiFormatBarcodeReader.h
* ZXing
*
/*
* MultiFormatBarcodeReader.h
* ZXing
*
- * Created by Lukasz Warchol on 10-01-26.
- * Modified by Luiz Silva on 09/02/2010.
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-29,12
+30,20
@@
namespace zxing {
class MultiFormatReader : public Reader {
private:
class MultiFormatReader : public Reader {
private:
- std::vector<Reader*>readers;
+ Ref<Result> decodeInternal(Ref<BinaryBitmap> image);
+
+ std::vector<Reader*> readers_;
+ DecodeHints hints_;
+
public:
MultiFormatReader();
public:
MultiFormatReader();
+ Ref<Result> decode(Ref<BinaryBitmap> image);
Ref<Result> decode(Ref<BinaryBitmap> image, DecodeHints hints);
Ref<Result> decode(Ref<BinaryBitmap> image, DecodeHints hints);
-
+ Ref<Result> decodeWithState(Ref<BinaryBitmap> image);
+ void setHints(DecodeHints hints);
~MultiFormatReader();
};
}
~MultiFormatReader();
};
}
+
+#endif