diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Handle.h | 2 | ||||
-rw-r--r-- | include/HttpServ.h | 2 | ||||
-rw-r--r-- | include/Socket.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/include/Handle.h b/include/Handle.h index 21d6780..45a9432 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -44,7 +44,7 @@ class Handle : public Base { void close(); int GetHandle(); virtual bool CanWatch(); - + virtual void Dup(const Handle &); protected: Handle(int h); private: diff --git a/include/HttpServ.h b/include/HttpServ.h index 2518c55..5860dd7 100644 --- a/include/HttpServ.h +++ b/include/HttpServ.h @@ -20,7 +20,7 @@ class HttpServ : public Task { public: HttpServ(Action *, int = 1500, const String & = String("GruiK Server v0.1")) throw (GeneralException); - ~HttpServ(); + virtual ~HttpServ(); void SetMenu(Action *); virtual String GetName(); diff --git a/include/Socket.h b/include/Socket.h index 9e0f85f..c6402cb 100644 --- a/include/Socket.h +++ b/include/Socket.h @@ -42,6 +42,7 @@ class Socket : public Handle { virtual bool CanRead(); virtual bool CanWrite(); virtual String GetName(); + int GetPort(); private: Socket(int s); |