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
Shinya Kitaoka 120a6e
class TScannerTwain : public TScanner {
Toshihiro Shimizu 890ddd
public:
Shinya Kitaoka 120a6e
  TScannerTwain();
Shinya Kitaoka 120a6e
  ~TScannerTwain();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  bool isDeviceAvailable();
Shinya Kitaoka 120a6e
  bool isDeviceSelected();
Shinya Kitaoka 120a6e
  void selectDevice();
Toshihiro Shimizu 890ddd
Shinya Kitaoka 120a6e
  void updateParameters(TScannerParameters &);  // vedi TScanner
Shinya Kitaoka 120a6e
  void acquire(const TScannerParameters ¶m, int paperCount);
Shinya Kitaoka 120a6e
  bool isAreaSupported();
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif