From af54bd8bc8fde95cdb379bd0d2673ede234a0645 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Fri, 13 Feb 2015 21:28:25 +0100 Subject: 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. --- tntconfig.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tntconfig.cpp') 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) -- cgit v1.2.3