[mythtv] "global" keys?

Renchi Raju renchi at pooh.tam.uiuc.edu
Wed Sep 24 13:02:56 EDT 2003


On Wed, 24 Sep 2003, Chris Petersen wrote:

> > 	Not easy. You could .... make every module return exit codes
> > (signalling what the user wanted to do next), and then rewrite all of
> > them to accept certain global keypresses, shut themselves down and
> > spit out the right exit codes.
>
> Isn't this what IPC is for?  let mythfrontend catch ALL keys, trap for
> some, and pass the rest along via IPC/signals/whatever to the individual
> programs?

IPC is needed only if you have separate processes running which need to
communicate. since in mythfrontend all modules are derived as children of
mythfrontend, there is no need for IPC. you can "communicate" directly
using function calls.


More information about the mythtv-dev mailing list