summaryrefslogtreecommitdiff
path: root/includes/Input.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-10-10 20:31:41 -0700
committerPixel <pixel@nobis-crew.org>2011-10-10 20:31:41 -0700
commit8ae349b49e16064e4d84b6cfd256e3ca7fb0cd60 (patch)
tree8b01b3ab2097d838771d43c79b92920661ffd37c /includes/Input.h
parent965148b43b5b859934b7af2e8447ba1026a43a19 (diff)
Adding the 'stats' call to Input.
Also fixing a bug with the Printer - va_args are vicious.
Diffstat (limited to 'includes/Input.h')
-rw-r--r--includes/Input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/Input.h b/includes/Input.h
index 418b018..7f801f6 100644
--- a/includes/Input.h
+++ b/includes/Input.h
@@ -10,9 +10,13 @@ class Input : public SeekableHandle {
virtual void close() throw (GeneralException);
virtual bool isClosed();
virtual const char * getName();
+ virtual off_t getSize();
+ virtual time_t getMTime();
private:
int m_fd;
String m_name;
+ off_t m_size;
+ time_t m_mtime;
};
};