Re: What is the preferred visual notification method from a daemon?
Re: What is the preferred visual notification method from a daemon?
- Subject: Re: What is the preferred visual notification method from a daemon?
- From: Kevin Van Vechten <email@hidden>
- Date: Tue, 20 Nov 2001 02:09:25 -0800
Hello Kevin,
There are a couple choices here, which I think differ depending on
whether your daemon will run on Darwin or Mac OS X.
For Darwin, you should investigate the user notification library,
Libunc (cvs path is /Libraries/Apple/UserNotification/) though I'm not
really sure what options there are given that Darwin doesn't have a
GUI. The darwin-userlevel list is a good place to talk about Libunc.
For Mac OS X, you should take a look at CFUserNotification.h which
probably does everything need, but that's better discussed on a
different mailing list.
Also I think everything you need is in the user level, so you probably
don't need the darwin-kernel list for this one.
-Kevin Van Vechten
On Monday, November 19, 2001, at 02:04 AM, Kevin Bohan wrote:
Hi,
I am writing daemon that shuts down the system in response to an
external event. The shutdown is performed by a daemon process. I don't
really have a UI for this app, except for a pref pane to configure
settings.
I would like the user to be "notified" prior to shutdown. By notify, I
mean a visual notification message/dialog pop-up, whatever. As I daemon
I know I cannot directly show any UI elements. What is the preferred
method of displaying a user-notification in this case.
Kirby
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
_______________________________________________
darwin-kernel mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/darwin-kernel