Began removing the excessive use of exceptions in the 1D readers by drawing
[zxing.git] / cpp / core / src / zxing / oned / EAN8Reader.h
index 3e4f3d6..0118eaa 100644 (file)
@@ -1,8 +1,10 @@
+#ifndef __EAN_8_READER_H__
+#define __EAN_8_READER_H__
+
 /*
  *  EAN8Reader.h
  *  ZXing
  *
- *  Created by Lukasz Warchol on 10-01-25.
  *  Copyright 2010 ZXing authors All rights reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -25,16 +27,14 @@ namespace zxing {
        namespace oned {
                class EAN8Reader : public UPCEANReader {
                        
-               private:
-                       int* decodeMiddleCounters;
-                       
                public:
                        EAN8Reader();
                        
                        int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen, std::string& resultString);                    //throws ReaderException
                        
                        BarcodeFormat getBarcodeFormat();
-                       ~EAN8Reader();
                };
        }
-}
\ No newline at end of file
+}
+
+#endif