MythTV  master
Classes | Macros | Functions | Variables
gamesettings.cpp File Reference
#include <QCoreApplication>
#include <mythdb.h>
#include <mythdirs.h>
#include "gamesettings.h"
Include dependency graph for gamesettings.cpp:

Go to the source code of this file.

Classes

struct  GameTypes
 
struct  GameDBStorage
 Game player database table reader/writer. More...
 
struct  TextEdit
 Base for Game textual settings. More...
 
struct  Name
 
struct  Command
 
struct  GameType
 
struct  RomPath
 
struct  WorkingDirPath
 
struct  Extensions
 
struct  AllowMultipleRoms
 

Macros

#define TR   GameGeneralSettings::tr
 
#define TR   GamePlayerSetting::tr
 

Functions

QString GetGameTypeName (const QString &GameType)
 
QString GetGameTypeExtensions (const QString &GameType)
 
static HostTextEditSettingGameAllTreeLevels ()
 
static HostTextEditSettingGameFavTreeLevels ()
 
static HostCheckBoxSettingGameDeepScan ()
 
static HostCheckBoxSettingGameRemovalPrompt ()
 
static HostCheckBoxSettingGameShowFileNames ()
 
static HostCheckBoxSettingGameTreeView ()
 
static HostTextEditSettingGetScreenshotDir ()
 
static HostTextEditSettingGetFanartDir ()
 
static HostTextEditSettingGetBoxartDir ()
 

Variables

const std::array< GameTypes, 12 > GameTypeList
 

Macro Definition Documentation

◆ TR [1/2]

#define TR   GameGeneralSettings::tr

Definition at line 184 of file gamesettings.cpp.

◆ TR [2/2]

#define TR   GamePlayerSetting::tr

Definition at line 184 of file gamesettings.cpp.

Function Documentation

◆ GetGameTypeName()

QString GetGameTypeName ( const QString &  GameType)

Definition at line 30 of file gamesettings.cpp.

Referenced by GamePlayersList::Load().

◆ GetGameTypeExtensions()

QString GetGameTypeExtensions ( const QString &  GameType)

Definition at line 40 of file gamesettings.cpp.

◆ GameAllTreeLevels()

static HostTextEditSetting* GameAllTreeLevels ( )
static

Definition at line 54 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GameFavTreeLevels()

static HostTextEditSetting* GameFavTreeLevels ( )
static

Definition at line 67 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GameDeepScan()

static HostCheckBoxSetting* GameDeepScan ( )
static

Definition at line 80 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GameRemovalPrompt()

static HostCheckBoxSetting* GameRemovalPrompt ( )
static

Definition at line 94 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GameShowFileNames()

static HostCheckBoxSetting* GameShowFileNames ( )
static

Definition at line 106 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GameTreeView()

static HostCheckBoxSetting* GameTreeView ( )
static

Definition at line 118 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GetScreenshotDir()

static HostTextEditSetting* GetScreenshotDir ( )
static

Definition at line 130 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GetFanartDir()

static HostTextEditSetting* GetFanartDir ( )
static

Definition at line 142 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

◆ GetBoxartDir()

static HostTextEditSetting* GetBoxartDir ( )
static

Definition at line 154 of file gamesettings.cpp.

Referenced by GameGeneralSettings::GameGeneralSettings().

Variable Documentation

◆ GameTypeList

const std::array<GameTypes,12> GameTypeList
Initial value:
{{
{ QT_TRANSLATE_NOOP("(GameTypes)", "OTHER"), "OTHER", "" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "AMIGA"), "AMIGA", "adf,ipf" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "ATARI"), "ATARI", "bin,a26" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "GAMEGEAR"), "GAMEGEAR", "gg" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "GENESIS/MEGADRIVE"), "GENESIS", "smd,bin,md" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "MAME"), "MAME", "" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "N64"), "N64", "v64,n64" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "NES"), "NES", "zip,nes" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "PC GAME"), "PC", "" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "PCE/TG16"),"PCE", "pce" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "SEGA/MASTER SYSTEM"), "SEGA", "sms" },
{ QT_TRANSLATE_NOOP("(GameTypes)", "SNES"), "SNES", "zip,smc,sfc,fig,swc" }
}}

Definition at line 14 of file gamesettings.cpp.

Referenced by GameType::GameType(), GetGameTypeExtensions(), and GetGameTypeName().