diff options
Diffstat (limited to 'setup.cpp')
-rw-r--r-- | setup.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -12,6 +12,7 @@ #include <arpa/inet.h> #include <vdr/tools.h> #include <vdr/menuitems.h> +#include <vdr/plugin.h> #include "setup.h" namespace vdrlive { @@ -101,6 +102,11 @@ bool Setup::CheckServerIps() return true; } +bool Setup::HaveEPGSearch(void) +{ + return cPluginManager::GetPlugin("epgsearch") != NULL; +} + Setup& LiveSetup() { static Setup instance; @@ -140,6 +146,7 @@ void cMenuSetupLive::Store(void) SetupStore("AdminPassword", m_adminPassword); } + } // namespace vdrlive |