MythTV  master
mythversion.h
Go to the documentation of this file.
1 #ifndef MYTHVERSION_H_
2 #define MYTHVERSION_H_
3 
4 #include <qglobal.h>
5 #include "mythbaseexp.h"
6 #include "mythconfig.h"
7 
8 #if ( QT_VERSION < QT_MIN_VERSION )
9 #error "You need a newer version of Qt to compile MythTV. Please re-run 'configure'."
10 #endif
11 
15 static constexpr const char* MYTH_BINARY_VERSION { "33.20220913-1" };
16 
47 static constexpr const char* MYTH_PROTO_VERSION { "91" };
48 static constexpr const char* MYTH_PROTO_TOKEN { "BuzzOff" };
49 /*
50  * Protocol cleanups needed:
51  *
52  * Inconsistent handling of invalid QDateTime objects:
53  * QUERY_PIXMAP_GET_IF_MODIFIED -> QString("-1")
54  * QUERY_PIXMAP_LASTMODIFIED -> "BAD"
55  * QUERY_SG_FILEQUERY -> QString((uint)-1) -> "4294967295"
56  * Everything that serializes ProgramInfo
57  * -> QString((uint)-1) -> "4294967295"
58  */
59 
77 static constexpr const char* MYTH_DATABASE_VERSION { "1376" };
78 
80 MBASE_PUBLIC const char *GetMythSourcePath();
81 
82 #endif
mythbaseexp.h
MYTH_PROTO_VERSION
static constexpr const char * MYTH_PROTO_VERSION
Increment this whenever the MythTV network protocol changes.
Definition: mythversion.h:47
MBASE_PUBLIC
#define MBASE_PUBLIC
Definition: mythbaseexp.h:15
MYTH_DATABASE_VERSION
static constexpr const char * MYTH_DATABASE_VERSION
Increment this whenever the MythTV core database schema changes.
Definition: mythversion.h:77
MYTH_BINARY_VERSION
static constexpr const char * MYTH_BINARY_VERSION
Update this whenever the plug-in ABI changes.
Definition: mythversion.h:15
GetMythSourceVersion
const MBASE_PUBLIC char * GetMythSourceVersion()
Definition: mythversion.cpp:5
MYTH_PROTO_TOKEN
static constexpr const char * MYTH_PROTO_TOKEN
Definition: mythversion.h:48
GetMythSourcePath
const MBASE_PUBLIC char * GetMythSourcePath()
Definition: mythversion.cpp:10