Hi Rui, On 28 August 2012 15:04, Wang Rui <[email protected]> wrote: > So it will be good to maintain a version/wrapper map, I think. Use can > specify a specified version string (maybe something like > rui-osgtext-rev3) while reading a file and the plugin will try to find > wrappers corresponding to this version and use it to load files.
Perhaps we can distill it further and have map<libraryname,soversion> then when a wrapper checks for the version it can ask for a specific libraryname string. >> When you say at the beginning of each file, what do you mean? >> > > I just mean that the version string can be stored in the saved file, > too, so it will be used automatically while reading. A boolean flag > will be also used to indicate the feature is enabled or disabled for > backward-compatibility. For backwards compatibility I would have thought we'd just have the main OSG soversion stored in the file, with the new feature we'd have a string and soversion pair per library for the new rev. I can bump the OSG so version number so we can provide backwards compatibility once we introduce the new pair<library,soversion> into the file. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
