Re: LibUnique as blessed dependency
- From: Johan Bilien <jobi via ecp fr>
- To: Alex Jones <alex weej com>
- Cc: Havoc Pennington <hp redhat com>, GNOME Desktop Devel <desktop-devel-list gnome org>
- Subject: Re: LibUnique as blessed dependency
- Date: Thu, 12 Jul 2007 22:42:23 +0200
On Thu, Jul 12, 2007, Alex Jones wrote:
> Is there any documentation on the approach used by Maemo? I had heard
> about this a long time ago but never managed to find any substantial
> information on it.
Not sure about any doc on this :(
But basically it works as Havoc suggested:
. each app was meant to implement a top_application method (though in
practice none does, but it doesn't really matter)
. the desktop file references both an Exec (for legacy) and a X-Service,
which is the service it register
. wherever an app is launched (application menu, mime-handling library
...), if the .desktop file has this X-Service, the method is called (via
osso_rpc_run). If not it falls back to Exec.
. the app registers the service it declares on startup, and exit if the
name is already owned.
--
Johan Bilien
<jobi via ecp fr>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]