MythTV  master
mythdbcheck.h
Go to the documentation of this file.
1 #ifndef MYTHDBCHECK_H_
2 #define MYTHDBCHECK_H_
3 
4 #include <string>
5 #include <vector>
6 
7 #include "mythbaseexp.h"
8 
9 using DBUpdates = std::vector<std::string>;
10 
12  const QString &component, const QString &versionkey,
13  const DBUpdates &updates, const QString &version, QString &dbver);
14 
15 MBASE_PUBLIC bool performUpdateSeries(const QString &component, const DBUpdates& updates);
16 
17 MBASE_PUBLIC bool UpdateDBVersionNumber(const QString &component, const QString &versionkey,
18  const QString &newnumber, QString &dbver);
19 
20 #endif
performUpdateSeries
MBASE_PUBLIC bool performUpdateSeries(const QString &component, const DBUpdates &updates)
Definition: dbcheckcommon.cpp:81
mythbaseexp.h
UpdateDBVersionNumber
MBASE_PUBLIC bool UpdateDBVersionNumber(const QString &component, const QString &versionkey, const QString &newnumber, QString &dbver)
Updates the schema version stored in the database.
Definition: dbcheckcommon.cpp:29
MBASE_PUBLIC
#define MBASE_PUBLIC
Definition: mythbaseexp.h:15
DBUpdates
std::vector< std::string > DBUpdates
Definition: mythdbcheck.h:9
performActualUpdate
MBASE_PUBLIC bool performActualUpdate(const QString &component, const QString &versionkey, const DBUpdates &updates, const QString &version, QString &dbver)
Definition: dbcheckcommon.cpp:114
nv_python_libs.bbciplayer.bbciplayer_api.version
string version
Definition: bbciplayer_api.py:81