From 73beacd3d1b3da8e55524f28ce5047989c5c5dc8 Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Sun, 29 Apr 2007 09:25:26 +0000 Subject: - new main menu entry "search" - checking for epgsearch and hiding "search" and "searchtimers" if epgsearch not present --- setup.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'setup.cpp') diff --git a/setup.cpp b/setup.cpp index 50b396c..b22de07 100644 --- a/setup.cpp +++ b/setup.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #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 -- cgit v1.2.3