Re: [PATCH] config: rework code to use GKeyFile instead of GHashTable+GValue
- From: "Juan A." Suárez Romero <jasuarez igalia com>
- To: grilo-list gnome org
- Subject: Re: [PATCH] config: rework code to use GKeyFile instead of GHashTable+GValue
- Date: Tue, 18 Jan 2011 16:40:47 +0100
On Tue, 2011-01-18 at 15:17 +0000, Iago Toral wrote:
>
> yes, at the moment we are forcing the backend and that is something
> that can be improved in the future, however, notice that the API
> does
> not expose the GKeyFile in any significant way, so in the future we
> should be able to extend and enhance the current system to let users
> select other backends without big problems.
>
What about defining GrlConfig as an abstract base class, and then
implement a child using GKeyFile?
Then, anyone can add another backend just inheriting from GrlConfig and
reimplementing the virtual functions.
J.A.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]