diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2012-12-26 19:49:43 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2012-12-26 19:49:43 +0100 |
commit | 6c10da93f171ec7fbff5fe7f9597b6be4f1501c5 (patch) | |
tree | 9522e849628fba0c89d5cb8919e273fe3494d7a7 /tntconfig.h | |
parent | 320a053f329f39bd416cba3b7508e6ed570853a2 (diff) | |
download | vdr-plugin-live-6c10da93f171ec7fbff5fe7f9597b6be4f1501c5.tar.gz vdr-plugin-live-6c10da93f171ec7fbff5fe7f9597b6be4f1501c5.tar.bz2 |
Adds support for the newly introduced ResourceDirectory.
This is taken from a patch provided in ticket #1064.
Diffstat (limited to 'tntconfig.h')
-rw-r--r-- | tntconfig.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tntconfig.h b/tntconfig.h index c02e6a0..5e11175 100644 --- a/tntconfig.h +++ b/tntconfig.h @@ -3,6 +3,7 @@ #include <string> #include <tnt/tntnet.h> +#include <vdr/config.h> #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& ); |