4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
18 #include <qsocketnotifier.h>
19 #include <boost/scoped_ptr.hpp>
24 * io_callback - a simple wrapper for asynchronous pipe notification
26 * This is used by the lyxserver to notice the pipe is ready to be
29 * FIXME: this code apparently will not work on Windows.
31 class io_callback : public QObject {
34 /// connect a read ready notification for fd to the LyXComm
35 io_callback(int fd, LyXComm * comm);
40 boost::scoped_ptr<QSocketNotifier> sn_;
45 #endif // IO_CALLBACK_H