org.freesmartphone.GSM.Call changed

Michael 'Mickey' Lauer mickey at vanille-media.de
Thu May 15 18:49:51 CEST 2008


On Wednesday 14 May 2008 08:40:23 Heikki Paajanen wrote:
> Hi Mickey,
>
> >  ListCalls() -> a{i}, which gives you all valid indices for calls
> > currently known to the system,
>
> should "a{i}" ( declared "a(i)"  in git ;) be "ai"?
>
> >  and then
> >
> >  GetStatus(index) -> ( index, status, properties ) which has the same
> > signature as the CallStatus.
>
> Why the same interface? Wouldn't ( status, properties ) be enough?

It would be enough, however I find it very appealing to have the signature of 
the GetStatus call match the signature of the Status signal. That way, if 
your client calls the dbus method asynchronously, it can use the same 
callback both for the method answer as well as the signal.

:M:



More information about the smartphones-standards mailing list