Differences From Artifact [0ce400e3cf]:
- File src/OFStdIOStream.h — part of check-in [cc3ad3ddd3] at 2017-11-18 18:50:50 on branch trunk — Documentation: Use @brief for all properties (user: js, size: 2043) [annotate] [blame] [check-ins using]
To Artifact [9c739b6c2b]:
- File
src/OFStdIOStream.h
— part of check-in
[69749b6a5b]
at
2017-11-19 11:04:22
on branch trunk
— Do not conform to OFReadyFor*Observing by default
Instead of letting OFStream conform to it, which itself does not really
conform to it, let all the subclasses that actually do conform to it. (user: js, size: 2194) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFStream.h" #ifdef OF_MORPHOS # define BOOL EXEC_BOOL # include <proto/dos.h> # undef BOOL #endif | > | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFStream.h" #import "OFKernelEventObserver.h" #ifdef OF_MORPHOS # define BOOL EXEC_BOOL # include <proto/dos.h> # undef BOOL #endif |
︙ | ︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | * The global variables @ref of_stdin, @ref of_stdout and @ref of_stderr are * instances of this class and need no initialization. */ #ifdef OF_STDIO_STREAM_WIN32_CONSOLE_H OF_SUBCLASSING_RESTRICTED #endif @interface OFStdIOStream: OFStream { #ifndef OF_MORPHOS int _fd; #else BPTR _handle; bool _closable; #endif | > > > | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | * The global variables @ref of_stdin, @ref of_stdout and @ref of_stderr are * instances of this class and need no initialization. */ #ifdef OF_STDIO_STREAM_WIN32_CONSOLE_H OF_SUBCLASSING_RESTRICTED #endif @interface OFStdIOStream: OFStream #if !defined(OF_WINDOWS) && !defined(OF_MORPHOS) <OFReadyForReadingObserving, OFReadyForWritingObserving> #endif { #ifndef OF_MORPHOS int _fd; #else BPTR _handle; bool _closable; #endif |
︙ | ︙ |