summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-02-14 12:24:25 +0100
committerAndreas Mair <amair.sob@googlemail.com>2007-02-14 12:24:25 +0100
commit2ced4d35c533969fdb0ee6fa963a2fef26c50b79 (patch)
treeb49facd42724fda2ad7c294479373d8f0f08a527 /common.h
downloadvdr-plugin-skinenigmang-2ced4d35c533969fdb0ee6fa963a2fef26c50b79.tar.gz
vdr-plugin-skinenigmang-2ced4d35c533969fdb0ee6fa963a2fef26c50b79.tar.bz2
2007-02-14: Version 0.0.1v0.0.1
- Initial release.
Diffstat (limited to 'common.h')
-rw-r--r--common.h22
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