[Patch]: frameworkd, otimed subsystem.
charlie at openmoko.org
Tue Sep 30 14:01:42 CEST 2008
We are going to remove the otimed service from the framework anyway :)
During today's meeting with Mickey, Daniel and Jan, it has been decided
that we don't need the time service after all.
The time subsystem was mostly here because I though it could be useful
to test the events subsystem. But in fact it doesn't make so much sense
(at least for the moment.)
So yes please, use the native API for time functions. Sudharshan thanks
for the patch anyway. Sorry we are probably not going to use it.
On Tue, 2008-09-30 at 17:17 +0530, Sudharshan S wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Daniel Willmann wrote:>
> > IMHO this whole time interface should not be used. We are just
> > encapsulating gettimeofday() in a dbus call where every programming
> > language should have some native method of getting the time.
> > What benefit do you see in using dbus for this?
> I agree. Using the native API is better than DBus. Maybe I missed
> something, but is there a reason why it exists? (GetLocalTime sounded
> confusing for me)
> Anyway, with regards to the patch, GetLocalTime returns the current time
> if no arguments are given. But this conflicts with the expected DBus
> input signature. So invoking GetLocalTime() without arguments over DBus
> wouldn't work (consequently no easy way to get current time). Hence, I
> thought it was better to move this to a separate method instead if at
> all some one wants to get the current time over DBus :D. The docstring
> in GetLocalTime was the source of confusion for me. Sorry about that :)
> Sudharshan S
> Blog : http://www.sudharsh.wordpress.com
> IRC : Sup3rkiddo @ Freenode, Gimpnet
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> smartphones-standards mailing list
> smartphones-standards at linuxtogo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the smartphones-standards