Mailing List archive

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

[vdr] Re: Where are the Docs for using cINterface::Interface,OSdMenu etc.?



Gunnar Roth wrote:
> 
> ...
> >Well, as it is so often: the source code is the documentation ;-)
> >
> well, its only  a suboptimal solution,a last resort ;-)
> but a few more comments on the class methods, would be a strong
> improvement.

Well, I tried to at least comment those parts that are of interest
for plugins.

> >>can the cInterface::Interface be accessed by a  thread other than the
> >>main thread? could not see any locking in the source.
> >>
> >>
> >
> >No, never use the Interface from a thread other than the main thread!
> >
> >
> Ok, thougt that already but was not sure about.
> Is there an easy way to delegate a task from a thread to the main thread?

You may want to look into how the replay progress display does it.
The OSD stuff must all be done in the forground thread, so if a background
thread wants to display something, it needs to tell the respective foreground
handler about this and the foreground code can ultimately display something.

> >>are there any docs? or will there be such docs someday?
> >>if not, a vdr documentation project should be started ;-)
> >>
> >>
> >
> >Well, it might have a hard time keeping up with the code changes ;-)
> >
> >
> Well the principles of osd use will not change that much, i think. or am
> i wrong?

I can't speculate on this right now. It may remain all the same or might
change radically. Depends on how things evolve...

Documentation separate from the source code is always at risk to become
outdated.

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
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index