|
From: | Richard Frith-Macdonald |
Subject: | Re: Graceful termination again |
Date: | Mon, 23 Jan 2006 22:01:15 +0000 |
On 23 Jan 2006, at 21:36, David Ayers wrote:
Richard Frith-Macdonald schrieb:We could finish getting the NSWorkspace class to do what it was originally designed to do ... provide the list of launched apps assupplied by the workspace manager. That would be a small modification to NSWorkspace and to GWorkspace. However, we would want some fallbackoption for if/when GWorkspace is not running. Perhaps a minimalworkspace manager daemon, or perhaps NSWorkspace could write to a smalldatabase (eg a plist file in a temporary directory) to maintain thestate information. The latter has the advantages of not requiring anadditional daemon to run (I have no problem with daemons, but I knowmany people have objections to them) and is persistent if the workspacemanager is restarted (we need that). The former has the advantages that it would provide a testbed and reference implementation for workspace managers. I suppose we could do both.I could very well be missing something obvious but I seems to me that gdnc would be a good candidate to provide this service.
If we want to put the functionality into an existing daemon, I think gpbs would be the best option, as it is part of the gui/back libraries (ie related to applications) while gdnc provides a service for the base library.
However, if we want to provide a reference implementation that developers of workspace managers can look at, I think a standalone process would be better than attaching the functionality to an existing daemon... and if we don't want to do that, my preference would be not to bother at all ... just use an on-disk database of the information we need, and modify GWorkspace as our standard workspace manager.
[Prev in Thread] | Current Thread | [Next in Thread] |