Mailing List archive

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

[vdr] Re: OSD: is it allowed to have multiple instances



Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> wrote:

> At any given time there may only be _one_ instance of cOsd.
> Maybe I should change cDvbOsdProvider::CreateOsd() so that
> it enforces this by returning NULL in case another cOsd is
> requested beforethe previous one has been destroyed.

you could make the cOsd class a singleton. you are aware of this design
pattern, arn't you?

best regards ...
clemens




Home | Main Index | Thread Index