diff options
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/common.h b/common.h new file mode 100644 index 0000000..0d23e78 --- /dev/null +++ b/common.h @@ -0,0 +1,22 @@ +/* + * common.h: The 'EnigmaNG' VDR skin + * + * See the README file for copyright information and how to reach the author. + * + */ + +#ifndef __SKINENIGMA_COMMON_H +#define __SKINENIGMA_COMMON_H + +#include <string> +#include <vdr/tools.h> + +#ifdef DEBUG +#define debug(x...) printf("EnigmaNG: " x); +#define error(x...) printf("EnigmaNG: " x); +#else +#define debug(x...) ; +#define error(x...) esyslog("EnigmaNG: " x); +#endif + +#endif // __SKINENIGMA_COMMON_H |