VDR 1.2.6 compat
authorChris Tallon <chris@vomp.tv>
Fri, 6 Apr 2007 23:05:18 +0000 (23:05 +0000)
committerChris Tallon <chris@vomp.tv>
Fri, 6 Apr 2007 23:05:18 +0000 (23:05 +0000)
vompserver.c

index 23747306519b25b17c6305ebedf6b085b385c99c..6b46a68b0bf57ae07d20d3384d63c2c17db9c53b 100644 (file)
@@ -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!