Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR Plugin System - First Step



On 09 May 2002 Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> wrote:

> I suggest that the authors of VDR patches try to implement the "command line",
> "menu", "setup" and "i18n" parts of their patches, using the new plugin features, and

And one more: in tools.h:

@@ -147,8 +149,8 @@
   T *Get(int Index) const { return (T *)cListBase::Get(Index); }
   T *First(void) const { return (T *)objects; }
   T *Last(void) const { return (T *)lastObject; }
-  T *Prev(const T *object) const { return (T *)object->Prev(); }
-  T *Next(const T *object) const { return (T *)object->Next(); }
+  T *Prev(const T *object) const { return (T *)object->cListObject::Prev(); }
+  T *Next(const T *object) const { return (T *)object->cListObject::Next(); }
   };
 
else compiling fails for classes which are ListObject and
ListBase at one. e.g.:

class cPlayList : public cConfig<cMP3>, public cListObject {
  };

-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan



Home | Main Index | Thread Index