class LyXComm : public QObject {
Q_OBJECT
- friend DWORD pipeServerWrapper(void *);
+ friend DWORD WINAPI pipeServerWrapper(void *);
public:
/// Max number of clients
bool event(QEvent *);
/// Check whether the pipe server must be stopped
- bool checkStopServer();
+ bool checkStopServer(DWORD timeout = 0);
/// The filename of a (in or out) pipe instance
std::string const pipeName(DWORD) const;