]> sigrok.org Git - pulseview.git/commitdiff
Add serial_num/connection_id handling and save/restore last device
authorSoeren Apel <redacted>
Mon, 29 Sep 2014 21:31:55 +0000 (23:31 +0200)
committerBert Vermeulen <redacted>
Mon, 29 Sep 2014 21:37:05 +0000 (23:37 +0200)
This patch performs several correlated changes:
- Make use of sdi->serial_num and sdi->connection_id in
format_device_title()
- Add a Device::get_device_info() method that returns a map
with all device identification information that's available
- Add a DeviceManager::find_device_from_info() method which
returns the best match to a given set of device infos
- Add save/restore code to the MainWindow class that makes
use of the aforementioned maps to identify the currently
selected device.


No differences found