Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / lib / DtTerm / Term / TermP.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 /*
24  * $XConsortium: TermP.h /main/1 1996/04/21 19:16:07 drk $";
25  */
26
27 /*                                                                      *
28  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
29  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
30  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
31  * (c) Copyright 1993, 1994 Novell, Inc.                                *
32  */
33
34 #ifndef _Dt_TermP_h
35 #define _Dt_TermP_h
36
37 #include "TermPrimP.h"
38 #include "Term.h"
39 #include "TermData.h"
40 #include "TermFunctionKey.h"
41
42 #ifdef  __cplusplus
43 extern "C" {
44 #endif  /* __cplusplus */
45
46 /* Vt class structure... */
47
48 typedef struct _DtTermClassPart
49 {
50     int foo;
51 } DtTermClassPart;
52
53 /* full clas record declaration for Vt class... */
54 typedef struct _DtTermClassRec {
55     CoreClassPart               core_class;
56     XmPrimitiveClassPart        primitive_class;
57     DtTermPrimitiveClassPart            term_primitive_class;
58     DtTermClassPart             term_class;
59 } DtTermClassRec;
60
61 externalref DtTermClassRec dtTermClassRec;
62
63 /* vt instance record... */
64 typedef struct _DtTermPart
65 {
66     DtTermData                  td;     /* non-widget terminal data     */
67     Boolean                     autoWrap;
68     Boolean                     reverseWrap;
69     Boolean                     sunFunctionKeys;
70     Boolean                     c132;
71     Boolean                     appKeypadMode;
72     Boolean                     appCursorMode;
73 } DtTermPart;
74
75 /* full instance record declaration... */
76
77 typedef struct _DtTermRec {
78     CorePart            core;
79     XmPrimitivePart     primitive;
80     DtTermPrimitivePart term;
81     DtTermPart          vt;
82 } DtTermRec;
83
84 /* private function declarations... */
85 /* end private function declarations... */
86
87 #ifdef  __cplusplus
88 } /* close scope of 'extern "C"'... */
89 #endif  /* __cplusplus */
90
91 #endif  /* _Dt_TermP_h */
92 /* DON'T ADD ANYTHING AFTER THIS #endif... */