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
21 #include <qsocketnotifier.h>
22 #include <boost/scoped_ptr.hpp>
27 * io_callback - a simple wrapper for asynchronous pipe notification
29 * This is used by the lyxserver to notice the pipe is ready to be
32 * FIXME: this code apparently will not work on Windows.
34 class io_callback : public QObject {
37 /// connect a read ready notification for fd to the LyXComm
38 io_callback(int fd, LyXComm * comm);
43 boost::scoped_ptr<QSocketNotifier> sn_;
48 #endif // IO_CALLBACK_H