summaryrefslogtreecommitdiff
path: root/include/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Input.h')
-rw-r--r--include/Input.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Input.h b/include/Input.h
index 471ba91..ae8ef09 100644
--- a/include/Input.h
+++ b/include/Input.h
@@ -2,6 +2,8 @@
#define __INPUT_H__
#ifdef __cplusplus
+#include <sys/types.h>
+#include <time.h>
#include <String.h>
#include <Handle.h>
@@ -16,9 +18,13 @@ class Input : public Handle {
virtual bool CanWrite();
virtual bool CanRead();
virtual String GetName();
+ virtual off_t GetSize();
+ virtual time_t GetModif();
protected:
String n;
+ off_t size;
+ time_t date_modif;
};
class Stdin_t : public Handle {