diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
| commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
| tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebKit/mac/Misc/WebNSFileManagerExtras.h | |
| parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
| download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 | |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebKit/mac/Misc/WebNSFileManagerExtras.h')
| -rw-r--r-- | WebKit/mac/Misc/WebNSFileManagerExtras.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 |
