From 2e5bed84841f33ff28dd95b77b555720c875a286 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 29 Oct 2001 15:44:12 +0000 Subject: Beginning task manager --- include/Handle.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/Handle.h') diff --git a/include/Handle.h b/include/Handle.h index 0044fa6..3cb16f1 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -28,8 +28,8 @@ class Handle : public Base { public: Handle(const Handle &); virtual ~Handle(); - ssize_t read(void *buf, size_t count) throw (IOException); - ssize_t write(const void *buf, size_t count) throw (IOException); + virtual ssize_t read(void *buf, size_t count) throw (IOException); + virtual ssize_t write(const void *buf, size_t count) throw (IOException); bool IsClosed(void); bool IsNonBlock(void); void SetNonBlock(void); @@ -39,6 +39,7 @@ class Handle : public Base { protected: Handle(int h); int GetHandle(); + void close(); private: int h; bool closed, nonblock; -- cgit v1.2.3