#ifndef IO_CALLBACK_H
#define IO_CALLBACK_H
-#ifdef __GNUG__
-#pragma interface
-#endif
#include <qobject.h>
#include <qsocketnotifier.h>
public:
/// connect a read ready notification for fd to the LyXComm
io_callback(int fd, LyXComm * comm);
-
public slots:
void data_received();
-
private:
/// our notifier
boost::scoped_ptr<QSocketNotifier> sn_;