[Telepathy] Account and AccountManager objects
mikhail.zabaluev at nokia.com
mikhail.zabaluev at nokia.com
Fri Feb 1 02:51:13 PST 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, January 29, 2008 3:42 PM
>To: telepathy at lists.freedesktop.org
>Subject: Re: [Telepathy] Account and AccountManager objects
>
>Account_Condition: s
> A condition that might be required for an account to be available.
> These may be any UTF-8 string, but they SHOULD be short
>strings of ASCII
> letters, digits, hyphen/minus characters and dots, starting
>with a letter
> or digit.
>
> All conditions not containing a dot are reserved for the Telepathy
> specification. Third-party conditions SHOULD be namespaced
>by a reversed
> domain name, e.g. "com.example.vpn-enabled.head-office".
A string with certain conventions is good enough, but I think there are two attributes to every condition that might be worthy to separate. One is the condition type, that could tell a client that this condition is their domain.
Another is the unique tag as such (within the type namespace). For example, {"org.whatever.vpn", "MyOfficeVPNAccount"}.
It's similar to detailed GObject signals, or XML namespaces.
I think a (type, name) condition tuple could be more convenient than a syntactic convention on the single ID string, that the clients would have to parse in order to filter conditions interesting to them.
My two cents,
Mikhail
More information about the Telepathy
mailing list