summaryrefslogtreecommitdiff
blob: 6c3020e6b2965f5263d0c28c227e4be26f05ccc7 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* Copyright (C) 2001-2020 Artifex Software, Inc.
   All Rights Reserved.

   This software is provided AS-IS with no warranty, either express or
   implied.

   This software is distributed under license and may not be copied,
   modified or distributed except as expressly authorized under the terms
   of the license contained in the file LICENSE in this distribution.

   Refer to licensing information at http://www.artifex.com or contact
   Artifex Software, Inc.,  1305 Grant Avenue - Suite 200, Novato,
   CA 94945, U.S.A., +1(415)492-9861, for further information.
*/

/* Include file for common DeviceN printer devices. */

#ifndef gdevdevnprn_INCLUDED
# define gdevdevnprn_INCLUDED

#include "gdevprn.h"
#include "gdevdevn.h"

/*
 * DevN based printer devices all start with the same device fields.
 */
#define gx_devn_prn_device_common\
    gx_device_common;\
    gx_prn_device_common;\
    gs_devn_params devn_params;\
    equivalent_cmyk_color_params equiv_cmyk_colors

/*
 * A structure definition for a DeviceN printer type device
 */
typedef struct gx_devn_prn_device_s {
    gx_devn_prn_device_common;
} gx_devn_prn_device;

/*
 * Garbage collection structure descriptor and finalizer.
 */
extern_st(st_gx_devn_prn_device);
struct_proc_finalize(gx_devn_prn_device_finalize);

/*
 * Basic device procedures for instances of the above device.
 */
dev_proc_get_params(gx_devn_prn_get_params);
dev_proc_put_params(gx_devn_prn_put_params);
dev_proc_get_color_comp_index(gx_devn_prn_get_color_comp_index);
dev_proc_get_color_mapping_procs(gx_devn_prn_get_color_mapping_procs);
dev_proc_encode_color(gx_devn_prn_encode_color);
dev_proc_decode_color(gx_devn_prn_decode_color);
dev_proc_update_spot_equivalent_colors(gx_devn_prn_update_spot_equivalent_colors);
dev_proc_ret_devn_params(gx_devn_prn_ret_devn_params);


#endif		/* ifndef gdevdevnprn_INCLUDED */