diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-04-29 09:25:26 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-04-29 09:25:26 +0000 |
commit | 73beacd3d1b3da8e55524f28ce5047989c5c5dc8 (patch) | |
tree | 5211f8282bb74224ece07fd460c2f123fcbec926 /setup.cpp | |
parent | dcf843d2eb36d61f1cafb2220be1fb5d189ba759 (diff) | |
download | vdr-plugin-live-73beacd3d1b3da8e55524f28ce5047989c5c5dc8.tar.gz vdr-plugin-live-73beacd3d1b3da8e55524f28ce5047989c5c5dc8.tar.bz2 |
- new main menu entry "search"
- checking for epgsearch and hiding "search" and "searchtimers" if epgsearch not present
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 |