44
edits
No edit summary |
No edit summary |
||
Line 50: | Line 50: | ||
==== DBus on Linux and Android ==== | ==== DBus on Linux and Android ==== | ||
There are many ways to access DBus from code. On linux, gecko already uses the glib bindings for battery information on linux ([ | There are many ways to access DBus from code. On linux, gecko already uses the glib bindings for battery information on linux ([ https://github.com/doublec/mozilla-central/blob/master/hal/linux/UPowerClient.cpp UPowerClient.cpp]). | ||
Android uses the low level DBus bindings, mainly made for writing language binding systems. This tends to create very complicated code, which even the DBus maintainers warn developers off of (See [ | Android uses the low level DBus bindings, mainly made for writing language binding systems. This tends to create very complicated code, which even the DBus maintainers warn developers off of (See [http://dbus.freedesktop.org/doc/api/html/ DBus API Documentation]). | ||
On B2G, we'd like to avoid tying glib into the gecko build. We'll be using the [ | On B2G, we'd like to avoid tying glib into the gecko build. We'll be using the [http://gitorious.org/dbus-cplusplus dbus-c++] library on that platform in order to keep the dbus code simple and clean. | ||
=== Links === | === Links === |
edits