diff options
Diffstat (limited to 'setup.h')
-rw-r--r-- | setup.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -54,6 +54,7 @@ class Setup bool GetIsLocalNet() const { return m_islocalnet; }; std::string const GetLastWhatsOnListMode() const { return m_lastwhatsonlistmode; } std::string const GetTntnetLogLevel() const { return m_tntnetloglevel; } + bool GetShowRecDuration() const { return m_showRecDuration != 0; } bool GetShowLogo() const { return m_showLogo != 0; } bool GetUseAjax() const { return m_useAjax != 0; } bool GetShowInfoBox() const { return m_showInfoBox != 0; } @@ -77,6 +78,7 @@ class Setup void SetLocalNetMask(std::string const & localnetmask) { m_localnetmask = localnetmask; } void SetIsLocalNet(bool islocalnet) { m_islocalnet = islocalnet; } void SetLastWhatsOnListMode(std::string const & mode) { m_lastwhatsonlistmode = mode; SaveSetup(); } + void SetShowRecDuration(bool show) { m_showRecDuration = show ? 1 : 0; } 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; } @@ -131,6 +133,7 @@ class Setup bool m_islocalnet; std::string m_lastwhatsonlistmode; std::string m_tntnetloglevel; + int m_showRecDuration; int m_showLogo; int m_useAjax; int m_showInfoBox; |