14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
* file.
*/
#import "OFStream.h"
OF_ASSUME_NONNULL_BEGIN
/*!
* @class OFStdIOStream OFStdIOStream.h ObjFW/OFStdIOStream.h
*
* @brief A class for providing standard input, output and error as OFStream.
*
* 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_MORPHOS) || defined(OF_IXEMUL)
int _fd;
#else
long _fd;
bool _closable;
#endif
bool _atEndOfStream;
}
- init OF_UNAVAILABLE;
|
>
>
>
>
|
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
* file.
*/
#import "OFStream.h"
OF_ASSUME_NONNULL_BEGIN
#if defined(OF_MORPHOS) && !defined(OF_IXEMUL)
typedef long BPTR;
#endif
/*!
* @class OFStdIOStream OFStdIOStream.h ObjFW/OFStdIOStream.h
*
* @brief A class for providing standard input, output and error as OFStream.
*
* 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_MORPHOS) || defined(OF_IXEMUL)
int _fd;
#else
BPTR _handle;
bool _closable;
#endif
bool _atEndOfStream;
}
- init OF_UNAVAILABLE;
|