Mailing List archive

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

[vdr] Re: OSD plugin - the solution



Have you considered using libSigC++?

One of its features is that it can emit a SigC::Signal, which can be
connected to by a SigC::Slot.  Multiple connections can be made to a slot,
so a plugin could connect to signals it cares about.  Virtually anything
could be passed along from state to even audio and video buffers.  This
would make a streamer much easier to write (imho) unless I am missing
something.  I haven't figured out yet how to get the live ts, but still
digging through plugins mail. :)

just a thought, feel free to ignore it.

_J

In the new year, Rikard Herlitz wrote:
> So what would be the best way to get complete control of a window?
> Lets say I want to do a small game(like tetris) as a plugin, that I can 
> access from the vdr-menu...
> 
> /Rikard
> 
> 
> Andreas Schultz wrote:
> 
> >On Saturday 31 August 2002 12:01, Klaus Schmidinger wrote:
> >
> >[...]
> >
> >>The "brutal" thing is to create a separate thread for this.
> >>After all, as far as I understand you, all you want to do is to
> >>display a special channel list. You shouldn't need to use a separate
> >>thread for that. Couldn't you just use the OSD as it is right now
> >>for the time being, and once I come up with a way to let a plugin
> >>re-open the OSD you could use that feature.
> >>
> >
> >I think it would be helpfull, if a plugin wouldn't needed to be concerned with 
> >opening the OSD at all. VDR itself mostly access the OSD through Interface. 
> >it might be best to rework cInterface and remove some of the implied 
> >dependencies (hint: cOsd::Open()). Even merging cInterface and cOsd migth be 
> >possible.
> >The ultimate goal should IMHO be to remove the collision beetwen core vdr 
> >functions and plugins when accessing the OSD (like an OSD displaying a 
> >progress bar and VDR opening the main menu). The mentioned ability to reopen 
> >the OSD would still leave that conflict unresolved
> >
> >However, given that the current implementation works, it don't see to much 
> >pressing needs to make such a change a top priority.
> >
> >Andreas
> >
> >
> >
> 
> 
> 
> 
> 


-- 
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.




Home | Main Index | Thread Index