00001
00014 #ifndef NSFILEHANDLE_H_INCLUDED
00015 #define NSFILEHANDLE_H_INCLUDED
00016
00017 #include <Cacao/nsobject.h>
00018
00020 @class NSString, NSData ;
00021
00027 @interface NSFileHandle : NSObject
00028 {
00030 FILE * file_pointer ;
00031 }
00032
00043 + fileHandleForReadingAtPath: (NSString *) path ;
00044
00052 + fileHandleForWritingAtPath: (NSString *) path ;
00053
00061 + fileHandleForUpdatingAtPath: (NSString *) path ;
00062
00069 - initFileHandle: (FILE *) fp ;
00070
00076 - (void) dealloc ;
00077
00084 - (NSData *) readDataToEndOfFile ;
00085
00086 @end
00087
00088 #endif
00089