summaryrefslogtreecommitdiff
path: root/includes/cdreader.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/cdreader.h
parent60c1003845035ad4cd0e9ea50862bad7626faf0e (diff)
The week-without-the-network changes
Diffstat (limited to 'includes/cdreader.h')
-rw-r--r--includes/cdreader.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/includes/cdreader.h b/includes/cdreader.h
index 3991225..ed3bc00 100644
--- a/includes/cdreader.h
+++ b/includes/cdreader.h
@@ -12,17 +12,17 @@ class cdreader : public Handle {
cdreader(const String & = "/dev/cdrom") throw (GeneralException);
cdreader(const cdreader &);
virtual ~cdreader() {}
- virtual bool CanWrite();
- virtual bool CanRead();
- virtual bool CanSeek();
+ virtual bool CanWrite() const;
+ virtual bool CanRead() const;
+ virtual bool CanSeek() const;
virtual ssize_t read(void *buf, size_t count) throw (GeneralException);
virtual off_t seek(off_t, int) throw (GeneralException);
- virtual String GetName();
- virtual ssize_t GetSize();
+ virtual String GetName() const;
+ virtual ssize_t GetSize() const;
virtual void getsector(void *, int = -1) throw (GeneralException);
virtual void sectorseek(int);
- protected:
+ private:
String n;
int sector;
};