diff options
author | Denis Shienkov <scapig@yandex.ru> | 2012-05-27 22:30:05 +0400 |
---|---|---|
committer | Denis Shienkov <scapig@yandex.ru> | 2012-05-29 20:58:40 +0200 |
commit | bd5a7077fafbb73424366d6eadb205a9c4ae2ea4 (patch) | |
tree | 69a049f78028b06f41f83ee48c3e2f1f067a4553 /examples/examples.pro | |
parent | c4dd209ca069c90384928d6c2fb1aa641846d428 (diff) | |
download | qtserialport-bd5a7077fafbb73424366d6eadb205a9c4ae2ea4.tar.gz |
For SerialPortEngine introduced a new method for decoding system errors
A new method decodeSystemError() converts the platform-dependent system
error to common error enum as SerialPort::PortError. This allows the
remove redundant manually check on the valid of the input parameters,
i.e. fully trust this by system calls.
Change-Id: Idf7b3cfa2aae51312e9c9aac771044a2366dcdcb
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Denis Shienkov <scapig@yandex.ru>
Diffstat (limited to 'examples/examples.pro')
0 files changed, 0 insertions, 0 deletions