MythTV  master
Functions | Variables
gamedbcheck.cpp File Reference
#include <iostream>
#include <QString>
#include <QSqlError>
#include <libmyth/mythcontext.h>
#include <libmythbase/mythdb.h>
#include <libmythbase/mythdbcheck.h>
#include "gamedbcheck.h"
#include "gamesettings.h"
Include dependency graph for gamedbcheck.cpp:

Go to the source code of this file.

Functions

static bool InitializeDatabase (void)
 
bool UpgradeGameDatabaseSchema (void)
 

Variables

const QString currentDatabaseVersion = "1020"
 
const QString MythGameVersionName = "GameDBSchemaVer"
 

Function Documentation

◆ InitializeDatabase()

static bool InitializeDatabase ( void  )
static

Definition at line 20 of file gamedbcheck.cpp.

Referenced by mythplugin_init(), and UpgradeGameDatabaseSchema().

◆ UpgradeGameDatabaseSchema()

bool UpgradeGameDatabaseSchema ( void  )

Definition at line 86 of file gamedbcheck.cpp.

Referenced by mythplugin_init().

Variable Documentation

◆ currentDatabaseVersion

const QString currentDatabaseVersion = "1020"

Definition at line 17 of file gamedbcheck.cpp.

Referenced by UpgradeGameDatabaseSchema().

◆ MythGameVersionName

const QString MythGameVersionName = "GameDBSchemaVer"

Definition at line 18 of file gamedbcheck.cpp.

Referenced by InitializeDatabase(), and UpgradeGameDatabaseSchema().