3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * \author João Luis M. Assirati
10 * Full author contact details are available in file CREDITS.
15 #include "socket_callback.h"
18 socket_callback::socket_callback(int fd, boost::function<void()> func)
21 sn_.reset(new QSocketNotifier(fd, QSocketNotifier::Read, this));
22 connect(sn_.get(), SIGNAL(activated(int)), this, SLOT(data_received()));
26 void socket_callback::data_received()
31 #include "socket_callback_moc.cpp"