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/MatrixUtil.h \
$$PWD/zxing/zxing/qrcode/encoder/QRCode.h \ $$PWD/zxing/zxing/qrcode/encoder/QRCode.h \
$$PWD/zxing/zxing/WriterException.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 \ SOURCES += $$PWD/CameraImageWrapper.cpp \
$$PWD/qzxing.cpp \ $$PWD/qzxing.cpp \

View File

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