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