gEDA-dev: [pcb] multiple hids in one .so
Igor2
igor2 at inno.bme.hu
Mon Oct 2 00:50:27 EDT 2006
On Mon, 2 Oct 2006, DJ Delorie wrote:
>
>> Unless I write as many get_exporter_options() as many HIDs I
>> register, I have no chance to find out which exporter the GUI HID
>> wants.
>
>That's the way it is at the moment.
>
>You'd need a cookie in the hid structure itself, also, to do what you
>want.
Great, so could you add a cookie field in the HID structure and change the
get_exporter_options() to carry a pointer to the HID structure or carry
the cookie or anything that helps the code to identify the HID? :)
Btw, the loading mechanism is very nice!
More information about the geda-dev
mailing list