MythTV  master
Classes | Macros | Functions
mythgame.cpp File Reference
#include <libmyth/mythcontext.h>
#include <libmythbase/lcddevice.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythpluginapi.h>
#include <libmythbase/mythversion.h>
#include <libmythui/myththemedmenu.h>
#include <libmythui/mythuihelper.h>
#include "gamedbcheck.h"
#include "gamehandler.h"
#include "gamesettings.h"
#include "gameui.h"
Include dependency graph for mythgame.cpp:

Go to the source code of this file.

Classes

struct  GameData
 

Macros

#define LOC_ERR   QString("MythGame:MAIN Error: ")
 
#define LOC   QString("MythGame:MAIN: ")
 

Functions

static void GameCallback (void *data, QString &selection)
 
static int runMenu (const QString &which_menu)
 
static int RunGames (void)
 
static void runGames (void)
 
static void setupKeys (void)
 
int mythplugin_init (const char *libversion)
 
int mythplugin_run (void)
 
int mythplugin_config (void)
 

Macro Definition Documentation

◆ LOC_ERR

#define LOC_ERR   QString("MythGame:MAIN Error: ")

Definition at line 16 of file mythgame.cpp.

◆ LOC

#define LOC   QString("MythGame:MAIN: ")

Definition at line 17 of file mythgame.cpp.

Function Documentation

◆ GameCallback()

static void GameCallback ( void *  data,
QString &  selection 
)
static

Definition at line 23 of file mythgame.cpp.

Referenced by runMenu().

◆ runMenu()

static int runMenu ( const QString &  which_menu)
static

Definition at line 63 of file mythgame.cpp.

Referenced by mythplugin_config().

◆ RunGames()

static int RunGames ( void  )
static

Definition at line 91 of file mythgame.cpp.

Referenced by mythplugin_run(), and runGames().

◆ runGames()

static void runGames ( void  )
static

Definition at line 105 of file mythgame.cpp.

Referenced by setupKeys().

◆ setupKeys()

static void setupKeys ( void  )
static

Definition at line 110 of file mythgame.cpp.

Referenced by mythplugin_init().

◆ mythplugin_init()

int mythplugin_init ( const char *  libversion)

Definition at line 125 of file mythgame.cpp.

◆ mythplugin_run()

int mythplugin_run ( void  )

Definition at line 145 of file mythgame.cpp.

◆ mythplugin_config()

int mythplugin_config ( void  )

Definition at line 150 of file mythgame.cpp.