summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-30 00:03:10 +0000
committerPixel <Pixel>2001-11-30 00:03:10 +0000
commit68aeaf14ea2bc388b3d3c5d195fd3f5e983576c0 (patch)
treee776a0f936b7413b184ce34e205f4aca27f62b62 /include
parent23d91060b557f77fc37e629a168ca810cd66a364 (diff)
Debugging...
Diffstat (limited to 'include')
-rw-r--r--include/Handle.h2
-rw-r--r--include/HttpServ.h2
-rw-r--r--include/Socket.h1
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);