summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-12-25 16:38:56 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-12-25 16:38:56 +0000
commitd70243c63f52bdffa922bd8cefa8d0cbbca335f5 (patch)
treeb303a09bcd161a5583a61ed7da5f7b60a6915f9e /setup.h
parent00934e5559ed3b6f15be79d953f3fd3a19b66cff (diff)
downloadvdr-plugin-live-d70243c63f52bdffa922bd8cefa8d0cbbca335f5.tar.gz
vdr-plugin-live-d70243c63f52bdffa922bd8cefa8d0cbbca335f5.tar.bz2
- Presence of IMDb URLs is now configurable. Closes bug #401.
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.h b/setup.h
index 039df04..6fffa80 100644
--- a/setup.h
+++ b/setup.h
@@ -51,6 +51,7 @@ class Setup
bool GetUseStreamdev() const { return m_useStreamdev != 0; }
int GetStreamdevPort() const { return m_streamdevPort; }
std::string const GetStreamdevType() const { return m_streamdevType; }
+ bool GetShowIMDb() const { return m_showIMDb != 0; }
std::string const GetEpgImageDir() { return m_epgimagedir; }
void SetLastChannel(int lastChannel) { m_lastChannel = lastChannel; }
@@ -70,6 +71,7 @@ class Setup
void SetUseStreamdev(bool use) { m_useStreamdev = use ? 1 : 0; }
void SetStreamdevPort(int port) { m_streamdevPort = port; }
void SetStreamdevType(std::string const & type) { m_streamdevType = type; }
+ void SetShowIMDb(bool show) { m_showIMDb = show ? 1 : 0; }
bool SaveSetup();
@@ -114,6 +116,7 @@ class Setup
int m_useStreamdev;
int m_streamdevPort;
std::string m_streamdevType;
+ int m_showIMDb;
bool CheckServerPort();
bool CheckServerIps();