Re: [PATCH 0/2] Synchronous versions for asynchronous functions
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: grilo-list <grilo-list gnome org>
- Subject: Re: [PATCH 0/2] Synchronous versions for asynchronous functions
- Date: Wed, 14 Jul 2010 12:20:05 +0200
On Tue, 2010-07-13 at 08:22 +0200, Iago Toral wrote:
> Anyway, I am not against having this either. I still don't see a very
> good point
> for having sync versions of the APIs but I agree it should not be a
> lot of work
> and it might be useful in some situations, even if they are not many,
> so if
> you are willing to do this I am ok with it.
So anyone is strongly against it, I'll add this synchronous functions.
But before continuing, are you OK with using grl_media_source_browse()
for synchronous function and grl_media_source_browse_async() for
asynchronous version?
For what I seen so far, seems the standard way is suffixing asynchronous
functions with _async() word.
If it is OK, I'll do it for all functions having both synchronous and
asynchronous versions, and also I'll update plugins and test-ui.
Nevertheless, as only the async versions are the ones that plugins must
implement, i'll keep the fields names in GrlMediaSourceClass and
GrlMetadataSourceClass as they are.
J.A.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]