[mythtv] Looking to commit code...
David Blain
MythTv at Theblains.net
Mon Mar 26 22:25:55 UTC 2012
> From what you wrote above I interpreted that if you define an
> enum inside a service/data contract class and declare it with
> Q_ENUM then the serializer would write the enum symbol instead
> of a numeric value but that doesn't happen. You still get an integer.
I guess I should have been clearer... I played with using Q_ENUM to print
the enum name, but since I couldn't get it to use existing enums defined in
core libraries, I never finished the serialization code to property support
them.
If everyone agrees to re-locate the enums, I would be happy to add the
needed code to the serialization classes.
Sorry for any confusion,
David.
More information about the mythtv-dev
mailing list