From: Chris Tallon Date: Fri, 6 Apr 2007 23:05:18 +0000 (+0000) Subject: VDR 1.2.6 compat X-Git-Tag: r0-2-7~7 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=f0acfea73175bdc3ef457ff06fbb29f19dbb8d0f;p=vompserver.git VDR 1.2.6 compat --- 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!