Re: GObject Introspection and GrlKeyIDs



On 15 July 2010 08:01, Iago Toral <itoral igalia com> wrote:
>
> On Thu, 15 Jul 2010 00:10:18 +0200, Simón Pena <spenap gmail com> wrote:
>> Hi,

[...]

>> The option which comes to my mind is to provide functions to access
>> those keys. But I don't know how that option fits with the goal Juan
>> mentioned in the commit log:
>>
>> "One of the initial goals of Grilo was that metadata keys should be
>> dynamic: besides having a pre-defined set of keys, both users and
>> plugin's developers should be able to add their own keys."
>>
>> What do you suggest to handle this?
>
> So you mean having something like grl_metadata_key_<insert-metadata-key-name-here>()
> that would return the actual GParamSpec for that metadata-key? I guess that
> dos not fit very well, Juan?

Yes, I meant that, and I was afraid of that: doesn't look like the
extensible and dynamic approach we were following: how would you add
another function to retrieve a key you just added?


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