3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
7 * \author João Luis M. Assirati
9 * Full author contact details are available in file CREDITS.
14 // Too hard to make concept checks work with this file
15 #ifdef _GLIBCXX_CONCEPT_CHECKS
16 #undef _GLIBCXX_CONCEPT_CHECKS
18 #ifdef _GLIBCPP_CONCEPT_CHECKS
19 #undef _GLIBCPP_CONCEPT_CHECKS
22 #include "io_callback.h"
25 io_callback::io_callback(int fd, boost::function<void()> func)
28 conn_ = Glib::signal_io().connect(
29 sigc::mem_fun(*this, &io_callback::data_received),
34 bool io_callback::data_received(Glib::IOCondition /*condition*/)