Re: [GnomeMeeting-devel-list] [PATCH] gnomemeeting configuration system



Julien,

If you are looking for something to use to store config information, you
might consider using the PConfig class from PWLib. 

It has the following advantages:

	- it works on all platforms (including Windows)
	- it is threadsafe
	- it stores data in memory for speed
	- it implements write-through to store to disk (or the registry
in the case of Windows).

   Craig

On Sat, 13 Mar 2004 20:13:46 +0100
PUYDT Julien <julien puydt laposte net> wrote:

> Hi,
> 
> the following patch mostly strips gconf out of gnomemeeting, in favour
> of a configuration system with a simplified api.
> 
> This configuration system can then be implemented in several ways. This
> patch provides two: gconf, and glib.
> 
> The gconf backend should give no regression at all from the current
> scheme: it will find your existing configuration, and use it. Full
> compatibility. It is the default in this patch.
> 
> The glib backend is still crude. Since it doesn't use gconf, it will
> lose your current configuration in favor of the defaults, as found in
> gnomemeeting.schema. It will then save your configuration in
> /tmp/gnomemeeting.conf (every two minutes, and on gm's quit), which
> means it will be lost accross reboots. This will be worked on later.
> 
> To change backend, just modify lib/Makefile.am, and change the
> compilation  of gm_conf-gconf.c to gm_conf-glib.c (or vice versa). This
> will have to become a configure option.
> 
> This should lead to great news real soon!
> 
> Snark


-----------------------------------------------------------------------
 Craig Southeren, craigs postincrement com http://www.postincrement.com
 Post Increment - Software, Consulting and Services
 Co-founder of the only open source H.323 project
 Phone: +61 2 43654666   Fax: +61 2 43673140   Mobile: +61 417 231046
 ICQ: #86852844          MSN: craig_southeren hotmail com   
 GnuPG Public Key:  http://www.postincrement.com/pgp.txt
 Blog:              http://www.southeren.com/blog/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]