blob: 747a0855034044fc7f64f659eb90d31c2db9457e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
|