Getting disk mount notification with Foundation tools
Getting disk mount notification with Foundation tools
- Subject: Getting disk mount notification with Foundation tools
- From: Mike Vannorsdel <email@hidden>
- Date: Sat, 08 Jun 2002 00:53:42 -0600
I have a Foundation tool and I need to get disk mounting notifications.
Since it's a Foundation tool, I can't use AppKit's NSWorkspace methods.
I've tried linking to AppKit and registering for the notification, but
didn't receive the notification (or any workspace notifications for that
matter). I did get a valid NSWorkspace object which did have a valid
notification center. But the instance of NSWorkspace was not the same as
the "real" AppKit applications were getting, which probably explains the
lack of any notifications.
So how do I get notifications of mounted disks from Foundation? This tool
is also a daemon (forks), if that matters.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.