From 06df85b5eadb9f088793df157b1dc5523a626db5 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Sun, 16 Dec 2007 23:49:24 +0000 Subject: - Adapted Rolf Ahrenbergs patch for VLC streaming to current LIVE development status. See Bug #343. This will need some additional tweaking. --- setup.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'setup.h') diff --git a/setup.h b/setup.h index 11945d4..3b0767c 100644 --- a/setup.h +++ b/setup.h @@ -48,6 +48,8 @@ class Setup bool GetShowLogo() const { return m_showLogo != 0; } bool GetUseAjax() const { return m_useAjax != 0; } bool GetShowInfoBox() const { return m_showInfoBox != 0; } + bool GetUseStreamdev() const { return m_useStreamdev != 0; } + int GetStreamdevPort() const { return m_streamdevPort; } std::string GetEpgImageDir() { return m_epgimagedir; } void SetLastChannel(int lastChannel) { m_lastChannel = lastChannel; } @@ -64,6 +66,8 @@ class Setup void SetShowLogo(bool show) { m_showLogo = show ? 1 : 0; } void SetUseAjax(bool use) { m_useAjax = use ? 1 : 0; } void SetShowInfoBox(bool show) { m_showInfoBox = show ? 1 : 0; } + void SetUseStreamdev(bool use) { m_useStreamdev = use ? 1 : 0; } + void SetStreamdevPort(int port) { m_streamdevPort = port; } bool SaveSetup(); @@ -72,9 +76,9 @@ class Setup bool ParseSetupEntry( char const* name, char const* value ); - bool HaveEPGSearch(void); bool CheckLocalNet(const std::string& ip); + private: Setup(); Setup( Setup const& ); @@ -105,6 +109,8 @@ class Setup int m_showLogo; int m_useAjax; int m_showInfoBox; + int m_useStreamdev; + int m_streamdevPort; bool CheckServerPort(); bool CheckServerIps(); -- cgit v1.2.3