summaryrefslogtreecommitdiff
path: root/server/connectionVTP.h
diff options
context:
space:
mode:
authorschmirl <schmirl>2007-04-24 11:03:41 +0000
committerschmirl <schmirl>2007-04-24 11:03:41 +0000
commita0dfe7b20ae894240da179bfe76cf31b935bb606 (patch)
treedcc5310daa9408c7bd95d57567ab56a346f9c765 /server/connectionVTP.h
parentac4c391c43f993f51ff8f34eaf9eec7e15166fb8 (diff)
downloadvdr-plugin-streamdev-a0dfe7b20ae894240da179bfe76cf31b935bb606.tar.gz
vdr-plugin-streamdev-a0dfe7b20ae894240da179bfe76cf31b935bb606.tar.bz2
server_connectionVTP-new-data.patch by Petri Hintukainen
- Add new data (LiveFilterStreamer and LiveFilterSocket) - Misc cleanup Modified Files: server/connectionVTP.c server/connectionVTP.h
Diffstat (limited to 'server/connectionVTP.h')
-rw-r--r--server/connectionVTP.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/server/connectionVTP.h b/server/connectionVTP.h
index c6ab223..fffff4f 100644
--- a/server/connectionVTP.h
+++ b/server/connectionVTP.h
@@ -2,9 +2,10 @@
#define VDR_STREAMDEV_SERVERS_CONNECTIONVTP_H
#include "server/connection.h"
-#include "server/livestreamer.h"
class cTBSocket;
+class cStreamdevLiveStreamer;
+class cStreamdevFilterStreamer;
class cLSTEHandler;
class cLSTCHandler;
class cLSTTHandler;
@@ -16,8 +17,10 @@ class cConnectionVTP: public cServerConnection {
using cServerConnection::Respond;
private:
- cTBSocket *m_LiveSocket;
- cStreamdevLiveStreamer *m_LiveStreamer;
+ cTBSocket *m_LiveSocket;
+ cStreamdevLiveStreamer *m_LiveStreamer;
+ cTBSocket *m_FilterSocket;
+ cStreamdevFilterStreamer *m_FilterStreamer;
char *m_LastCommand;
bool m_NoTSPIDS;
@@ -53,8 +56,8 @@ public:
bool CmdADDF(char *Opts);
bool CmdDELF(char *Opts);
bool CmdABRT(char *Opts);
- bool CmdQUIT(char *Opts);
- bool CmdSUSP(char *Opts);
+ bool CmdQUIT(void);
+ bool CmdSUSP(void);
// Thread-safe implementations of SVDRP commands
bool CmdLSTE(char *Opts);
@@ -73,9 +76,4 @@ public:
__attribute__ ((format (printf, 3, 4)));
};
-inline bool cConnectionVTP::Abort(void) const
-{
- return m_LiveStreamer && m_LiveStreamer->Abort();
-}
-
#endif // VDR_STREAMDEV_SERVERS_CONNECTIONVTP_H