1#ifndef LIBFILEZILLA_GLUE_WXINVOKER_HEADER
2#define LIBFILEZILLA_GLUE_WXINVOKER_HEADER
8#include "../invoker.hpp"
15template<
typename...
Args>
19 auto cb = [
cf,
targs = std::make_tuple(std::forward<Args>(
args)...)] {
30 return do_make_invoker(
handler,
decltype(get_func_type(&F::operator()))(std::forward<F>(
f)));
The namespace used by libfilezilla.
Definition apply.hpp:17
invoker_factory get_invoker_factory(event_loop &loop)
Creates an invoker factory.
bool dispatch(event_base const &ev, F &&f)
Dispatch for simple_event<> based events to simple functors.
Definition event_handler.hpp:199
auto make_invoker(event_loop &loop, F &&f)
Wraps the passed function, so that it is always invoked in the context of the loop.
Definition invoker.hpp:54