MythTV  master
Macros | Functions | Variables
gamehandler.cpp File Reference
#include <utility>
#include <QDir>
#include <QList>
#include <QRegularExpression>
#include <libmyth/mythcontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcon.h>
#include <libmythbase/mythsystemlegacy.h>
#include <libmythui/mythdialogbox.h>
#include <libmythui/mythmainwindow.h>
#include <libmythui/mythprogressdialog.h>
#include <libmythui/mythuihelper.h>
#include "gamehandler.h"
#include "rominfo.h"
#include "rom_metadata.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 (const QStringList &updatelist)
 

Variables

static QList< GameHandler * > * handlers = nullptr
 

Macro Definition Documentation

◆ LOC_ERR

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

Definition at line 24 of file gamehandler.cpp.

◆ LOC

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

Definition at line 25 of file gamehandler.cpp.

Function Documentation

◆ checkHandlers()

static void checkHandlers ( void  )
static

Definition at line 29 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 195 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 249 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ updateDiskCount()

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

Definition at line 264 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ updateGameName()

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

Definition at line 279 of file gamehandler.cpp.

Referenced by UpdateGameCounts().

◆ UpdateGameCounts()

static void UpdateGameCounts ( const QStringList &  updatelist)
static

Definition at line 295 of file gamehandler.cpp.

Referenced by GameHandler::processAllGames().

Variable Documentation

◆ handlers

QList<GameHandler*>* handlers = nullptr
static