summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h8
1 files changed, 7 insertions, 1 deletions
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();