diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-16 09:36:10 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-16 09:36:10 +0200 |
commit | 73917abf6036ab12f9c47545bba4395798003d86 (patch) | |
tree | 2cde3a9a46cc38b6c620c203307ad0ff2d63fe99 /config.h | |
parent | 5dccc91c62206980c9e5e6abbc9fb4865fed209a (diff) | |
download | vdr-73917abf6036ab12f9c47545bba4395798003d86.tar.gz vdr-73917abf6036ab12f9c47545bba4395798003d86.tar.bz2 |
Implemented APIVERSION for the VDR plugin API version number
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.250 2006/04/14 09:46:32 kls Exp $ + * $Id: config.h 1.251 2006/04/16 09:36:10 kls Exp $ */ #ifndef __CONFIG_H @@ -19,9 +19,22 @@ #include "i18n.h" #include "tools.h" +// VDR's own version number: + #define VDRVERSION "1.3.47" #define VDRVERSNUM 10347 // Version * 10000 + Major * 100 + Minor +// The plugin API's version number: + +#define APIVERSION "1.3.47" +#define APIVERSNUM 10347 // Version * 10000 + Major * 100 + Minor + +// When loading plugins, VDR searches them by their APIVERSION, which +// may be smaller than VDRVERSION in case there have been no changes to +// VDR header files since the last APIVERSION. This allows compiled +// plugins to work with newer versions of the core VDR as long as no +// VDR header files have changed. + #define MAXPRIORITY 99 #define MAXLIFETIME 99 |