summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2012-11-28 09:17:32 +0100
committerhorchi <vdr@jwendel.de>2012-11-28 09:17:32 +0100
commit0197b5c98cdeec3740644655963e1f100d73998e (patch)
tree029168cfc6a31cb3bb6309f2b8ae577302307d8d /common.h
downloadvdr-plugin-seduatmo-0197b5c98cdeec3740644655963e1f100d73998e.tar.gz
vdr-plugin-seduatmo-0197b5c98cdeec3740644655963e1f100d73998e.tar.bz2
initial Release of vdr-plugin-seduatmo
Diffstat (limited to 'common.h')
-rw-r--r--common.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..747a085
--- /dev/null
+++ b/common.h
@@ -0,0 +1,45 @@
+/*
+ * common.h: EPG2VDR plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __COMMON_H
+#define __COMMON_H
+
+//***************************************************************************
+//
+//***************************************************************************
+
+enum Misc
+{
+ success = 0,
+ done = success,
+ fail = -1,
+ ignore = -2,
+ na = -1,
+ yes = 1,
+ on = 1,
+ off = 0,
+ no = 0,
+ TB = 1
+};
+
+//***************************************************************************
+// Time
+//***************************************************************************
+
+typedef unsigned long long MsTime;
+
+MsTime msNow();
+
+//***************************************************************************
+// Tell
+//***************************************************************************
+
+void tell(int eloquence, const char* format, ...);
+int error(const char* format, ...);
+
+//***************************************************************************
+#endif //___COMMON_H