From cd8e8948ed17f1985898f8c1d59d32680262457e Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 14 Nov 2011 22:44:55 -0800 Subject: Some more basic work on the HTTP server. Some of the main ideas are not fleshed up, and writing the actual server should now be sort of straightforward. --- includes/HttpServer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'includes/HttpServer.h') diff --git a/includes/HttpServer.h b/includes/HttpServer.h index 2609283..7ae0dc1 100644 --- a/includes/HttpServer.h +++ b/includes/HttpServer.h @@ -5,6 +5,8 @@ namespace Balau { +class HttpWorker; + class HttpServer { public: HttpServer() : m_started(false), m_listenerPtr(NULL), m_port(80) { } @@ -18,6 +20,8 @@ class HttpServer { void * m_listenerPtr; int m_port; String m_local; + + friend class HttpWorker; }; }; -- cgit v1.2.3