Re: Some questions...
Re: Some questions...
- Subject: Re: Some questions...
- From: Paolo Manna <email@hidden>
- Date: Fri, 16 May 2003 05:32:05 +0200
On Thu, 15 May 2003 23:40:28, Daniele M. wrote:
I would to know:
- the remain free space of an hard disk
- the list of devices (hard disk, removable media)
- the kind of a file ("quick time movie","text edit document"...)
- the file privilegies (can i set these privilegies? how?)
- the file comments (and set it)
- is locked or not? (and set it)
- the path of a file
- the owner
- the group
- the attached app
Assuming that, as it is Cocoa List, you're asking about getting them
from Cocoa, then the relevant classes that do most of the work you ask
for (possibly not all, file Finder comments could be an example, didn't
check further) are NSWorkspace and NSFileManager. In some cases, why
not use just the standard C calls like stat()?
Cheers
Paolo
_______________________________________________
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.