Re: [Planner Dev] Patch to add an abstraction layer between Planner and GConf



On mån, 2004-08-09 at 02:26 +0200, Mikael Hallendal wrote:
> Hi,

Hi!

> Here is a patch to make an abstraction layer between the application and
> GConf. The idea is to have planner-conf.h as a common header file and
> planner-conf-gconf.c and planner-conf-windows.c that implements the
> functions in the header file. At compile time either planner-conf-
> gconf.c or planner-conf-windows.c is linked in to provide the
> implementation of the functions.
> 
> The API mimics GConf and I've only added the functions needed so far,
> for example:
> 
> gboolean foo = planner_conf_get_bool ("/general/last_dir", error);
> 
> So, keep in mind that you don't have to add "/apps/planner", that is
> added within planner-conf-gconf.c.
> 
> So Richard, can I commit this?

Yep, looks very nice, thanks :)

/Richard

-- 
Imendio HB, http://www.imendio.com/




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