Xft support under OpenMotif 2.3.3 - I've been using this for quite a while on
[nedit.git] / source / server_common.h
blob67e4859740015cebcdeb83c9b9bd579c5f81414c
1 /* $Id: server_common.h,v 1.3 2004/11/09 21:58:44 yooden Exp $ */
2 /*******************************************************************************
3 * *
4 * server_common.h -- Nirvana Editor common server stuff *
5 * *
6 * Copyright (C) 1999 Mark Edel *
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 * November, 1995 *
25 * *
26 * Written by Mark Edel *
27 * *
28 *******************************************************************************/
30 #ifndef NEDIT_SERVER_COMMON_H_INCLUDED
31 #define NEDIT_SERVER_COMMON_H_INCLUDED
33 #include <X11/Intrinsic.h>
35 /* Lets limit the unique server name to MAXPATHLEN */
36 #define MAXSERVERNAMELEN MAXPATHLEN
38 #define DEFAULTSERVERNAME ""
40 void CreateServerPropertyAtoms(const char *serverName,
41 Atom *serverExistsAtomReturn,
42 Atom *serverRequestAtomReturn);
43 Atom CreateServerFileOpenAtom(const char *serverName,
44 const char *path);
45 Atom CreateServerFileClosedAtom(const char *serverName,
46 const char *path,
47 Bool only_if_exists);
48 void DeleteServerFileAtoms(const char* serverName, Window rootWindow);
50 #endif /* NEDIT_SERVER_COMMON_H_INCLUDED */