jens@0: // jens@0: // FileUtils.h jens@0: // MYUtilities jens@0: // jens@0: // Created by Jens Alfke on 1/14/08. jens@0: // Copyright 2008 Jens Alfke. All rights reserved. jens@0: // jens@0: jens@0: #import jens@0: jens@0: jens@0: FOUNDATION_EXPORT OSStatus PathToFSRef( NSString *path, FSRef *outFSRef ); jens@0: FOUNDATION_EXPORT OSStatus FSRefToPath( const FSRef *fsRef, NSString **outPath ); jens@0: jens@0: FOUNDATION_EXPORT BOOL CheckOSErr( OSStatus err, NSError **error ); jens@0: jens@0: FOUNDATION_EXPORT NSString* AppSupportDirectory(void);