diff options
| author | Martin Dummer <martin.dummer@gmx.net> | 2012-07-01 22:59:49 +0200 |
|---|---|---|
| committer | Martin Dummer <martin.dummer@gmx.net> | 2012-07-01 22:59:49 +0200 |
| commit | 95a45ede4ab99e39c9fdf02aea58b46068208f89 (patch) | |
| tree | 033e6ac9cb51424a2eeff02d84f69b88f0d5feaf | |
| parent | 80ee7faf17270a9aaeeb54d12521d929faf00dad (diff) | |
| download | vdr-plugin-playlist-95a45ede4ab99e39c9fdf02aea58b46068208f89.tar.gz vdr-plugin-playlist-95a45ede4ab99e39c9fdf02aea58b46068208f89.tar.bz2 | |
Changes for VDR >= 1.5.7 by Thomas Günther <tom@toms-cafe.de>
| -rw-r--r-- | HISTORY | 1 | ||||
| -rw-r--r-- | playlist.c | 4 | ||||
| -rw-r--r-- | playlist.h | 4 |
3 files changed, 9 insertions, 0 deletions
@@ -17,4 +17,5 @@ VDR Plugin 'playlist' Revision History Adds -fPIC to Makefile to fix potential FTBFS Support for the APIVERSION define as introduced in VDR-1.3.47 by Thomas Günther <tom@toms-cafe.de> Changes for VDR >= 1.3.25 and VDR >= 1.3.36 by viking at vdrportal.de + Changes for VDR >= 1.5.7 by Thomas Günther <tom@toms-cafe.de> @@ -159,7 +159,11 @@ cPluginPlaylist::cPluginPlaylist(void) // Initialize any member variables here. // DON'T DO ANYTHING ELSE THAT MAY HAVE SIDE EFFECTS, REQUIRE GLOBAL // VDR OBJECTS TO EXIST OR PRODUCE ANY OUTPUT! +#if VDRVERSNUM >= 10507 + OSDLanguage = NULL; +#else OSDLanguage = -1; +#endif PluginPlaylist = this; } @@ -139,7 +139,11 @@ void ExpandEnvironment(tParamFile *FileStruc); class cPluginPlaylist : public cPlugin { private: // Add any member variables or functions you may need here. +#if VDRVERSNUM >= 10507 + const char *OSDLanguage; +#else int OSDLanguage; +#endif void TestAndSetOSDLanguage(void); bool ProcessArg(int argc, char *argv[]); |
