summaryrefslogtreecommitdiff
path: root/setup.h
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2015-02-11 00:41:45 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2015-02-11 00:41:45 +0100
commit6791ce30c239a1eeab591bb77a41afda9866791c (patch)
tree215353d45b29592f6640f7bbed081f15d761caad /setup.h
parent531e0e32004b01c0d83ed65698945a8cb774faf6 (diff)
downloadvdr-plugin-live-6791ce30c239a1eeab591bb77a41afda9866791c.tar.gz
vdr-plugin-live-6791ce30c239a1eeab591bb77a41afda9866791c.tar.bz2
Drop support for old tntnet versions: SSL/TLS support is no more optional.
LIVE can be compiled only with versions of tntnet which support SSL/TLS connections.
Diffstat (limited to 'setup.h')
-rw-r--r--setup.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/setup.h b/setup.h
index 58b4a11..3b4e388 100644
--- a/setup.h
+++ b/setup.h
@@ -29,11 +29,9 @@ class Setup
// commandline
int GetServerPort() const { return m_serverPort; }
-#if TNT_SSL_SUPPORT
int GetServerSslPort() const { return m_serverSslPort; }
std::string GetServerSslCert() const { return m_serverSslCert; }
std::string GetServerSslKey() const { return m_serverSslKey; }
-#endif
IpList const& GetServerIps() const { return m_serverIps; }
// vdr-setup
int GetLastChannel() const { return m_lastChannel == 0 ? std::numeric_limits< int >::max() : m_lastChannel; }
@@ -108,12 +106,10 @@ class Setup
mutable std::string m_helpString;
// commandline options
int m_serverPort;
-#if TNT_SSL_SUPPORT
int m_serverSslPort;
std::string m_serverSslCert;
std::string m_serverSslKey;
static std::string m_configDirectory;
-#endif
IpList m_serverIps;
std::string m_epgimagedir;
@@ -145,9 +141,7 @@ class Setup
bool CheckServerPort();
bool CheckServerIps();
-#if TNT_SSL_SUPPORT
bool CheckServerSslPort();
-#endif
};
Setup& LiveSetup();