MythTV  master
Functions | Variables
gamedbcheck.cpp File Reference
#include <iostream>
#include <QString>
#include <QSqlError>
#include <mythcontext.h>
#include <mythdb.h>
#include <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 = "1019"
 
const QString MythGameVersionName = "GameDBSchemaVer"
 

Function Documentation

◆ InitializeDatabase()

static bool InitializeDatabase ( void  )
static

Definition at line 16 of file gamedbcheck.cpp.

Referenced by mythplugin_init(), and UpgradeGameDatabaseSchema().

◆ UpgradeGameDatabaseSchema()

bool UpgradeGameDatabaseSchema ( void  )

Definition at line 82 of file gamedbcheck.cpp.

Referenced by mythplugin_init().

Variable Documentation

◆ currentDatabaseVersion

const QString currentDatabaseVersion = "1019"

Definition at line 13 of file gamedbcheck.cpp.

Referenced by UpgradeGameDatabaseSchema().

◆ MythGameVersionName

const QString MythGameVersionName = "GameDBSchemaVer"

Definition at line 14 of file gamedbcheck.cpp.

Referenced by InitializeDatabase(), and UpgradeGameDatabaseSchema().