X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxserver.h;h=e9ddba0b90ecabb92b6984c039bb2ae4ad079a17;hb=e8022b10a11e41d56897e3b066aa5180025165cc;hp=761222a6700f66e30c53b4a26f6cae9842780a7a;hpb=2391d73a2c6091d19d1628c380d5c8f1006b5e6a;p=lyx.git diff --git a/src/lyxserver.h b/src/lyxserver.h index 761222a670..e9ddba0b90 100644 --- a/src/lyxserver.h +++ b/src/lyxserver.h @@ -1,13 +1,13 @@ // -*- C++ -*- /* This file is part of -* ====================================================== +* ====================================================== * * LyX, The Document Processor * * Copyright (C) 1995 Matthias Ettrich * Copyright (C) 1995-1998 The LyX Team. * -*======================================================*/ +* ====================================================== */ #ifndef LYXSERVER_H #define LYXSERVER_H @@ -53,6 +53,10 @@ public: /// Send message void send(string const &); + + /// We receive messages via XForms through this callback + static void callback(int fd, void *v); + private: /// Open pipes void openConnection(); @@ -60,9 +64,6 @@ private: /// Close pipes void closeConnection(); - /// We receive messages via XForms through this callback - static void callback(int fd, void *v); - /// This is -1 if not open int infd;