mirror of
https://github.com/marciot/mac-tip.git
synced 2025-07-29 12:24:27 +00:00
Added explanation documents.
This commit is contained in:
27
mac-cpp-source/utils/FileLib.h
Normal file
27
mac-cpp-source/utils/FileLib.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* File Utilities (System 7 and above)
|
||||
*
|
||||
* by Thomas Tempelmann, macdev@tempel.org
|
||||
*/
|
||||
|
||||
#include <Devices.h>
|
||||
|
||||
#pragma push
|
||||
#pragma cplusplus on
|
||||
|
||||
Boolean FSpIsAlias (FSSpec &spec);
|
||||
OSErr FSpResolveAlias (FSSpec &spec); // L<>st ggf. Aliase auf
|
||||
|
||||
DrvQElPtr FindDrvQ (short drv);
|
||||
short FindVolByDriveNum (short drvNum);
|
||||
|
||||
OSErr GetSysVolume (short *vRefNum); // gets the boot volume
|
||||
|
||||
OSErr FindInFolderByCreator (short vRefNum, long dirID, OSType creator, OSType fileType, FSSpec *foundSpec);
|
||||
OSErr FindOnDiskByCreator (short vRefNum, OSType creator, OSType fileType, FSSpec *foundSpec);
|
||||
|
||||
OSErr FindOpenFileByTypeAndCreator (OSType type, OSType creator, FSSpec *itsSpec);
|
||||
|
||||
#pragma pop
|
||||
|
||||
// EOF
|
Reference in New Issue
Block a user