diff options
| author | Thomas Reufer <thomas@reufer.ch> | 2015-08-23 19:00:15 +0200 |
|---|---|---|
| committer | Thomas Reufer <thomas@reufer.ch> | 2015-08-23 19:00:15 +0200 |
| commit | 3620e2eebc6df1c86a6a5bb291f11ddf2b1caac8 (patch) | |
| tree | e7b3cdbff46d46426e93057ca28e4721c4d764ba /tools.h | |
| download | vdr-plugin-amlhddevice-3620e2eebc6df1c86a6a5bb291f11ddf2b1caac8.tar.gz vdr-plugin-amlhddevice-3620e2eebc6df1c86a6a5bb291f11ddf2b1caac8.tar.bz2 | |
initial prototype
- tested:
- live TV
- frame buffer OSD
- missing:
- A/V sync
- replay mode
- much more...
Diffstat (limited to 'tools.h')
| -rw-r--r-- | tools.h | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -0,0 +1,35 @@ +/* + * See the README file for copyright information and how to reach the author. + * + * $Id$ + */ + +#ifndef TOOLS_H +#define TOOLS_H + +#include <vdr/tools.h> + +#define ELOG(a...) esyslog("amlhddevice: " a) +#define ILOG(a...) isyslog("amlhddevice: " a) +#define DLOG(a...) dsyslog("amlhddevice: " a) + +#ifdef DEBUG +#define DBG(a...) dsyslog("amlhddevice: " a) +#else +#define DBG(a...) void() +#endif + +class cSysFs +{ + +public: + + static bool Write(const char *path, const char *value); + static bool Write(const char *path, int value); + +private: + + cSysFs(); +}; + +#endif |
