]> git.lyx.org Git - lyx.git/blobdiff - src/lyxserver.h
use the new bufferstorage (this change only deletes all references to the old one
[lyx.git] / src / lyxserver.h
index 8bfda020b1f3000b564ed1765456942a09e80b59..e9ddba0b90ecabb92b6984c039bb2ae4ad079a17 100644 (file)
@@ -1,16 +1,16 @@
 // -*- 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_
+#ifndef LYXSERVER_H
+#define LYXSERVER_H
 
 #ifdef __GNUG__
 #pragma interface
@@ -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;