Fix our use of $em_tab_dist after it was changed to 0 for 'turned of'.
[nedit.git] / source / server.h
blob6537cce44672c5164e2ff580429a949d2e599e24
1 /* $Id: server.h,v 1.7 2004/11/09 21:58:44 yooden Exp $ */
2 /*******************************************************************************
3 * *
4 * server.h -- Nirvana Editor Server Header File *
5 * *
6 * Copyright 2002 The NEdit Developers *
7 * *
8 * This is free software; you can redistribute it and/or modify it under the *
9 * terms of the GNU General Public License as published by the Free Software *
10 * Foundation; either version 2 of the License, or (at your option) any later *
11 * version. In addition, you may distribute versions of this program linked to *
12 * Motif or Open Motif. See README for details. *
13 * *
14 * This software is distributed in the hope that it will be useful, but WITHOUT *
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
17 * more details. *
18 * *
19 * You should have received a copy of the GNU General Public License along with *
20 * software; if not, write to the Free Software Foundation, Inc., 59 Temple *
21 * Place, Suite 330, Boston, MA 02111-1307 USA *
22 * *
23 * Nirvana Text Editor *
24 * July 31, 2001 *
25 * *
26 *******************************************************************************/
28 #ifndef NEDIT_SERVER_H_INCLUDED
29 #define NEDIT_SERVER_H_INCLUDED
31 #include "window.h"
33 #define NO_CONNECTION -1
34 #define COM_OK 1
35 #define COM_FAILURE 2
37 void InitServerCommunication(void);
38 void ServerMainLoop(XtAppContext context);
39 Boolean ServerDispatchEvent(XEvent *event);
40 void DeleteFileClosedProperty(WindowInfo *window);
42 #endif /* NEDIT_SERVER_H_INCLUDED */