Thomas Zimmermann
unread,Dec 8, 2014, 9:19:48 AM12/8/14You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to br...@mozilla.com, dev-bl...@lists.mozilla.org
Hi Bruce,
Having some quietness after the workweek, I thought about your questions
on how to handle differences in the HAL protocol version.
It occurred to me that there is no reason to #ifdef different versions
of commands or notifications. The internal interfaces might need a
modification here and there, but that should be compatible with any
version of the protocol. So no #ifdef are needed.
To port to L, you should only need to modify *Cmd methods in the module
classes and the call operator of the notification's InitOp classes.
#ifdef will certainly be required here. If a version doesn't support a
certain parameter, you can put in a dummy value or work around it otherwise.
Best regards
Thomas