diff options
author | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-05 19:51:38 +0000 |
---|---|---|
committer | Sascha Volkenandt <sascha (at) akv-soft (dot) de> | 2007-01-05 19:51:38 +0000 |
commit | cd737785cace62f79fbd5f596ccb0d70de3e6252 (patch) | |
tree | 4b9d7a41623fb58eda49b2d84b755eefa00b596b /live.h | |
parent | 13adee0994f4f177a6630077f298eafcb9c48169 (diff) | |
download | vdr-plugin-live-cd737785cace62f79fbd5f596ccb0d70de3e6252.tar.gz vdr-plugin-live-cd737785cace62f79fbd5f596ccb0d70de3e6252.tar.bz2 |
- removed obsolete interfacing code
Diffstat (limited to 'live.h')
-rw-r--r-- | live.h | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -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: |