code_twain/device/scanner_io/scanner_io.h

30 lines
317 B
C
Raw Permalink Normal View History

2022-08-05 03:16:50 +00:00
#pragma once
//
// Base IO class
//
// Date: 2022-08-05
//
enum scanner_cmd
{
};
enum scanner_event
{
SCANNER_EVENT_NONE = 0,
SCANNER_EVENT_DEVICE_ARRIVED,
SCANNER_EVENT_DEVICE_LEFT,
SCANNER_EVENT_
};
struct io_handler
{
void (*on_io_event)(int ev_type, void* data, int len);
};
class scanenr_io
{
};