summaryrefslogtreecommitdiff
path: root/server/componentHTTP.h
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-30 22:43:55 +0000
committerlordjaxom <lordjaxom>2004-12-30 22:43:55 +0000
commit302fa2e67276bd0674e81e2a9a01b9e91dd45d8c (patch)
treea454884a16e0ffa48b5ce3e4ce1a66eb874a9de0 /server/componentHTTP.h
downloadvdr-plugin-streamdev-302fa2e67276bd0674e81e2a9a01b9e91dd45d8c.tar.gz
vdr-plugin-streamdev-302fa2e67276bd0674e81e2a9a01b9e91dd45d8c.tar.bz2
Initial revision
Diffstat (limited to 'server/componentHTTP.h')
-rw-r--r--server/componentHTTP.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/server/componentHTTP.h b/server/componentHTTP.h
new file mode 100644
index 0000000..46174d9
--- /dev/null
+++ b/server/componentHTTP.h
@@ -0,0 +1,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