diff options
Diffstat (limited to 'include/Handle.h')
-rw-r--r-- | include/Handle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Handle.h b/include/Handle.h index 237adff..14eb92d 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -36,11 +36,11 @@ class Handle : public Base { virtual bool CanRead(); virtual bool CanWrite(); virtual String GetName(); + void close(); + int GetHandle(); protected: Handle(int h); - int GetHandle(); - void close(); private: int h; bool closed, nonblock; |