mirror of http://192.168.1.51:8099/lmh188/twain3.0
18 lines
498 B
C++
18 lines
498 B
C++
#ifndef TWGLUE_HPP
|
|
#define TWGLUE_HPP
|
|
|
|
#include <functional>
|
|
#include "Device/PublicFunc.h"
|
|
|
|
struct TwGlue {
|
|
|
|
TwGlue(const std::function<void(const GScanCap&)>& scan, const std::function<void()>& cancel, std::function<int(int feedmode, bool isget)> feedmode) :
|
|
m_scan(scan), m_cancel(cancel),m_feedmode(feedmode){}
|
|
|
|
std::function<void(const GScanCap&)> m_scan;
|
|
std::function<void()> m_cancel;
|
|
std::function<int(int feedmode,bool isget)> m_feedmode;
|
|
};
|
|
|
|
#endif // TWGLUE_HPP
|