From f0acfea73175bdc3ef457ff06fbb29f19dbb8d0f Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Fri, 6 Apr 2007 23:05:18 +0000 Subject: [PATCH] VDR 1.2.6 compat --- vompserver.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vompserver.c b/vompserver.c index 2374730..6b46a68 100644 --- a/vompserver.c +++ b/vompserver.c @@ -39,7 +39,9 @@ public: virtual bool Initialize(void); virtual bool Start(void); virtual bool SetupParse(const char *Name, const char *Value); +#if VDRVERSNUM > 10300 virtual cString Active(void); +#endif private: @@ -109,11 +111,15 @@ bool cPluginVompserver::SetupParse(const char *Name, const char *Value) return false; } +#if VDRVERSNUM > 10300 + cString cPluginVompserver::Active(void) { if(MVPClient::getNrClients() != 0) return tr("VOMP client(s) connected"); return NULL; } +#endif + VDRPLUGINCREATOR(cPluginVompserver); // Don't touch this! -- 2.39.5