[Telepathy] TransportHander API proposal
mikhail.zabaluev at nokia.com
mikhail.zabaluev at nokia.com
Tue Apr 15 06:22:21 PDT 2008
Hi,
>-----Original Message-----
>From: telepathy-bounces at lists.freedesktop.org
>[mailto:telepathy-bounces at lists.freedesktop.org] On Behalf Of
>ext Simon McVittie
>Sent: Tuesday, April 15, 2008 2:55 PM
>To: telepathy at lists.freedesktop.org
>Subject: Re: [Telepathy] TransportHander API proposal
>
>I'm not quite sure why the values in Mardy's Conditions draft are
>strings rather than variants (in practice I expect a lot of conditions
>are going to be boolean) but if we introduce a convention that boolean
>conditions always have value "0" or "1" it should be OK.
Well, it was me who suggested to make them strings, to simplify
configuration file parsing. But if I'm outvoted 1:2, they can be variants.
>I think a reasonably well thought-out list of well-known keys
>is needed.
Yes, and you had a good start in an earlier draft.
>Mardy's draft doesn't cover all the use cases mentioned in the
>rationale (negating rules to have an account which is
>connected when not
>at work), which is amusing... perhaps someone can think of a
>more elegant way
>to achieve the same result?
Our current thinking includes a connectivity plugin which handles conditions such as
(imagined account/profile syntax similar to param- convention):
condition-conn-ap = WORK,HOME,"wacky name"
, where the gory syntax in the value is left for the plugin to parse and reason about.
Best regards,
Mikhail
More information about the Telepathy
mailing list