Re: [tuxdroid-user] [tuxdroid-svn] Duplicate enum
Status: Beta
Brought to you by:
ks156
From: neimad <ror...@gm...> - 2007-06-16 17:37:57
|
"David Bourgeois" <da...@ja...> writes: [...] > Now that I pointed out the difference, improvements on this are > welcomed of course. > If I rewsrite the usb files as a usb module, usb_tux_connection_t > should be private to the module and should be the basis for the USB > interface as it's part of the functionalities of the USB dongle. This > is hardware driven so should be quite static. Making usb_tux_connection_t private would help indeed ;-) As for the usb module, I'm all for it - see my post <87v...@gm...> (in thread "Daemon to USB connection"). > On the other hand, we do whatever we want with tux_connection_t. If we > redesign the structures, we should also find a way to organize all > functions supported by the daemon, and these included. Btw, aren't these _commands_ (tux_connection_t, at least) ? And thus, shouldn't they be named tux_cmd_t or something ? Right now they sound like connection operations only, whereas they're not. And this will be even more true in the future, with more high-level operations, as you describe. (Not high priority, so this may be postponed to after we've cleaned up the usb stuff.) Damien |