3 * Copyright 2002 the LyX Team
4 * Read the file COPYING
7 * \author John Levon <moz@compsoc.man.ac.uk>
15 #include "lyxserver.h"
17 #include <qsocketnotifier.h>
19 class io_callback : public QObject {
22 io_callback(int fd, LyXComm * comm)
24 QSocketNotifier * sn = new QSocketNotifier(fd,
25 QSocketNotifier::Read, this);
26 connect(sn, SIGNAL(activated(int)), this, SLOT(data_received()));
30 void data_received() {
38 #endif // IO_CALLBACK_H