diff options
author | Frank Schmirler <vdr@schmirler.de> | 2011-03-07 23:06:27 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2011-03-07 23:06:27 +0100 |
commit | 1a933d6cc9344bd7e7ded82eb775cc0c61ed0ae3 (patch) | |
tree | 3331bcd0608de5e0903cde00cfb23064e27b380f /server/connection.h | |
parent | 2cb0ba6cf128f9263ff5d1d4695546dab84da768 (diff) | |
parent | c06970123cd68bd1b2f2695326596430d236f230 (diff) | |
download | vdr-plugin-streamdev-1a933d6cc9344bd7e7ded82eb775cc0c61ed0ae3.tar.gz vdr-plugin-streamdev-1a933d6cc9344bd7e7ded82eb775cc0c61ed0ae3.tar.bz2 |
Merge branch 'switch_livetv'
Conflicts:
HISTORY
server/connection.c
Diffstat (limited to 'server/connection.h')
-rw-r--r-- | server/connection.h | 6 |
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; |