Account.Interface.Conditions
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
Maemo 5 uses various extended interfaces beyond what's in telepathy-spec, including those in:
http://git.collabora.co.uk/?p=telepathy-mission-control.git;a=tree;f=xml;hb=master
One of those is Account.Interface.Conditions, used by account creation tools in Maemo to set conditions on accounts, so that the connectivity plugin in OMC (using Maemo's libconic) can act only on accounts that need Internet access (i.e. everything except telephony and possibly telepathy-salut).
In theory this interface can support arbitrary conditions, but in practice the only one MC knows how to satisfy is "ip-route", which causes it to use the connectivity plugin.
I think this is rather overengineered for what it currently does; meanwhile, Alberto thinks it's insufficient for what it was meant to do, which was to support arbitrary connectivity conditions, like being on a particular VPN.
(Relatedly, Mission Control's connectivity-plugin C API seems not to be ideal - the division of responsibility between MC and the plugin is not at all clear - so the code needs rethinking anyway.)