25 #ifndef CGU_IO_WATCH_H
26 #define CGU_IO_WATCH_H
179 GIOCondition io_condition, gint priority = G_PRIORITY_DEFAULT,
180 GMainContext* context = 0);
229 GIOCondition io_condition, gint priority = G_PRIORITY_DEFAULT,
230 GMainContext* context = 0);
273 GIOCondition io_condition, gint priority = G_PRIORITY_DEFAULT,
274 GMainContext* context = 0);
326 Releaser& r, GIOCondition io_condition, gint priority = G_PRIORITY_DEFAULT,
327 GMainContext* context = 0);
381 class =
typename std::enable_if<!std::is_convertible<typename std::remove_reference<F>::type,
383 && !std::is_convertible<typename std::remove_reference<F>::type,
386 GIOCondition io_condition, gint priority = G_PRIORITY_DEFAULT,
387 GMainContext* context = 0) {
388 return start_iowatch(fd, Callback::lambda<GIOCondition, bool&>(std::forward<F>(func)),
389 io_condition, priority,
450 class =
typename std::enable_if<!std::is_convertible<typename std::remove_reference<F>::type,
451 const Callback::CallbackArg<GIOCondition, bool&>*>::value
452 && !std::is_convertible<typename std::remove_reference<F>::type,
453 const Callback::CallbackArg<bool&>*>::value>::type>
455 GIOCondition io_condition, gint priority = G_PRIORITY_DEFAULT,
456 GMainContext* context = 0) {
457 return start_iowatch(fd, Callback::lambda<GIOCondition, bool&>(std::forward<F>(func)), r,
458 io_condition, priority,