FileUtils.h
author Jens Alfke <jens@mooseyard.com>
Wed Sep 02 08:41:25 2009 -0700 (2009-09-02)
changeset 35 5cab3034d3a1
permissions -rw-r--r--
10.6 compatibility: Fix some new compiler warnings, and work around apparent regressions in NSTask and -stringByStandardizingPath.
     1 //
     2 //  FileUtils.h
     3 //  MYUtilities
     4 //
     5 //  Created by Jens Alfke on 1/14/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 
    12 FOUNDATION_EXPORT OSStatus PathToFSRef( NSString *path, FSRef *outFSRef );
    13 FOUNDATION_EXPORT OSStatus FSRefToPath( const FSRef *fsRef, NSString **outPath );
    14 
    15 FOUNDATION_EXPORT BOOL CheckOSErr( OSStatus err, NSError **error );
    16 
    17 FOUNDATION_EXPORT NSString* AppSupportDirectory(void);