On Mon, May 26, 2014 at 5:07 PM, Garvan Keeley <[email protected]> wrote: > Hi,
Hi Garvan, > looking for recommendations on implementing geoclue2 provider in Firefox. Glad you are looking into this. :) > There is the pure DBUS method in the where-am-i example, or one can use the > geoclue interface header to get a nicer-looking interface. The former has an > advantage as it has minimal build dependencies, and can easily query at > runtime if geoclue2 is available, and if so, run the DBUS query service for > it. The headers for the wrapper are not installed but the interface xml is so recommend way right now is to generate bindings from this interface yourself. If glib depenency isn't an issue, I'd suggest you use gdbus-codegen to generate the bindings just like geoclue is doing as part of your build. There has been some discussion about geoclue providing a high-level API in a library but nobody has had the time to implement that yet: https://bugs.freedesktop.org/show_bug.cgi?id=68658 -- Regards, Zeeshan Ali (Khattak) ________________________________________ Befriend GNOME: http://www.gnome.org/friends/ _______________________________________________ GeoClue mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/geoclue
