#pragma once #include #include #include #include #include namespace vamp_zero { class touch_input { public: touch_input(boost::asio::any_io_executor executor, std::function handler); ~touch_input(); touch_input(touch_input const &) = delete; auto operator=(touch_input const &) -> touch_input & = delete; auto handle(luma::touch_event const &event) -> std::bool_t; auto stop() -> void; private: struct state; std::shared_ptr state_; }; }