summaryrefslogtreecommitdiff
path: root/tntconfig.cpp
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2015-02-13 21:28:25 +0100
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2015-02-13 21:28:25 +0100
commitaf54bd8bc8fde95cdb379bd0d2673ede234a0645 (patch)
tree00ba47356a050684d85e24f6a50ad7fbd1456166 /tntconfig.cpp
parent894daa8e959122e563d8d9f0e4bf2e7d324af081 (diff)
downloadvdr-plugin-live-af54bd8bc8fde95cdb379bd0d2673ede234a0645.tar.gz
vdr-plugin-live-af54bd8bc8fde95cdb379bd0d2673ede234a0645.tar.bz2
Only VDR versions which have an APIVERSION greater than 10729 are supported from now on.
This drop some conditional compilations and thus simplyfies overall maintanance.
Diffstat (limited to 'tntconfig.cpp')
-rw-r--r--tntconfig.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tntconfig.cpp b/tntconfig.cpp
index e4937ec..123ee78 100644
--- a/tntconfig.cpp
+++ b/tntconfig.cpp
@@ -31,13 +31,8 @@ namespace vdrlive {
namespace {
std::string GetResourcePath()
{
-#if APIVERSNUM > 10729
string resourceDir(Plugin::GetResourceDirectory());
return resourceDir;
-#else
- string configDir(Plugin::GetConfigDirectory());
- return configDir;
-#endif
}
void MapUrl(tnt::Tntnet & app, const char *rule, const char * component, std::string const & instPath, const char * pathInfo, const char * mime_type)