From e6e5705567a73ac90b040578670d82998cc8788d Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Tue, 10 Feb 2015 23:55:25 +0100 Subject: Drop support for old tntnet versions: Removed support to read a tntnet config file. Only code internal configuration is used now. --- tntconfig.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'tntconfig.h') diff --git a/tntconfig.h b/tntconfig.h index 5e11175..118a6e5 100644 --- a/tntconfig.h +++ b/tntconfig.h @@ -8,7 +8,6 @@ namespace vdrlive { -#if TNT_CONFIG_INTERNAL class TntConfig { public: @@ -20,31 +19,6 @@ namespace vdrlive { TntConfig(); TntConfig( TntConfig const& ); }; -#else - class TntConfig - { - public: - 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& ); - - void WriteProperties(); - void WriteConfig(); - }; -#endif // TNT_CONFIG_INTERNAL } // namespace vdrlive -- cgit v1.2.3