[mythtv] [PATCH] Limit the updates for nonexisting LCD
Ed Wildgoose
lists at wildgooses.com
Sat Oct 9 09:47:23 UTC 2004
>Not really - I think the current stuff could be done better, in that all the
>code in the various modules (eg, mythmusic) generally does a lot of extra
>work that it wouldn't have to if the lcd weren't present. As long as there's
>no additional dependencies, I don't have a problem getting rid of it being a
>compile-time option.
>
>
I have been thinking recently about introducing a kind of "status"
object into each module. The LCD code, or anything else interested in
current module state, would then read off the status object and format
it appropriately. This would also make it possible to build palm pilot
or web type status monitors and perhaps remote controls as well
The status object would probably fire an event when the main code made a
change, so that interested receivers could do their updates (like the
LCD screen).
Any thoughts on how to do a generic status object which is then
subclassed for each specific module? How does this sound for an
approach generally?
Ed W
More information about the mythtv-dev
mailing list