[gtkada] configuration files

Stephen Leake stephen_leake at acm.org
Thu May 30 01:50:55 CEST 2002


Preben Randhol <randhol at pvv.org> writes:

> Aidan Skinner <aidan at velvet.net> wrote on 29/05/2002 (14:16) :
> > GNOME has a configuration database based around GConf
> > (http://www.gnome.org/projects/gconf/), I'm vaugely working on
> > bindings to it in my CopiousFreeTime(tm)[1].
> 
> We could use this, but I think as with the Windows registry it should be
> a alternative package. Perhaps one pacakge for ini files and one package
> for registry dealing where for window we use window registry and for
> unix we use gconf. Then the developer can choose which package he wants
> to use.

I think a crucial difference between the "ini" package and the gconf
package should be concurrent access by multiple processes. Since gconf
supports that, let's _define_ the ini package to _not_ support it. That
helps define when it is useful, and greatly simplifies the
implementation (a simple tree structure in memory works fine).

For my current needs, access by multiple processes is a _bad_ thing :).

-- 
-- Stephe





More information about the gtkada mailing list