genesys: Remove unused command set API

merge-requests/82/head
Povilas Kanapickas 2019-06-08 14:04:01 +03:00
rodzic d92bfd1e9e
commit 319a5082ac
7 zmienionych plików z 4 dodań i 29 usunięć

Wyświetl plik

@ -3635,8 +3635,7 @@ static Genesys_Command_Set gl124_cmd_set = {
NULL,
gl124_send_shading_data,
gl124_calculate_current_setup,
gl124_boot,
gl124_init_scan_regs
gl124_boot
};
SANE_Status

Wyświetl plik

@ -5042,7 +5042,6 @@ static Genesys_Command_Set gl646_cmd_set = {
gl646_move_to_ta,
NULL,
NULL,
NULL,
NULL
};

Wyświetl plik

@ -5669,7 +5669,6 @@ static Genesys_Command_Set gl841_cmd_set = {
NULL,
gl841_send_shading_data,
gl841_calculate_current_setup,
NULL,
NULL
};

Wyświetl plik

@ -4466,8 +4466,7 @@ static Genesys_Command_Set gl843_cmd_set = {
gl843_move_to_ta,
gl843_send_shading_data,
gl843_calculate_current_setup,
gl843_boot,
NULL
gl843_boot
};
SANE_Status

Wyświetl plik

@ -3365,8 +3365,7 @@ static Genesys_Command_Set gl846_cmd_set = {
NULL,
gl846_send_shading_data,
gl846_calculate_current_setup,
gl846_boot,
NULL
gl846_boot
};
SANE_Status

Wyświetl plik

@ -3484,8 +3484,7 @@ static Genesys_Command_Set gl847_cmd_set = {
NULL,
gl847_send_shading_data,
gl847_calculate_current_setup,
gl847_boot,
NULL
gl847_boot
};
SANE_Status

Wyświetl plik

@ -1058,25 +1058,6 @@ typedef struct Genesys_Command_Set
*/
SANE_Status (*asic_boot) (Genesys_Device * dev, SANE_Bool cold);
/**
* Scan register setting interface
*/
SANE_Status (*init_scan_regs) (Genesys_Device * dev,
const Genesys_Sensor& sensor,
Genesys_Register_Set * reg,
float xres,
float yres,
float startx,
float starty,
float pixels,
float lines,
unsigned int depth,
unsigned int channels,
ScanMethod scan_method,
ScanColorMode scan_mode,
int color_filter,
unsigned int flags);
} Genesys_Command_Set;
/** @brief structure to describe a scanner model