Cleaned up the iPhone code so that it compiles with the 3.1.2 SDK. Also tightened...
[zxing.git] / cpp / core / src / zxing / Reader.h
index b4d96a4..d7844a9 100755 (executable)
 
 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) = 0;
+   virtual ~Reader();
 };
 
 }