MythTV  master
Functions | Variables
mythplugins/mythmusic/mythmusic/dbcheck.cpp File Reference
#include <QString>
#include <QDir>
#include <QSqlError>
#include <iostream>
#include <musicmetadata.h>
#include <mythcontext.h>
#include <mythtv/mythdb.h>
#include <mythtv/schemawizard.h>
#include "dbcheck.h"
Include dependency graph for mythplugins/mythmusic/mythmusic/dbcheck.cpp:

Go to the source code of this file.

Functions

static bool doUpgradeMusicDatabaseSchema (QString &dbver)
 
static bool UpdateDBVersionNumber (const QString &newnumber)
 
static bool performActualUpdate (const QString updates[], const QString &version, QString &dbver)
 
bool UpgradeMusicDatabaseSchema (void)
 

Variables

const QString currentDatabaseVersion = "1024"
 

Function Documentation

◆ doUpgradeMusicDatabaseSchema()

static bool doUpgradeMusicDatabaseSchema ( QString &  dbver)
static

◆ UpdateDBVersionNumber()

static bool UpdateDBVersionNumber ( const QString &  newnumber)
static

Definition at line 19 of file mythplugins/mythmusic/mythmusic/dbcheck.cpp.

Referenced by performActualUpdate().

◆ performActualUpdate()

static bool performActualUpdate ( const QString  updates[],
const QString &  version,
QString &  dbver 
)
static

◆ UpgradeMusicDatabaseSchema()

bool UpgradeMusicDatabaseSchema ( void  )

Definition at line 70 of file mythplugins/mythmusic/mythmusic/dbcheck.cpp.

Referenced by mythplugin_init().

Variable Documentation

◆ currentDatabaseVersion

const QString currentDatabaseVersion = "1024"