MythTV  master
Macros | Functions | Variables
gamehandler.cpp File Reference
#include "gamehandler.h"
#include "rominfo.h"
#include "rom_metadata.h"
#include <QDir>
#include <QList>
#include <QRegExp>
#include <utility>
#include <mythdb.h>
#include <mythdbcon.h>
#include <mythsystemlegacy.h>
#include <mythcontext.h>
#include <mythuihelper.h>
#include <mythdialogbox.h>
#include <mythmainwindow.h>
#include <mythprogressdialog.h>
Include dependency graph for gamehandler.cpp:

Go to the source code of this file.

Macros

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

Functions

static void checkHandlers (void)
 
static void purgeGameDB (const QString &filename, const QString &RomPath)
 
static void updateDisplayRom (const QString &romname, int display, const QString &Systemname)
 
static void updateDiskCount (const QString &romname, int diskcount, const QString &GameType)
 
static void updateGameName (const QString &romname, const QString &GameName, const QString &Systemname)
 
static void UpdateGameCounts (QStringList updatelist)
 

Variables

static QList< GameHandler * > * handlers = nullptr
 

Macro Definition Documentation

◆ LOC_ERR

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

Definition at line 20 of file gamehandler.cpp.

◆ LOC

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

Definition at line 21 of file gamehandler.cpp.

Function Documentation

◆ checkHandlers()

static void checkHandlers ( void  )
static

Definition at line 25 of file gamehandler.cpp.

Referenced by GameHandler::count(), and GameHandler::processAllGames().

◆ purgeGameDB()

static void purgeGameDB ( const QString &  filename,
const QString &  RomPath 
)
static

Definition at line 188 of file gamehandler.cpp.

Referenced by GameHandler::customEvent(), and GameHandler::promptForRemoval().

◆ updateDisplayRom()

static void updateDisplayRom ( const QString &  romname,
int  display,
const QString &  Systemname 
)
static

Definition at line 242 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ updateDiskCount()

static void updateDiskCount ( const QString &  romname,
int  diskcount,
const QString &  GameType 
)
static

Definition at line 257 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ updateGameName()

static void updateGameName ( const QString &  romname,
const QString &  GameName,
const QString &  Systemname 
)
static

Definition at line 272 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ UpdateGameCounts()

static void UpdateGameCounts ( QStringList  updatelist)
static

Definition at line 288 of file gamehandler.cpp.

Referenced by GameHandler::processAllGames().

Variable Documentation

◆ handlers

QList<GameHandler*>* handlers = nullptr
static