Differences From Artifact [33109fbbdb]:
- File src/OFFile.h — part of check-in [c492171577] at 2012-08-20 08:14:39 on branch trunk — A few renames in OFFile. (user: js, size: 6300) [annotate] [blame] [check-ins using]
To Artifact [32d36c992f]:
- File
src/OFFile.h
— part of check-in
[440e95fd4a]
at
2012-09-12 17:27:53
on branch trunk
— Split -[OFStream fileDescriptor].
It is now -[fileDescriptorForReading] and -[fileDescriptorForWriting].
The split was necessary as some stream types (e.g. OFProcess) don't have
a single file descriptor, but two. This allows to use those stream types
with OFStreamObserver as well. (user: js, size: 6288) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
37 38 39 40 41 42 43 | #endif /** * \brief A class which provides functions to read, write and manipulate files. */ @interface OFFile: OFSeekableStream { | | | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | #endif /** * \brief A class which provides functions to read, write and manipulate files. */ @interface OFFile: OFSeekableStream { int fd; BOOL closable; BOOL atEndOfStream; } /** * \brief Creates a new OFFile with the specified path and mode. * |
︙ | ︙ |