Blame toonz/sources/tnzbase/tscanner/TScannerIO/TUSBScannerIO.h
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef TUSBSCANNER_IO_H
|
|
Toshihiro Shimizu |
890ddd |
#define TUSBSCANNER_IO_H
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#include "TScannerIO.h"
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
class TUSBScannerIOPD;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
class TUSBScannerIO : public TScannerIO
|
|
Toshihiro Shimizu |
890ddd |
{
|
|
Toshihiro Shimizu |
890ddd |
TUSBScannerIOPD *m_data;
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
public:
|
|
Toshihiro Shimizu |
890ddd |
TUSBScannerIO();
|
|
Toshihiro Shimizu |
890ddd |
bool open();
|
|
Toshihiro Shimizu |
890ddd |
void close();
|
|
Toshihiro Shimizu |
890ddd |
int receive(unsigned char *buffer, int size);
|
|
Toshihiro Shimizu |
890ddd |
int send(unsigned char *buffer, int size);
|
|
Toshihiro Shimizu |
890ddd |
void trace(bool on);
|
|
Toshihiro Shimizu |
890ddd |
~TUSBScannerIO();
|
|
Toshihiro Shimizu |
890ddd |
};
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif
|