#ifndef TWGLUE_HPP #define TWGLUE_HPP #include struct TwGlue { TwGlue(const std::function& scan, const std::function& cancel) : m_scan(scan), m_cancel(cancel){} std::function m_scan; std::function m_cancel; }; #endif // TWGLUE_HPP