X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=cpp%2Fcore%2Fsrc%2Fzxing%2FReader.h;h=05c741b4e56759d5c6af5f94b91a7e11f0369e8f;hb=4c7d60a47387c3b95ce82e35a6c61ba3243f64f5;hp=3de270f955bbc24c9bbc46c99613281081bb1b45;hpb=1bd3f8056f89c3e7c5163326ce2145de97acb829;p=zxing.git diff --git a/cpp/core/src/zxing/Reader.h b/cpp/core/src/zxing/Reader.h index 3de270f9..05c741b4 100755 --- a/cpp/core/src/zxing/Reader.h +++ b/cpp/core/src/zxing/Reader.h @@ -5,8 +5,7 @@ * 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. @@ -21,16 +20,19 @@ * limitations under the License. */ -#include #include #include +#include namespace zxing { -class Reader { -public: - virtual Ref decode(Ref image) = 0; - virtual ~Reader(); + class Reader : public Counted { + protected: + Reader() {} + public: + virtual Ref decode(Ref image); + virtual Ref decode(Ref image, DecodeHints hints) = 0; + virtual ~Reader(); }; }