diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-10-11 09:38:07 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-10-11 09:38:07 +0200 |
commit | 01d7269904ba4fca551cca8ff9d1dcb85fa3456a (patch) | |
tree | ba2d92a490b625e27bdfb395907710a01ca91dc9 | |
parent | 7c72f7932992b4dffa84857567f8ccadc49ad571 (diff) | |
download | vdr-01d7269904ba4fca551cca8ff9d1dcb85fa3456a.tar.gz vdr-01d7269904ba4fca551cca8ff9d1dcb85fa3456a.tar.bz2 |
Removed the deprecated VideoDirectory variable
-rw-r--r-- | HISTORY | 5 | ||||
-rw-r--r-- | videodir.c | 8 | ||||
-rw-r--r-- | videodir.h | 7 |
3 files changed, 2 insertions, 18 deletions
@@ -7961,11 +7961,6 @@ Video Disk Recorder Revision History PrefixVideoFileName() are now static members of cVideoDirectory and need to be called with the proper prefix. + The name of the video directory is now available through cVideoDirectory::Name(). - The former global variable VideoDirectory is still there for backwards compatibility, - but will be removed in a future version. Comment out the line - #define DEPRECATED_VIDEODIR - in videodir.h and recompile your plugins to see whether your code will work without - this variable. If you get a compile error, replace it with cVideoDirectory::Name(). - Added renaming and moving recordings and folders, editing a recording's priority and lifetime, and queueing cutting jobs (inspired by the "extrecmenu" plugin from Martin Prochnow). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: videodir.c 3.3 2013/10/08 13:26:41 kls Exp $ + * $Id: videodir.c 3.4 2013/10/11 09:38:07 kls Exp $ */ #include "videodir.h" @@ -19,9 +19,6 @@ #include "recording.h" #include "tools.h" -#ifdef DEPRECATED_VIDEODIR -const char *VideoDirectory = VIDEODIR; -#endif cString cVideoDirectory::name; cVideoDirectory *cVideoDirectory::current = NULL; @@ -61,9 +58,6 @@ const char *cVideoDirectory::Name(void) void cVideoDirectory::SetName(const char *Name) { name = Name; -#ifdef DEPRECATED_VIDEODIR - VideoDirectory = Name; -#endif } bool cVideoDirectory::Register(const char *FileName) @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: videodir.h 3.1 2013/09/11 12:19:47 kls Exp $ + * $Id: videodir.h 3.2 2013/10/11 09:37:48 kls Exp $ */ #ifndef __VIDEODIR_H @@ -13,11 +13,6 @@ #include <stdlib.h> #include "tools.h" -#define DEPRECATED_VIDEODIR -#ifdef DEPRECATED_VIDEODIR -extern const char *VideoDirectory; -#endif - class cVideoDirectory { private: static cString name; |