summaryrefslogtreecommitdiff
path: root/server/connection.h
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-03-18 15:56:34 +0100
committerFrank Schmirler <vdr@schmirler.de>2011-03-18 15:56:34 +0100
commit4b793ded6b50960ceab7f6904db84b404f160624 (patch)
treefc7a92c2f3ca24c21891ec54f1ebb5785fc56487 /server/connection.h
parentef3ea13d1ff0a531d66d9314949fe850bd73ae5a (diff)
parent87de8aeff6a3d600e7c1d9ed910bc40b98ab969e (diff)
downloadvdr-plugin-streamdev-4b793ded6b50960ceab7f6904db84b404f160624.tar.gz
vdr-plugin-streamdev-4b793ded6b50960ceab7f6904db84b404f160624.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:vdr-plugin-streamdevdead
Conflicts: HISTORY
Diffstat (limited to 'server/connection.h')
-rw-r--r--server/connection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/connection.h b/server/connection.h
index 01a070c..6cc6764 100644
--- a/server/connection.h
+++ b/server/connection.h
@@ -15,6 +15,7 @@ typedef std::pair<std::string,std::string> tStrStr;
class cChannel;
class cDevice;
+class cSwitchLive;
/* Basic capabilities of a straight text-based protocol, most functions
virtual to support more complicated protocols */
@@ -33,6 +34,8 @@ private:
uint m_WriteBytes;
uint m_WriteIndex;
+ cSwitchLive *m_SwitchLive;
+
tStrStrMap m_Headers;
/* Check if a device would be available for transfering the given
@@ -108,6 +111,9 @@ public:
/* Test if a call to GetDevice would return a usable device. */
bool ProvidesChannel(const cChannel *Channel, int Priority);
+ /* Do things which must be done in VDR's main loop */
+ void MainThreadHook();
+
virtual void Flushed(void) {}
virtual void Detach(void) = 0;