summaryrefslogtreecommitdiff
path: root/server/componentHTTP.h
blob: 46174d952995bc428506ebd03316ced45f90d606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 *  $Id: componentHTTP.h,v 1.1 2004/12/30 22:44:19 lordjaxom Exp $
 */
 
#ifndef VDR_STREAMDEV_HTTPSERVER_H
#define VDR_STREAMDEV_HTTPSERVER_H

#include "server/component.h"
#include "server/connectionHTTP.h"

#include <tools/socket.h>
#include <tools/select.h>

class cComponentHTTP: public cServerComponent {
public:
	cComponentHTTP(void);
	~cComponentHTTP(void);
	
	virtual cServerConnection *NewConnection(void) const;
};

inline cServerConnection *cComponentHTTP::NewConnection(void) const {
	return new cConnectionHTTP;
}

#endif // VDR_STREAMDEV_HTTPSERVER_H