MythTV  master
Macros | Functions
mythversion.h File Reference
#include <qglobal.h>
#include "mythbaseexp.h"
#include "mythconfig.h"
#include "version.h"
Include dependency graph for mythversion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MYTH_BINARY_VERSION   "30.20181231-1"
 Update this whenever the plug-in ABI changes. More...
 
#define MYTH_PROTO_VERSION   "91"
 Increment this whenever the MythTV network protocol changes. More...
 
#define MYTH_PROTO_TOKEN   "BuzzOff"
 
#define MYTH_DATABASE_VERSION   "1350"
 Increment this whenever the MythTV core database schema changes. More...
 

Functions

MBASE_PUBLIC const char * GetMythSourceVersion ()
 

Macro Definition Documentation

◆ MYTH_BINARY_VERSION

#define MYTH_BINARY_VERSION   "30.20181231-1"

Update this whenever the plug-in ABI changes.

Including changes in the libmythbase, libmyth, libmythtv, libmythav* and libmythui class methods in exported headers.

Definition at line 16 of file mythversion.h.

◆ MYTH_PROTO_VERSION

#define MYTH_PROTO_VERSION   "91"

Increment this whenever the MythTV network protocol changes.

Note that the token currently cannot contain spaces.

You must also update this value and any corresponding changes to the ProgramInfo network protocol layout in the following files:

MythWeb mythweb/modules/tv/classes/Program.php (layout)

MythTV Perl Bindings mythtv/bindings/perl/MythTV.pm (PROTO_VERSION, PROTO_TOKEN) mythtv/bindings/perl/MythTV.pm (NUMPROGRAMLINES) mythtv/bindings/perl/MythTV/Program.pm (_parse_data, to_string)

MythTV PHP Bindings mythtv/bindings/php/MythBackend.php (protocol_version, protocol_token) mythtv/bindings/php/MythBackend.php (program_line_number) mythtv/bindings/php/MythTVProgram.php (layout) (but only to reflect new columns in the program table) mythtv/bindings/php/MythTVRecording.php (layout) (but only to reflect new columns in the recorded table)

MythTV Python Bindings mythtv/bindings/python/MythTV/static.py (PROTO_VERSION, PROTO_TOKEN) mythtv/bindings/python/MythTV/mythproto.py (layout)

Be kind and update the wiki as well. http://www.mythtv.org/wiki/Category:Myth_Protocol_Commands http://www.mythtv.org/wiki/Category:Myth_Protocol

Definition at line 48 of file mythversion.h.

◆ MYTH_PROTO_TOKEN

#define MYTH_PROTO_TOKEN   "BuzzOff"

Definition at line 49 of file mythversion.h.

◆ MYTH_DATABASE_VERSION

#define MYTH_DATABASE_VERSION   "1350"

Increment this whenever the MythTV core database schema changes.

You must update the schema handler to implement the new schema: mythtv/libs/libmythtv/dbcheck.cpp

You must also update the following files to independently check:

MythTV Perl Bindings mythtv/bindings/perl/MythTV.pm

MythTV Python Bindings mythtv/bindings/python/MythTV/static.py

MythTV PHP Bindings mythtv/bindings/php/MythBackend.php

Definition at line 78 of file mythversion.h.

Function Documentation

◆ GetMythSourceVersion()

MBASE_PUBLIC const char* GetMythSourceVersion ( )