From 6c10da93f171ec7fbff5fe7f9597b6be4f1501c5 Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Wed, 26 Dec 2012 19:49:43 +0100 Subject: Adds support for the newly introduced ResourceDirectory. This is taken from a patch provided in ticket #1064. --- tntconfig.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tntconfig.h') diff --git a/tntconfig.h b/tntconfig.h index c02e6a0..5e11175 100644 --- a/tntconfig.h +++ b/tntconfig.h @@ -3,6 +3,7 @@ #include #include +#include #include "tntfeatures.h" namespace vdrlive { @@ -26,10 +27,16 @@ namespace vdrlive { static TntConfig const& Get(); std::string const& GetConfigPath() const { return m_configPath; } +#if APIVERSNUM > 10729 + std::string const& GetResourcePath() const { return m_resourcePath; } +#endif private: std::string m_propertiesPath; std::string m_configPath; +#if APIVERSNUM > 10729 + std::string m_resourcePath; +#endif TntConfig(); TntConfig( TntConfig const& ); -- cgit v1.2.3