diff options
author | lordjaxom <lordjaxom> | 2004-12-30 22:43:55 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-30 22:43:55 +0000 |
commit | 302fa2e67276bd0674e81e2a9a01b9e91dd45d8c (patch) | |
tree | a454884a16e0ffa48b5ce3e4ce1a66eb874a9de0 /server/componentVTP.h | |
download | vdr-plugin-streamdev-302fa2e67276bd0674e81e2a9a01b9e91dd45d8c.tar.gz vdr-plugin-streamdev-302fa2e67276bd0674e81e2a9a01b9e91dd45d8c.tar.bz2 |
Initial revision
Diffstat (limited to 'server/componentVTP.h')
-rw-r--r-- | server/componentVTP.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/server/componentVTP.h b/server/componentVTP.h new file mode 100644 index 0000000..fe411ff --- /dev/null +++ b/server/componentVTP.h @@ -0,0 +1,29 @@ +/* + * $Id: componentVTP.h,v 1.1 2004/12/30 22:44:19 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; + +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 |