LibInsane: /build/libinsane/src/libinsane/subprojects/libinsane/include/libinsane/constants.h Source File

| LibInsane 1.0.10 Cross-platform Cross-API Cross-driver Cross-image-scanner Image Scan Library

Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1#ifndef __LIBINSANE_CONSTANTS_H
2#define __LIBINSANE_CONSTANTS_H
3
4
5#define OPT_NAME_SOURCE "source" // Sane only
6#define OPT_VALUE_SOURCE_FLATBED "flatbed"
7#define OPT_VALUE_SOURCE_ADF "feeder"
8
9#define OPT_NAME_FEEDER_ENABLED "feeder_enabled" // TWAIN only
10
11#define OPT_NAME_RESOLUTION "resolution"
12
13#define OPT_NAME_MODE "mode"
14#define OPT_VALUE_MODE_COLOR "Color"
15#define OPT_VALUE_MODE_BW "LineArt"
16#define OPT_VALUE_MODE_GRAYSCALE "Gray"
17
18#define OPT_NAME_TL_X "tl-x"
19#define OPT_NAME_TL_Y "tl-y"
20#define OPT_NAME_BR_X "br-x"
21#define OPT_NAME_BR_Y "br-y"
22
23#define OPT_NAME_PREVIEW "preview"
24#define OPT_NAME_LAMP_SWITCH "lamp-switch"
25
26#endif