diff options
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 |