On Wed, Nov 12, 2008 at 6:22 PM, Maggie Zhang <[EMAIL PROTECTED]> wrote:
> Originally, I need to distinguish logging out from shutting down or
> restarting. Since there isn't an easy way to do that, I am thinking to find
> a way to tell only when the user is logging out and let the machine do
> whatever it wants when shutting down or restarting.

Take a look here:

http://developer.apple.com/documentation/MacOSX/Conceptual/BPMultipleUsers/Concepts/UserSwitchNotifications.html#//apple_ref/doc/uid/20002210-CJBJDAGF

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to