2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
2016-03-19 06:57:51 +13:00
|
|
|
|
|
|
|
#ifndef SCANNER_TWAIN_INCLUDED
|
|
|
|
#define SCANNER_TWAIN_INCLUDED
|
|
|
|
|
|
|
|
#include "tscanner.h"
|
|
|
|
|
|
|
|
class TScannerTwain : public TScanner
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
TScannerTwain();
|
|
|
|
~TScannerTwain();
|
|
|
|
|
|
|
|
bool isDeviceAvailable();
|
|
|
|
bool isDeviceSelected();
|
|
|
|
void selectDevice();
|
|
|
|
|
|
|
|
void updateParameters(TScannerParameters &); // vedi TScanner
|
|
|
|
void acquire(const TScannerParameters ¶m, int paperCount);
|
|
|
|
bool isAreaSupported();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|