summaryrefslogtreecommitdiff
path: root/vdrtools.h
diff options
context:
space:
mode:
Diffstat (limited to 'vdrtools.h')
-rw-r--r--vdrtools.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/vdrtools.h b/vdrtools.h
index 9f97735..95a27b1 100644
--- a/vdrtools.h
+++ b/vdrtools.h
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: vdrtools.h 0.1 2004/10/08 02:03:31 hflor Exp $
+ * $Id: vdrtools.h 0.4 2005/11/16 18:39:18 hflor Exp $
*/
#ifndef __VDRTOOLS_H
@@ -13,13 +13,37 @@
#include <vdr/osd.h>
#include <vdr/osdbase.h>
+#if VDRVERSNUM < 10318
+class cReadLine {
+private:
+ size_t size;
+ char *buffer;
+public:
+ cReadLine(void);
+ ~cReadLine();
+ char *Read(FILE *f);
+ };
+#endif
+
+#ifdef HAVE_SVDRP
+bool GetVDRSize(const char *dir, long long &llSize);
+#endif
char *SkipQuote(char *s);
char *ExchangeChars(char *s, bool ToFileSystem);
#ifdef UND_Debug1
+ #define UND_Debug
+#endif
+#ifdef UND_Debug2
+ #define UND_Debug
+#endif
+#ifdef UND_Debug3
+ #define UND_Debug
+#endif
+
+#ifdef UND_Debug
const char *KeyName(eKeys Key);
const char *OSStateName(eOSState OSState);
#endif
-
#endif //__VDRTOOLS_H