summaryrefslogtreecommitdiff
path: root/cd/include/cdcgm.h
blob: 2e686a7ed5fce3783e60df15a9cb6fcb831624f8 (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
/** \file
 * \brief CGM driver
 *
 * See Copyright Notice in cd.h
 */

#ifndef __CD_CGM_H
#define __CD_CGM_H

#ifdef __cplusplus
extern "C" {
#endif

cdContext* cdContextCGM(void);
#define CD_CGM cdContextCGM()

#define CD_CGMCOUNTERCB 1
#define CD_CGMSCLMDECB 2
#define CD_CGMVDCEXTCB 3
#define CD_CGMBEGPICTCB 4
#define CD_CGMBEGPICTBCB 5
#define CD_CGMBEGMTFCB 6

/* OLD definitions, defined for backward compatibility */
#define CDPLAY_ABORT CD_ABORT
#define CDPLAY_GO CD_CONTINUE

#ifdef __cplusplus
}
#endif

#endif /* ifndef __CD_CGM_ */