X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=cpp%2Fcore%2Fsrc%2Fzxing%2Foned%2FEAN13Reader.h;h=fa7b7e817e3faaf12db99179ca782e47d2b4d98e;hp=95ffa0e544461ead45cf8b934ad7fbf7455b4007;hb=45e643cea495289f6e95112482a3fd3086ef4431;hpb=5cc5a1cd29b034939d7545140454c869844ddfea diff --git a/cpp/core/src/zxing/oned/EAN13Reader.h b/cpp/core/src/zxing/oned/EAN13Reader.h index 95ffa0e5..fa7b7e81 100644 --- a/cpp/core/src/zxing/oned/EAN13Reader.h +++ b/cpp/core/src/zxing/oned/EAN13Reader.h @@ -26,15 +26,16 @@ namespace zxing { namespace oned { class EAN13Reader : public UPCEANReader { - + private: - static void determineFirstDigit(std::string& resultString, int lgPatternFound); //throws ReaderException - + static bool determineFirstDigit(std::string& resultString, int lgPatternFound); + public: EAN13Reader(); - - int decodeMiddle(Ref row, int startRange[], int startRangeLen, std::string& resultString); //throws ReaderException - + + int decodeMiddle(Ref row, int startRange[], int startRangeLen, + std::string& resultString); + BarcodeFormat getBarcodeFormat(); }; }