Differences From Artifact [2f0e7153ad]:
- File src/OFFile.h — part of check-in [c01ed004b0] at 2013-04-26 22:25:13 on branch trunk — Better checks for functions used in OFFile. (user: js, size: 8008) [annotate] [blame] [check-ins using]
To Artifact [44af4002db]:
- File
src/OFFile.h
— part of check-in
[085bfc12a0]
at
2013-04-27 01:26:35
on branch trunk
— Add OFStdIOStream.
This is used for of_std{in,out,err} now instead of OFFile. (user: js, size: 7504) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
24 25 26 27 28 29 30 | #include <sys/types.h> #import "OFSeekableStream.h" @class OFArray; @class OFDate; | < < < < < < < < < | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #include <sys/types.h> #import "OFSeekableStream.h" @class OFArray; @class OFDate; /*! * @brief A class which provides functions to read, write and manipulate files. */ @interface OFFile: OFSeekableStream { int _fd; bool _atEndOfStream; } /*! * @brief Creates a new OFFile with the specified path and mode. * * @param path The path to the file to open as a string |
︙ | ︙ | |||
265 266 267 268 269 270 271 | * @brief Initializes an already allocated OFFile. * * @param fd A file descriptor, returned from for example open(). * It is not closed when the OFFile object is deallocated! */ - initWithFileDescriptor: (int)fd; @end | < < < < < < < < < < < < < < < < < < < < < < < | 256 257 258 259 260 261 262 | * @brief Initializes an already allocated OFFile. * * @param fd A file descriptor, returned from for example open(). * It is not closed when the OFFile object is deallocated! */ - initWithFileDescriptor: (int)fd; @end |