[Telepathy] tp-qt4 high level channel API sketch
George Goldberg
grundleborg at googlemail.com
Fri Jan 30 07:31:52 PST 2009
On Fri, Jan 30, 2009 at 2:37 PM, Andre Moreira Magalhaes
<andre.magalhaes at collabora.co.uk> wrote:
> So we are now in time to develop a high-level channel API for tp-qt4,
> this API is meant to be simple but extensible, allowing custom channel
> types to be constructed
>
> So here is a sketch of this high-level API:
>
> class Channel:
> {
> public:
> string channelType();
> uint targetHandle();
> uint targetHandleType();
>
> // indicate whether this channel can be closed, contact list cannot be
> closed for example
> bool mayClose()
> bool isClosed()
> PendingOperation *requestClose()
maybe just PendingOperation *close() ?
otherwise looks great to me.
---
George Goldberg
More information about the Telepathy
mailing list