Re: Mount/Unmount events in Foundation tool
Re: Mount/Unmount events in Foundation tool
- Subject: Re: Mount/Unmount events in Foundation tool
- From: "Finlay Dobbie" <email@hidden>
- Date: Thu, 25 Jan 2007 23:45:59 +0000
On 25/01/07, James Bucanek <email@hidden> wrote:
I have a Foundation tool (daemon) that I would very much like to get volume mount and unmount events. I can't get NSWorkspaceDidMountNotification because I can't use NSWorkspace.
Is there some other event I can subscribe to, or is there a way of subscribing to Carbon events for the same action from within a Cocoa app? I already checked NSDistributedNotificationCenter, and it doesn't fire any useful events on volume mount/unmount.
You might want to look at the DiskArbitration framework.
-- Finlay
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden