Small style stuff
[zxing.git] / cpp / core / src / zxing / oned / EAN13Reader.h
index 95ffa0e..4ba4e0b 100644 (file)
 #include <zxing/Result.h>
 
 namespace zxing {
-       namespace oned {
-               class EAN13Reader : public UPCEANReader {
-                       
-               private:
-                       static void determineFirstDigit(std::string& resultString, int lgPatternFound);                                                         //throws ReaderException
-                       
-               public:
-                       EAN13Reader();
-                       
-                       int decodeMiddle(Ref<BitArray> row, int startRange[], int startRangeLen, std::string& resultString);                    //throws ReaderException
-                       
-                       BarcodeFormat getBarcodeFormat();
-               };
-       }
+  namespace oned {
+    class EAN13Reader : public UPCEANReader {
+
+    private:
+      static bool determineFirstDigit(std::string& resultString, int lgPatternFound);
+
+    public:
+      EAN13Reader();
+
+      int decodeMiddle(Ref<BitArray> row, int startGuardBegin, int startGuardEnd,
+          std::string& resultString);
+
+      BarcodeFormat getBarcodeFormat();
+    };
+  }
 }
 
 #endif