Mailing List archive

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

[vdr] Re: VDR Plugin System - First Step



Andreas Schultz 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 let me know which remaining functions they would still
> > need to patch VDR source files for. What I already am planning to implement
> > are generalized classes for "players", "osd" and "status monitors" (the
> 
> will this also change the general design of the player classes? I would prefer
> a structure where the ringbuffers and threads are only member variables and
> are not inherited as base classes as it is now.

That will be most likely the case.
>From what I imagine at the moment there will be two basic classes:

- A cPlayer, which implements the very basic interface necessary to
  connect to a DVB device for replaying. This virtual class will not
  do any actual data handling or thread management. So an actual
  player can do this all by itself.

- A cPlayerControl, which will be the class that interacts with the
  user and will control the actions of a running cPlayer. Again, this
  virtual class will only implement the very basic interfaces, so that
  an actual implementation will be free to handle things in whatever
  way it wants.

As a starting point I will rewrite VDR's own replay stuff so that it
uses these new classes. This can then be used by authors of other
players to see how to do this.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index