diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2014-07-02 12:28:11 +0400 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2014-07-09 10:27:27 +0200 |
commit | 48607a2d0774ffe8ce87d5d611d025eb985d1f6f (patch) | |
tree | 4d85e61589ed1913f52d90402ee1dfa18b1aecfb /.gitattributes | |
parent | 3c48b918339b25fa21595d7bed6dc8b9e5ca65b0 (diff) | |
download | qtserialport-48607a2d0774ffe8ce87d5d611d025eb985d1f6f.tar.gz |
Refactor of the QSerialPortInfo for OS X
The current implementation of the qserialportinfo_mac.cpp module is a
little confused and complicated.
It is reasonable to re-write it using some ready wrappers of CFTypeRef,
CFStringRef and others objects from the private qcore_mac_p.h file.
Thus, it will allow to bypass of manual releasing of the allocated
resources (using the RAII idiom where it is possible), and also to
simplify a code.
Tested on OS X 10.8.4 with the on-board, USB PL2303, USB FTDI,
USB Android serial ports and with the USB ZTE Modem using Qt4.
Change-Id: Ibbac03a17fdd41bbaf530f863e7c690a15708bd2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions