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

Go to the source code of this file.

Functions

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

Variables

const QString currentDatabaseVersion = "1003"
 

Function Documentation

◆ UpdateDBVersionNumber()

static bool UpdateDBVersionNumber ( const QString &  newnumber)
static

Definition at line 17 of file mythplugins/mythgallery/mythgallery/dbcheck.cpp.

Referenced by performActualUpdate().

◆ performActualUpdate()

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

◆ UpgradeGalleryDatabaseSchema()

bool UpgradeGalleryDatabaseSchema ( void  )

Definition at line 68 of file mythplugins/mythgallery/mythgallery/dbcheck.cpp.

Referenced by mythplugin_init().

Variable Documentation

◆ currentDatabaseVersion

const QString currentDatabaseVersion = "1003"