main.cpp File Reference

Go to the source code of this file.

Classes

struct  GameData

Functions

void GameCallback (void *data, QString &selection)
void runMenu (QString which_menu)
void runGames (void)
void setupKeys (void)
int mythplugin_init (const char *libversion)
 Initializes the plugin.
int mythplugin_run (void)
 Runs the plugin.
int mythplugin_config (void)
 Plug-in config handler, does nothing.


Function Documentation

void GameCallback ( void *  data,
QString &  selection 
)

Definition at line 27 of file mythplugins/mythgame/mythgame/main.cpp.

Referenced by runMenu().

void runMenu ( QString  which_menu  ) 

Definition at line 56 of file mythplugins/mythgame/mythgame/main.cpp.

void runGames ( void   ) 

Definition at line 123 of file mythplugins/mythgame/mythgame/main.cpp.

Referenced by mythplugin_run(), and setupKeys().

void setupKeys ( void   ) 

Definition at line 87 of file mythplugins/mythgame/mythgame/main.cpp.

int mythplugin_init ( const char *  libversion  ) 

Initializes the plugin.

Parameters:
libversion The mythtv library version.
Returns:
0 if all is well, otherwise -1

Definition at line 98 of file mythplugins/mythgame/mythgame/main.cpp.

int mythplugin_run ( void   ) 

Runs the plugin.

Returns:
0 if all is well, otherwise -1

Definition at line 131 of file mythplugins/mythgame/mythgame/main.cpp.

int mythplugin_config ( void   ) 

Plug-in config handler, does nothing.

Definition at line 137 of file mythplugins/mythgame/mythgame/main.cpp.


Generated on Sat Dec 18 05:15:53 2010 for MythTV by  doxygen 1.5.5