Link with C++ linker
[oweals/cde.git] / cde / programs / dtpad / messageParam.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: messageParam.h /main/3 1995/11/01 10:38:54 rswiston $ */
24 /**********************************<+>*************************************
25 ***************************************************************************
26 **
27 **  File:        messageParam.h
28 **
29 **  Project:     DT dtpad, a memo maker type editor based on the motif
30 **               1.1 widget.
31 **
32 **  Description: Contains the codes used in communication between the
33 **               "client" and "server" dtpad.  These are used in place
34 **               of strings to reduce the computational overhead of
35 **               parsing the parameters on the receiving (server) end.
36 **
37 *******************************************************************
38 **  (c) Copyright Hewlett-Packard Company, 1992.  All rights are
39 **  reserved.  Copying or other reproduction of this program
40 **  except for archival purposes is prohibited without prior
41 **  written consent of Hewlett-Packard Company.
42 ********************************************************************
43 **
44 ********************************************************************
45 **  (c) Copyright 1993, 1994 Hewlett-Packard Company
46 **  (c) Copyright 1993, 1994 International Business Machines Corp.
47 **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
48 **  (c) Copyright 1993, 1994 Novell, Inc.
49 ********************************************************************
50 **
51 **
52 **************************************************************************
53 **********************************<+>*************************************/
54 #include <Tt/tt_c.h>
55
56 /*
57  * The codes are consecutive byte values to give the compiler the best
58  * shot at optimizing the resulting "switch" statement.
59  */
60
61 #define NETFILE                 (char)'?'
62
63 /* non Text Editor specific options */
64 #define GEOMETRY                (char)'A'
65
66 /* basic options */
67 #define STATUSLINE              (char)'B'
68 #define WINDOWWORDWRAP          (char)'C'
69 #define OVERSTRIKE              (char)'D'
70 #define SAVEONCLOSE             (char)'E'
71 #define MISSINGFILEWARNING      (char)'F'
72 #define NOREADONLYWARNING       (char)'G'
73 #define NONAMECHANGE            (char)'H'
74 #define VIEWONLY                (char)'I'
75 #define WORKSPACELIST           (char)'J'
76 #define SESSION                 (char)'K'
77
78 /* client/server control options */
79 #define BLOCKING                (char)'L'
80
81 /* field nos. for DTPAD_OPEN_FILE_MSG and DTPAD_RUN_SESSION_MSG fields
82  * (DT_MSG_DATA_? are defined in lib1/DtSvc/DtUtil2/Message.h) */
83 #define FILENAME_MSG_FIELD      DT_MSG_DATA_1
84 #define NETFILE_ID_MSG_FIELD    DT_MSG_DATA_3
85 #define PROCESS_ID_MSG_FIELD    DT_MSG_DATA_5
86
87 /* field nos. for DTPAD_DONE message fields */
88 #define CHANNEL_MSG_FIELD       DT_MSG_DATA_1
89 #define RETURN_STATUS_MSG_FIELD DT_MSG_DATA_2