1 /* 2 * Copyright (C) 2016 The Android Open Source Project 3 * Copyright (C) 2016 Mopria Alliance, Inc. 4 * Copyright (C) 2013 Hewlett-Packard Development Company, L.P. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 #ifndef __WPRINT_DF_TYPES_H__ 19 #define __WPRINT_DF_TYPES_H__ 20 21 #include "media_sizes.h" 22 #include "media_tray_types.h" 23 24 /* 25 * Enumeration for supported color spaces 26 */ 27 typedef enum { 28 COLOR_SPACE_MONO, // MONO job 29 COLOR_SPACE_COLOR, // sRGB COLOR job 30 COLOR_SPACE_ADOBE_RGB // supported in pclm only 31 } color_space_t; 32 33 /* 34 * Enumeration for supported duplex modes 35 */ 36 typedef enum { 37 DUPLEX_MODE_NONE, // no duplex 38 DUPLEX_MODE_BOOK, // long edge binding 39 DUPLEX_MODE_TABLET, // short edge binding 40 } duplex_t; 41 42 /* 43 * Enumeration for supported media types 44 */ 45 typedef enum { 46 MEDIA_PLAIN, 47 MEDIA_SPECIAL, 48 MEDIA_PHOTO, 49 MEDIA_TRANSPARENCY, 50 MEDIA_IRON_ON, 51 MEDIA_IRON_ON_MIRROR, 52 MEDIA_ADVANCED_PHOTO, 53 MEDIA_FAST_TRANSPARENCY, 54 MEDIA_BROCHURE_GLOSSY, 55 MEDIA_BROCHURE_MATTE, 56 MEDIA_PHOTO_GLOSSY, 57 MEDIA_PHOTO_MATTE, 58 MEDIA_PREMIUM_PHOTO, 59 MEDIA_OTHER_PHOTO, 60 MEDIA_PRINTABLE_CD, 61 MEDIA_PREMIUM_PRESENTATION, 62 63 MEDIA_AUTO = 98, 64 MEDIA_UNKNOWN = 99 // New types above this line 65 } media_type_t; 66 67 #endif // __WPRINT_DF_TYPES_H__