summaryrefslogtreecommitdiff
path: root/server/componentVTP.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/componentVTP.h')
-rw-r--r--server/componentVTP.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/server/componentVTP.h b/server/componentVTP.h
index fe411ff..4f61eb5 100644
--- a/server/componentVTP.h
+++ b/server/componentVTP.h
@@ -1,29 +1,18 @@
/*
- * $Id: componentVTP.h,v 1.1 2004/12/30 22:44:19 lordjaxom Exp $
+ * $Id: componentVTP.h,v 1.2 2005/05/09 20:22:29 lordjaxom Exp $
*/
#ifndef VDR_STREAMDEV_SERVERS_SERVERVTP_H
#define VDR_STREAMDEV_SERVERS_SERVERVTP_H
#include "server/component.h"
-#include "server/connectionVTP.h"
-
-#include <tools/socket.h>
-#include <tools/select.h>
class cComponentVTP: public cServerComponent {
-private:
- cTBSocket m_Listen;
+protected:
+ virtual cServerConnection *NewClient(void);
public:
cComponentVTP(void);
- virtual ~cComponentVTP();
-
- virtual cServerConnection *NewConnection(void) const;
};
-inline cServerConnection *cComponentVTP::NewConnection(void) const {
- return new cConnectionVTP;
-}
-
#endif // VDR_STREAMDEV_SERVERS_SERVERVTP_H