[wx-dev] contribution wxXMLConfig class

Vadim Zeitlin vadim at wxwindows.org
Sun Mar 4 13:31:45 PST 2007


On Mon, 19 Feb 2007 22:26:01 -0500 Nicolas Dextraze <nicolas.dextraze at dexdo.com> wrote:

ND> I would like to contribute a wxXMLConfig class.

 Thanks for your contribution!

ND> It is mainly based on wxFileConfig code and it use wxXmlDocument and 
ND> wxXmlNode for internals.
ND> 
ND> You can access the files at:
ND> 
ND> http://www.nicdex.com/dev/files/wxXMLConfig.cpp
ND> http://www.nicdex.com/dev/files/wxXMLConfig.h

 Unfortunately the source is not overly commented so it's not really clear
how does it work, could you please show what kind of files it
generates/uses?

 Also from looking at the code it seems like it shares quite a few bits of
code with wxFileConfig, would it be possible to avoid duplicating them?

 Finally, to include this class in wxWidgets we really need unit tests for
it, could you please write them (and check that they pass :-)? You can base
them on the existing wxFileConfig tests.

 Thanks,
VZ





More information about the wx-dev mailing list