Device probing for DownloadWidget
jefdriesen at telenet.be
Sun Sep 8 11:36:29 UTC 2013
On 08-09-13 15:39, Danilo Cesar Lemes de Paula wrote:
> I've a WIP version of the device probe working for linux and I would
> like a third/forth/... opinion (already discussed this subject with Tomaz).
> The device probing code for the Gtk version is sitting on
> linux.c/macos.c/windows.c and declared in display-gtk.h. It was written
> using gtk "helpers" to ease filesystem access, etc.
> I've wrote an equivalent method using Qt but, since it's c++ I had to
> put it in a new file.
> the current code is in my wip branch
> git at github.com:danilocesar/subsurface.git wip
> Drop some comments here or using the github's review tool.
A while ago, I wrote some "reference" code for libdivecomputer to enumerate the
serial ports. At the moment it's not part of the public api yet, but maybe you
can already re-use some of it for subsurface?
More information about the subsurface