Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef SCANNER_TWAIN_INCLUDED
Toshihiro Shimizu 890ddd
#define SCANNER_TWAIN_INCLUDED
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include "tscanner.h"
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class TScannerTwain : public TScanner
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	TScannerTwain();
Toshihiro Shimizu 890ddd
	~TScannerTwain();
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	bool isDeviceAvailable();
Toshihiro Shimizu 890ddd
	bool isDeviceSelected();
Toshihiro Shimizu 890ddd
	void selectDevice();
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
	void updateParameters(TScannerParameters &); // vedi TScanner
Toshihiro Shimizu 890ddd
	void acquire(const TScannerParameters ¶m, int paperCount);
Toshihiro Shimizu 890ddd
	bool isAreaSupported();
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif