summaryrefslogtreecommitdiff
path: root/includes/Input.h
diff options
context:
space:
mode:
authorPixel <Pixel>2002-09-27 12:17:57 +0000
committerPixel <Pixel>2002-09-27 12:17:57 +0000
commitbfa5de7eccf4604ff8217f619e9685a09e80d545 (patch)
treea5be5de750ac611145f459a09bda902c3dbc1a70 /includes/Input.h
parent60c1003845035ad4cd0e9ea50862bad7626faf0e (diff)
The week-without-the-network changes
Diffstat (limited to 'includes/Input.h')
-rw-r--r--includes/Input.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/Input.h b/includes/Input.h
index d1755e7..1fb48c3 100644
--- a/includes/Input.h
+++ b/includes/Input.h
@@ -12,13 +12,13 @@ class Input : public Handle {
Input(const String & = "") throw (GeneralException);
Input(const Input &);
virtual ~Input() {}
- virtual bool CanWrite();
- virtual bool CanRead();
- virtual bool CanSeek();
+ virtual bool CanWrite() const;
+ virtual bool CanRead() const;
+ virtual bool CanSeek() const;
virtual off_t seek(off_t, int) throw (GeneralException);
- virtual String GetName();
- virtual ssize_t GetSize();
- virtual time_t GetModif();
+ virtual String GetName() const;
+ virtual ssize_t GetSize() const;
+ virtual time_t GetModif() const;
protected:
String n;
@@ -30,8 +30,8 @@ class Stdin_t : public Input {
public:
Stdin_t();
virtual ~Stdin_t() {}
- virtual bool CanSeek();
- virtual String GetName();
+ virtual bool CanSeek() const;
+ virtual String GetName() const;
};
extern Stdin_t Stdin;