Re: Volume Tracking in Cocoa without Carbon?
Re: Volume Tracking in Cocoa without Carbon?
- Subject: Re: Volume Tracking in Cocoa without Carbon?
- From: Max J Cantor <email@hidden>
- Date: Mon, 14 May 2001 18:30:19 -0400 (EDT)
A hackish way of doing this would be to simply list the directories in the
/Volumes directory. Its not the most beautiful or elegant solution, and
it wont give you the startup disk.
-Max
On Monday, May 14, 2001, at 02:48 PM, G. 'Andrew' Tapolow wrote:
Hello,
I'm looking for a method to get a list of mounted volumes (and
theoretically their icons). At the same time I am looking for something
like system even messages for disk mount and disk eject. I know where
these were in the Mac OS APIs and thus know where I could look for them in
Carbon. However, my goal is to work these into a Cocoa (obj-c) only app
through Project Builder and have had no luck finding NSObjects or the
appropriate framework through header files or documentation.
Any pointers on this would be gladly appreciated,
-G. "Andrew" Tapolow
Sr. Software Eng.
Apolo Productions
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev