From 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:05:15 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- WebKit/mac/Misc/WebNSFileManagerExtras.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'WebKit/mac/Misc/WebNSFileManagerExtras.h') diff --git a/WebKit/mac/Misc/WebNSFileManagerExtras.h b/WebKit/mac/Misc/WebNSFileManagerExtras.h index aaaf0a7..d6e26ee 100644 --- a/WebKit/mac/Misc/WebNSFileManagerExtras.h +++ b/WebKit/mac/Misc/WebNSFileManagerExtras.h @@ -34,8 +34,6 @@ @interface NSFileManager (WebNSFileManagerExtras) -- (BOOL)_webkit_createDirectoryAtPathWithIntermediateDirectories:(NSString *)path attributes:(NSDictionary *)attributes; -- (BOOL)_webkit_createFileAtPathWithIntermediateDirectories:(NSString *)path contents:(NSData *)contents attributes:(NSDictionary *)attributes directoryAttributes:(NSDictionary *)directoryAttributes; - (void)_webkit_backgroundRemoveFileAtPath:(NSString *)path; - (void)_webkit_backgroundRemoveLeftoverFiles:(NSString *)path; - (BOOL)_webkit_removeFileOnlyAtPath:(NSString *)path; @@ -45,3 +43,12 @@ @end + +#ifdef BUILDING_ON_TIGER +@interface NSFileManager (WebNSFileManagerTigerForwardCompatibility) +- (NSArray *)contentsOfDirectoryAtPath:(NSString *)path error:(NSError **)error; +- (BOOL)moveItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath error:(NSError **)error; +- (BOOL)removeItemAtPath:(NSString *)path error:(NSError **)error; +- (NSDictionary *)attributesOfFileSystemForPath:(NSString *)path error:(NSError **)error; +@end +#endif -- cgit v1.1