[Telepathy] tp-qt4 Observer, Approver, Handler high-level API proposal

Andre Moreira Magalhaes andre.magalhaes at collabora.co.uk
Fri Apr 3 11:50:22 PDT 2009


Simon McVittie wrote:
> On Fri, 03 Apr 2009 at 15:15:59 -0300, Andre Moreira Magalhaes wrote:
>   
>> Simon McVittie wrote:
>>     
>>> Can't we have this happen at construct time?
>>>
>>>   
>>>       
>> Yeah, we can, But I was thinking if we will be able to add filters at 
>> runtime.
>>
>> We have 2 solutions:
>> - Receive the filters in the constructor
>> - Have a addFilters instead of setFilters
>>     
>
> The model we have in telepathy-spec at the moment is that each Client name
> (which can be like "Empathy" or "Empathy._1._42" or "Empathy._1._42.Window3")
> has a fixed set of filters for its entire lifetime. If you want to change your
> filters, drop and re-add a Client name (but you can't usefully do that anyway
> if your filters are hard-coded in a .client file - activatable clients should
> have their normal set of filters in their .client file, then add additional
> transient names if necessary in order to widen the filters while running).
>
> That's a point - we need a way to release the bus name...
>
>   
Revised API attached. Added unregisterClient/s and received the filters 
at construction.

BR
Andrunko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: client-handler.h
Type: text/x-chdr
Size: 6251 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20090403/b0770e86/attachment.h 


More information about the telepathy mailing list