merged: Platinum from linuxport branches
[xbmc:xbmc-antiquated.git] / xbmc / lib / libUPnP / Platinum / Source / Core / PltHttpServerListener.h
1 /*****************************************************************\r
2 |\r
3 |   Platinum - HTTP Server Listener\r
4 |\r
5 |   Copyright (c) 2004-2008 Sylvain Rebaud\r
6 |   Author: Sylvain Rebaud (sylvain@rebaud.com)\r
7 |\r
8  ****************************************************************/\r
9 \r
10 #ifndef _PLT_HTTP_SERVER_LISTENER_H_\r
11 #define _PLT_HTTP_SERVER_LISTENER_H_\r
12 \r
13 /*----------------------------------------------------------------------\r
14 |   includes\r
15 +---------------------------------------------------------------------*/\r
16 #include "Neptune.h"\r
17 \r
18 /*----------------------------------------------------------------------\r
19 |   PLT_HttpServerListener Interface\r
20 +---------------------------------------------------------------------*/\r
21 class PLT_HttpServerListener\r
22 {\r
23  public:\r
24     virtual ~PLT_HttpServerListener() {}\r
25     \r
26     virtual NPT_Result ProcessHttpRequest(NPT_HttpRequest&              request, \r
27                                           const NPT_HttpRequestContext& context,\r
28                                           NPT_HttpResponse*&            response,\r
29                                           bool&                         headers_only) = 0;\r
30 };\r
31 \r
32 #endif /* _PLT_HTTP_SERVER_LISTENER_H_ */\r