mirror of http://192.168.1.51:8099/lmh188/twain3
17 lines
338 B
C++
17 lines
338 B
C++
|
#ifndef TWGLUE_HPP
|
||
|
#define TWGLUE_HPP
|
||
|
|
||
|
#include <functional>
|
||
|
|
||
|
struct TwGlue {
|
||
|
|
||
|
TwGlue(const std::function<void(const std::string&)>& scan, const std::function<void()>& cancel) :
|
||
|
m_scan(scan), m_cancel(cancel){}
|
||
|
|
||
|
std::function<void(const std::string&)> m_scan;
|
||
|
std::function<void()> m_cancel;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // TWGLUE_HPP
|