Hi Samisa, Yes, that's exactly what I'm changing; I'm preparing a patch as Dimuthu suggested.
Cheers, Sérgio --- On Wed, Apr 23, 2008 at 5:43 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > Sérgio Gomes wrote: > > > Hi Dimuthu, > > > > I'm developing the patch right now (I'm now able to generate the enum > > declaration) and I found that I have two options to proceed: > > > > 1 - Add specialized getters/setters for enumerations, while keeping > > the base type as a string. They would be named something like > > adb_<property>_get_<property>_enum and > > adb_<property>_set_<property>_enum. I'd have to do the conversion > > between the C enum struct and the stored string within the function > > (basically with a big if/else chain). This solution would preserve > > backwards compatibility and wouldn't require any changes to the java > > code, just XSL changes. > > > > > > Do you mean to say you are changing the style sheets used by the code > generator. > > Samisa... > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
