server_monitor.h must be included last for msvc sake.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31375 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2009-09-12 17:40:54 +00:00
parent 57c16e9001
commit 23095b5890

View File

@ -24,6 +24,11 @@
* 3) Compile using the following command: * 3) Compile using the following command:
* g++ server_monitor.cpp -o monitor -I. `pkg-config --cflags --libs QtGui` * g++ server_monitor.cpp -o monitor -I. `pkg-config --cflags --libs QtGui`
* *
* Alternatively, you can create a Makefile with the following commands:
* qmake -project
* qmake
* and then run make (or nmake, if you use msvc).
*
* Usage: * Usage:
* 1) Set the LyXserver pipe path in the LyX preferences (on *nix you can use * 1) Set the LyXserver pipe path in the LyX preferences (on *nix you can use
* any path, for example ~/.lyx/lyxpipe, whereas on Windows the path has * any path, for example ~/.lyx/lyxpipe, whereas on Windows the path has
@ -33,12 +38,12 @@
* push the button labeled "Open pipes" and then try issuing some commands. * push the button labeled "Open pipes" and then try issuing some commands.
*/ */
#include "server_monitor.h"
#include <QApplication> #include <QApplication>
#include <QtGui> #include <QtGui>
#include <QtDebug> #include <QtDebug>
#include "server_monitor.h"
class ReadPipe : public QThread { class ReadPipe : public QThread {
public: public:
/// ///