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"
20 socket_callback::socket_callback(int fd, boost::function<void()> func)
23 sn_.reset(new QSocketNotifier(fd, QSocketNotifier::Read, this));
24 connect(sn_.get(), SIGNAL(activated(int)), this, SLOT(data_received()));
28 void socket_callback::data_received()
35 #include "socket_callback_moc.cpp"