changed: libUPnP (libPlatinum) promoted to be part of XBMC_PC & xbmc solutions
[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-2006 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 "NptDefs.h"\r
17 #include "NptSockets.h"\r
18 #include "NptHttp.h"\r
19 \r
20 /*----------------------------------------------------------------------\r
21 |   PLT_HttpServerListener Interface\r
22 +---------------------------------------------------------------------*/\r
23 class PLT_HttpServerListener\r
24 {\r
25  public:\r
26     virtual ~PLT_HttpServerListener() {}\r
27     \r
28     virtual NPT_Result ProcessHttpRequest(NPT_HttpRequest*   request, \r
29                                           NPT_SocketInfo     info, \r
30                                           NPT_HttpResponse*& response) = 0;\r
31 };\r
32 \r
33 #endif /* _PLT_HTTP_SERVER_LISTENER_H_ */\r