|
From: | Fred Kiefer |
Subject: | Re: NSWorkspace launchedApplications method |
Date: | Wed, 18 Jun 2003 00:48:46 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 |
Hi Adam, Adam Fedor wrote:
Matt Rice wrote:here is a patch i figure we should probably discuss, it implements the launchedApplications method
>
(Replying kind of late...)It's a bummer there has to be a deamon just for handling this. Is there anyway to combine it with something else? Maybe just using gdnc to spread the information around? This could be better as at least with gdnc we've thought about all the problems of where information should be sent (e.g. are applications "running" on the server, the client, the display?...)
Matt and I did discuss this as a possible solution some time ago but reached the conclusion that this functionality does not belong into base. A new idea that came to my mind since than, is to let the normal mechanism of GNUstep do the work. That is an application that wants a list of all running GNUstep application asks GDOMAP for it and is than able to use each connection to an application to get its application information. For the later step we only need to enable the GSServicesManager to get the activeApplication information from its local NSWorkspace and export this as a method. We could also implement the hide other applications call in a similar way.
I am surely not able to implement this, but for Richard it shouldn't be to hard. Of course only if this is really a sensible solution.
Fred
[Prev in Thread] | Current Thread | [Next in Thread] |