Re: API update proposal: cancellation notification



On Mon, 2011-01-24 at 14:28 +0100, Guillaume Emont wrote:

> d/ Take a GCancellable as parameter for the operation calls. These
> already provide a complete API, as well as a "cancelled" signal. For
> consistency, the _cancel() call would be deprecated. If implementing
> this solution, it would be consistent to implement (b) as well.
> Pros:
>  - already using an existing framework we wouldn't have to debug, and
> some programmers would already know it.
> Cons:
>  - significant API change, changing the way a cancellation is done,
> and adding a parameter to operations.
> 

That looks like a very good idea :)

Regards,

--
Lionel



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