diff options
author | Pixel <Pixel> | 2001-11-14 16:59:02 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-11-14 16:59:02 +0000 |
commit | aa92df3c58daefb994da555fb45f2e3ee55f38d5 (patch) | |
tree | 6105f0ced059af0fceb10a29f318d0c13c83d051 /include/Output.h | |
parent | 9235fbc2a736da2c68eb2dc0a3c1007b4a202d5e (diff) |
Latest and various changes
Diffstat (limited to 'include/Output.h')
-rw-r--r-- | include/Output.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/Output.h b/include/Output.h index ef76012..4e1e092 100644 --- a/include/Output.h +++ b/include/Output.h @@ -20,6 +20,27 @@ class Output : public Handle { String n; }; +class Stdout_t : public Handle { + public: + Stdout_t(); + virtual ~Stdout_t() {} + virtual bool CanWrite(); + virtual bool CanRead(); + virtual String GetName(); +}; + +class Stderr_t : public Handle { + public: + Stderr_t(); + virtual ~Stderr_t() {} + virtual bool CanWrite(); + virtual bool CanRead(); + virtual String GetName(); +}; + +extern Stdout_t Stdout; +extern Stderr_t Stderr; + #else #error This only works with a C++ compiler #endif |