From 68aeaf14ea2bc388b3d3c5d195fd3f5e983576c0 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 30 Nov 2001 00:03:10 +0000 Subject: Debugging... --- include/Handle.h | 2 +- include/HttpServ.h | 2 +- include/Socket.h | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit v1.2.3