MythTV  master
Classes | Macros | Functions
mythplugins/mythgame/mythgame/main.cpp File Reference
#include "gameui.h"
#include "gamehandler.h"
#include "gamesettings.h"
#include "dbcheck.h"
#include <mythcontext.h>
#include <mythdbcon.h>
#include <mythversion.h>
#include <lcddevice.h>
#include <myththemedmenu.h>
#include <mythpluginapi.h>
#include <mythuihelper.h>
Include dependency graph for mythplugins/mythgame/mythgame/main.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 14 of file mythplugins/mythgame/mythgame/main.cpp.

◆ LOC

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

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

Function Documentation

◆ GameCallback()

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

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

Referenced by runMenu().

◆ runMenu()

static int runMenu ( const QString &  which_menu)
static

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

Referenced by mythplugin_config().

◆ RunGames()

static int RunGames ( void  )
static

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

Referenced by mythplugin_run(), and runGames().

◆ runGames()

static void runGames ( void  )
static

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

Referenced by setupKeys().

◆ setupKeys()

static void setupKeys ( void  )
static

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

Referenced by mythplugin_init().

◆ mythplugin_init()

int mythplugin_init ( const char *  libversion)

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

◆ mythplugin_run()

int mythplugin_run ( void  )

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

◆ mythplugin_config()

int mythplugin_config ( void  )

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