#include "support/FileName.h"
#include "support/socktools.h"
-#include <boost/bind.hpp>
+#include "support/bind.h"
#include <cerrno>
#include <ostream>
using namespace std;
using namespace lyx::support;
-using boost::shared_ptr;
+
namespace lyx {
theApp()->registerSocketCallback(
fd_,
- boost::bind(&ServerSocket::serverCallback, this)
+ bind(&ServerSocket::serverCallback, this)
);
LYXERR(Debug::LYXSERVER, "lyx: New server socket "
shared_ptr<LyXDataSocket>(new LyXDataSocket(client_fd));
theApp()->registerSocketCallback(
client_fd,
- boost::bind(&ServerSocket::dataCallback,
+ bind(&ServerSocket::dataCallback,
this, client_fd)
);
}
string const cmd = line.substr(pos + 1);
DispatchResult dr;
theApp()->dispatch(lyxaction.lookupFunc(cmd), dr);
+ theApp()->dispatch(FuncRequest(LFUN_PARAGRAPH_UPDATE));
string const rval = to_utf8(dr.message());
if (dr.error())
client->writeln("ERROR:" + cmd + ':' + rval);