ella-animation team mailing list archive
-
ella-animation team
-
Mailing list archive
-
Message #00055
configuration system
Hi,
I have just searched how we should implement a configuration system.
Here is a sample of configuration file :
<config>
<option field="page_height" value="int">550</option>
<option field="page_width" value="int">800</option>
<option field="background_color" value="color">#ffffffff</option>
</config>
Do you think it is good ?
Otherwise, yesterday, we said we will use libxml. But there is already
an API in glib to do that (ok, it is quite simple, but we don't need a
big library).
http://library.gnome.org/devel/glib/stable/glib-Simple-XML-Subset-Parser.html
http://blogs.gnome.org/tthurman/2008/02/14/gmarkup/
I have just done some test, and it is quite easy, we will avoid to add a
new dep to the project (and if we want a cross-distro software, it is
better I think ^^).
So, do you agree to use this library ?
Lucas