summaryrefslogtreecommitdiff
path: root/server/connectionHTTP.h
diff options
context:
space:
mode:
authorFrank Schmirler <vdr@schmirler.de>2011-11-22 01:15:09 +0100
committerFrank Schmirler <vdr@schmirler.de>2011-11-22 01:16:42 +0100
commitc652e8fa8141d7e323cbdbbc0a662244a5a84955 (patch)
treeee2a0a3421788e0f6cc5f653c42ac4f14acf322b /server/connectionHTTP.h
parentce1583a756fe7d80522ed3e82275705b9cbe00b7 (diff)
downloadvdr-plugin-streamdev-c652e8fa8141d7e323cbdbbc0a662244a5a84955.tar.gz
vdr-plugin-streamdev-c652e8fa8141d7e323cbdbbc0a662244a5a84955.tar.bz2
Added server menu with list of clients. Connections can be terminated
with the "red" key. The former main menu action of suspending live TV moved to the "blue" key.
Diffstat (limited to 'server/connectionHTTP.h')
-rw-r--r--server/connectionHTTP.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/connectionHTTP.h b/server/connectionHTTP.h
index 56f89b0..8f071ce 100644
--- a/server/connectionHTTP.h
+++ b/server/connectionHTTP.h
@@ -47,6 +47,8 @@ public:
virtual void Attach(void) { if (m_LiveStreamer != NULL) m_LiveStreamer->Attach(); }
virtual void Detach(void) { if (m_LiveStreamer != NULL) m_LiveStreamer->Detach(); }
+ virtual cString ToText() const;
+
virtual bool CanAuthenticate(void);
virtual bool Command(char *Cmd);
@@ -57,7 +59,7 @@ public:
inline bool cConnectionHTTP::Abort(void) const
{
- return m_LiveStreamer && m_LiveStreamer->Abort();
+ return !IsOpen() || (m_LiveStreamer && m_LiveStreamer->Abort());
}
#endif // VDR_STREAMDEV_SERVERS_CONNECTIONVTP_H