author | Jens Alfke <jens@mooseyard.com> |
Sat Mar 28 09:36:46 2009 -0700 (2009-03-28) | |
changeset 20 | 5a71993a1a70 |
permissions | -rw-r--r-- |
jens@0 | 1 |
// |
jens@0 | 2 |
// FileUtils.h |
jens@0 | 3 |
// MYUtilities |
jens@0 | 4 |
// |
jens@0 | 5 |
// Created by Jens Alfke on 1/14/08. |
jens@0 | 6 |
// Copyright 2008 Jens Alfke. All rights reserved. |
jens@0 | 7 |
// |
jens@0 | 8 |
|
jens@0 | 9 |
#import <Foundation/Foundation.h> |
jens@0 | 10 |
|
jens@0 | 11 |
|
jens@0 | 12 |
FOUNDATION_EXPORT OSStatus PathToFSRef( NSString *path, FSRef *outFSRef ); |
jens@0 | 13 |
FOUNDATION_EXPORT OSStatus FSRefToPath( const FSRef *fsRef, NSString **outPath ); |
jens@0 | 14 |
|
jens@0 | 15 |
FOUNDATION_EXPORT BOOL CheckOSErr( OSStatus err, NSError **error ); |
jens@0 | 16 |
|
jens@0 | 17 |
FOUNDATION_EXPORT NSString* AppSupportDirectory(void); |