3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
15 #pragma implementation
18 #include "lyxserver.h"
19 #include "io_callback.h"
22 io_callback::io_callback(int fd, LyXComm * comm)
25 sn_.reset(new QSocketNotifier(fd, QSocketNotifier::Read, this));
26 connect(sn_.get(), SIGNAL(activated(int)), this, SLOT(data_received()));
30 void io_callback::data_received()