Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / examples / motif / dogs / SquareP.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  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC. 
25  * ALL RIGHTS RESERVED 
26 */ 
27 /* 
28  * Motif Release 1.2
29 */ 
30 /*   $XConsortium: SquareP.h /main/3 1995/10/27 10:42:55 rswiston $ */
31
32
33 #ifndef _SquareP_h
34 #define _SquareP_h
35
36 #include "Square.h"
37 #include <Xm/BulletinBP.h>
38
39 #define SquareIndex (XmBulletinBIndex + 1)
40
41 typedef struct _SquareClassPart
42 {
43    int reserved;
44 } SquareClassPart;
45
46
47 typedef struct _SquareClassRec
48 {
49    CoreClassPart       core_class;
50    CompositeClassPart  composite_class;
51    ConstraintClassPart constraint_class;
52    XmManagerClassPart  manager_class;
53    XmBulletinBoardClassPart  bulletin_board_class;
54    SquareClassPart     square_class;
55 } SquareClassRec;
56
57 externalref SquareClassRec squareClassRec;
58
59 typedef struct _SquarePart
60 {
61     int major_dimension;
62 } SquarePart;
63
64
65 /*  Full instance record declaration  */
66
67 typedef struct _SquareRec
68 {
69    CorePart       core;
70    CompositePart  composite;
71    ConstraintPart constraint;
72    XmManagerPart  manager;
73    XmBulletinBoardPart  bulletin_board;
74    SquarePart     square;
75 } SquareRec;
76
77 typedef struct _SquareConstraintPart
78 {
79    Boolean make_square;
80 } SquareConstraintPart;
81
82 typedef struct _SquareConstraintRec
83 {
84    XmManagerConstraintPart manager;
85    SquareConstraintPart    square;
86 } SquareConstraintRec, *SquareConstraint;
87
88
89 #endif /* _SquareP_h */
90 /* DON'T ADD ANYTHING AFTER THIS #endif */