forked from BlastarIndia/msword
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautosave.h
39 lines (30 loc) · 853 Bytes
/
autosave.h
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
#ifdef AUTOSAVE
typedef struct _asd
{
long mscBase;
long dcpEdit;
long mscPostpone;
long dmscLastPostpone;
} ASD;
typedef struct _tmr
{
long dmscMin;
long dmscDelta;
int kdcpRange;
} TMR; /* Time Range. */
#define dmscMinute (60L * 1000L)
#define TmrForMinMaxKdcp(mMin,mMax,kdcp) { (mMin)*dmscMinute, \
(((mMax)-(mMin))*dmscMinute)/elMost, (kdcp) }
#define elMost 6
#define dmscPostponeDef (5 * dmscMinute)
/* Special values returned from DMinuteUserPostpone. */
#define dMinuteCancel -1
#define dMinuteError -2
#define AccumulateDcpEdit(dcp) (asd.dcpEdit += (long) (dcp))
int DMinuteUserPostpone();
#endif /* AUTOSAVE */
#define iASHigh 0
#define iASMedium 1
#define iASLow 2
#define iASNever 3
#define iASMac 4