diff options
author | Christian Völlinger <zerov83@gmail.com> | 2013-12-02 19:57:54 +0100 |
---|---|---|
committer | Christian Völlinger <zerov83@gmail.com> | 2013-12-02 19:57:54 +0100 |
commit | 47e367a8524a09dbdce8016296a611674e536225 (patch) | |
tree | c435f431a4964e1f8e8d4d54032c31c3f8ca2120 /common.h | |
parent | 620ea3a800f2235abf45a57ca898bf96473c576b (diff) | |
download | vdr-plugin-boblight-47e367a8524a09dbdce8016296a611674e536225.tar.gz vdr-plugin-boblight-47e367a8524a09dbdce8016296a611674e536225.tar.bz2 |
Initial commit0.0.1
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 45 |
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 |