Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: cReceivers in plugins
Andreas Schultz wrote:
> Klaus Schmidinger wrote:
> > This is kind of a "chicken & egg" problem, since the primary device might
> > be implemented through a plugin itself. I actually wonder why the line
> I might be worth to implement a two-stage initialisation for plugins.
> Tell them in a first stage to initialize and register themself to vdr's
> core and then actually start them in a second stage. This way, device
> plugins could register in the first stage and plugins the use them would
> attach in the second stage.
> The cStatus approach appears a bit unclean, especially since there is
> nothing that guarantees that a channel switch will happen.
If no channel switch happens, what's the point in attaching a cReceiver?
The clean way _is_ to implement a cStatus class and monitor the device(s)
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: firstname.lastname@example.org
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
To unsubscribe send a mail to email@example.com with "unsubscribe vdr" as subject.
Main Index |