diff options
Diffstat (limited to 'includes/Output.h')
-rw-r--r-- | includes/Output.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/includes/Output.h b/includes/Output.h index ef6806c..b7c8fb8 100644 --- a/includes/Output.h +++ b/includes/Output.h @@ -2,6 +2,8 @@ #define __OUTPUT_H__ #ifdef __cplusplus +#include <sys/types.h> +#include <time.h> #include <String.h> #include <Handle.h> @@ -19,14 +21,15 @@ class Output : public Handle { protected: String n; + off_t size; + time_t date_modif; }; -class Stdout_t : public Handle { +class Stdout_t : public Output { public: Stdout_t(); virtual ~Stdout_t() {} - virtual bool CanWrite(); - virtual bool CanRead(); + virtual bool CanSeek(); virtual String GetName(); }; @@ -36,6 +39,7 @@ class Stderr_t : public Handle { virtual ~Stderr_t() {} virtual bool CanWrite(); virtual bool CanRead(); + virtual bool CanSeek(); virtual String GetName(); }; |