[mythtv] puzzles about the MythHello plugin source code?----about gContext ???

Xi Jiarong XiJiarong at sp.edu.sg
Wed Mar 14 14:38:02 UTC 2007

the sample plugin: How to build MythHello plugin:
I am puzzled about the gContext??? what's this variable?
How to understand the following (1)(2)(3)(4) four lines??

int mythplugin_run (void)
 (1)   gContext->addCurrentLocation("mythhello");

 (2)    MythHello hello(gContext->GetMainWindow(), "hello", "hello-");
 (3)   hello.exec();

 (4)    gContext->removeCurrentLocation();

    return 1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20070314/1d41cc4f/attachment.htm 

More information about the mythtv-dev mailing list