summaryrefslogtreecommitdiff
path: root/includes/Input.h
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-10-26 11:47:38 -0700
committerPixel <pixel@nobis-crew.org>2011-10-26 15:05:29 -0700
commite5804f2cb929083713c0082f39182a858c082587 (patch)
tree7e2e97ace60235b753925197a01ed7d7aa9c16c9 /includes/Input.h
parent8b1e278ef364fff2aa7d6b805353a722db1b4b89 (diff)
Protecting the IO class a bit more, and adding the raw filename paradigm for at least the Input class.
Diffstat (limited to 'includes/Input.h')
-rw-r--r--includes/Input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/Input.h b/includes/Input.h
index 518db39..9d45baa 100644
--- a/includes/Input.h
+++ b/includes/Input.h
@@ -14,9 +14,11 @@ class Input : public SeekableHandle {
virtual const char * getName();
virtual off_t getSize();
virtual time_t getMTime();
+ const char * getFName() { return m_fname.to_charp(); }
private:
int m_fd;
String m_name;
+ String m_fname;
off_t m_size;
time_t m_mtime;
};