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

Go to the source code of this file.

Functions

static bool UpdateDBVersionNumber (const QString &newnumber)
 
static bool performActualUpdate (const QStringList &updates, const QString &version, QString &dbver)
 
bool InitializeDatabase ()
 

Variables

const QString currentDatabaseVersion = "1006"
 

Function Documentation

◆ UpdateDBVersionNumber()

static bool UpdateDBVersionNumber ( const QString &  newnumber)
static

Definition at line 13 of file mythplugins/mythweather/mythweather/dbcheck.cpp.

Referenced by performActualUpdate().

◆ performActualUpdate()

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

Definition at line 27 of file mythplugins/mythweather/mythweather/dbcheck.cpp.

Referenced by InitializeDatabase().

◆ InitializeDatabase()

bool InitializeDatabase ( void  )

Variable Documentation

◆ currentDatabaseVersion

const QString currentDatabaseVersion = "1006"

Definition at line 11 of file mythplugins/mythweather/mythweather/dbcheck.cpp.

Referenced by InitializeDatabase().