MythTV  master
Macros | Functions | Variables
gamehandler.cpp File Reference
#include "gamehandler.h"
#include "rominfo.h"
#include "rom_metadata.h"
#include <QRegExp>
#include <QDir>
#include <QList>
#include <mythdb.h>
#include <mythdbcon.h>
#include <mythsystemlegacy.h>
#include <mythcontext.h>
#include <mythdialogs.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 (QString filename, QString RomPath)
 
static void updateDisplayRom (QString romname, int display, QString Systemname)
 
static void updateDiskCount (QString romname, int diskcount, QString GameType)
 
static void updateGameName (QString romname, QString GameName, 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 ( QString  filename,
QString  RomPath 
)
static

Definition at line 188 of file gamehandler.cpp.

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

◆ updateDisplayRom()

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

Definition at line 242 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ updateDiskCount()

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

Definition at line 257 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ updateGameName()

static void updateGameName ( QString  romname,
QString  GameName,
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