projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GreyscaleRotatedLuminanceSource: implemented getMatrix()
[zxing.git]
/
cpp
/
core
/
src
/
zxing
/
Reader.h
diff --git
a/cpp/core/src/zxing/Reader.h
b/cpp/core/src/zxing/Reader.h
index
b4d96a4
..
05c741b
100755
(executable)
--- a/
cpp/core/src/zxing/Reader.h
+++ b/
cpp/core/src/zxing/Reader.h
@@
-5,8
+5,7
@@
* Reader.h
* zxing
*
* Reader.h
* zxing
*
- * Created by Christian Brunschen on 13/05/2008.
- * Copyright 2008 ZXing authors All rights reserved.
+ * Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-23,13
+22,17
@@
#include <zxing/BinaryBitmap.h>
#include <zxing/Result.h>
#include <zxing/BinaryBitmap.h>
#include <zxing/Result.h>
+#include <zxing/DecodeHints.h>
namespace zxing {
namespace zxing {
-class Reader {
-public:
- virtual Ref<Result> decode(Ref<BinaryBitmap> image) = 0;
- virtual ~Reader();
+ class Reader : public Counted {
+ protected:
+ Reader() {}
+ public:
+ virtual Ref<Result> decode(Ref<BinaryBitmap> image);
+ virtual Ref<Result> decode(Ref<BinaryBitmap> image, DecodeHints hints) = 0;
+ virtual ~Reader();
};
}
};
}