From cd737785cace62f79fbd5f596ccb0d70de3e6252 Mon Sep 17 00:00:00 2001 From: Sascha Volkenandt Date: Fri, 5 Jan 2007 19:51:38 +0000 Subject: - removed obsolete interfacing code --- live.h | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'live.h') diff --git a/live.h b/live.h index eba7108..20b26e7 100644 --- a/live.h +++ b/live.h @@ -8,23 +8,7 @@ namespace vdrlive { -class Setup; -class TimerManager; - -class PluginBase : public cPlugin -{ -public: - virtual Setup& GetLiveSetup() = 0; - virtual TimerManager& GetLiveTimerManager() = 0; -}; - -inline PluginBase& LivePlugin() -{ - static PluginBase& plugin = *static_cast< PluginBase* >( cPluginManager::GetPlugin( PLUGIN_NAME_I18N ) ); - return plugin; -} - -class Plugin : public PluginBase { +class Plugin : public cPlugin { public: Plugin(void); virtual const char *Version(void) { return VERSION; } @@ -38,9 +22,6 @@ public: virtual cMenuSetupPage *SetupMenu(void); virtual bool SetupParse(const char *Name, const char *Value); - virtual Setup& GetLiveSetup(); - virtual TimerManager& GetLiveTimerManager(); - static std::string const& GetConfigDirectory() { return m_configDirectory; } private: -- cgit v1.2.3