Notification for mount / unmount
Notification for mount / unmount
- Subject: Notification for mount / unmount
- From: Martin Hairer <email@hidden>
- Date: Sat, 20 Aug 2005 21:58:55 +0100
Hi, I would like my app to be notified when a volume is mounted /
unmounted.
It turns out that it works fine (on Tiger at least) if I listen for
distributed notifications
of type "com.apple.sidebarlists.503.systemitems". However, this
doesn't seem to
be documented anywhere. So my questions are:
1. Is this the proper way of doing this?
2. Do I have some guarantee that this will work in future versions of
MacOS
despide the fact that it doesn't seem to be documented?
3. If not, what is the proper way?
Regards,
Martin
HairerSoft
http://www.hairersoft.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden