Completed port of UnsupportedEncodingException

This commit is contained in:
favoritas37 2015-06-14 13:59:00 +03:00
parent 095b27a4b2
commit 4eeccfba38
2 changed files with 13 additions and 5 deletions

View File

@ -130,7 +130,8 @@ HEADERS += $$PWD/QZXing_global.h \
$$PWD/zxing/zxing/qrcode/encoder/MatrixUtil.h \
$$PWD/zxing/zxing/qrcode/encoder/QRCode.h \
$$PWD/zxing/zxing/WriterException.h \
$$PWD/zxing/zxing/EncodeHint.h
$$PWD/zxing/zxing/EncodeHint.h \
$$PWD/zxing/zxing/UnsupportedEncodingException.h
SOURCES += $$PWD/CameraImageWrapper.cpp \
$$PWD/qzxing.cpp \

View File

@ -1,10 +1,17 @@
#ifndef UNSUPPORTEDENCODINGEXCEPTION_H
#define UNSUPPORTEDENCODINGEXCEPTION_H
class UnsupportedEncodingException : public zxing::Exception
{
public:
UnsupportedEncodingException();
#include <zxing/Exception.h>
namespace zxing {
class UnsupportedEncodingException : public Exception {
public:
UnsupportedEncodingException() throw() {}
UnsupportedEncodingException(char const* msg) throw() : Exception(msg) {}
~UnsupportedEncodingException() throw() {}
};
}
#endif // UNSUPPORTEDENCODINGEXCEPTION_H