diff options
Diffstat (limited to 'includes/cdreader.h')
-rw-r--r-- | includes/cdreader.h | 12 |
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; }; |