1 /* $XConsortium: Primitive.h /main/5 1995/07/15 20:54:22 drk $ */
2 /*
3  * Motif
4  *
5  * Copyright (c) 1987-2012, The Open Group. All rights reserved.
6  *
7  * These libraries and programs are free software; you can
8  * redistribute them and/or modify them under the terms of the GNU
9  * Lesser General Public License as published by the Free Software
10  * Foundation; either version 2 of the License, or (at your option)
11  * any later version.
12  *
13  * These libraries and programs are distributed in the hope that
14  * they will be useful, but WITHOUT ANY WARRANTY; without even the
15  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  * PURPOSE. See the GNU Lesser General Public License for more
17  * details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with these librararies and programs; if not, write
21  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
22  * Floor, Boston, MA 02110-1301 USA
23  */
24 /*
25  * HISTORY
26  */
27 #ifndef _XmPrimitive_h
28 #define _XmPrimitive_h
29 
30 #include <Xm/Xm.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 #ifndef XmIsPrimitive
37 #define XmIsPrimitive(w) XtIsSubclass(w, xmPrimitiveWidgetClass)
38 #endif /* XmIsPrimitive */
39 
40 externalref WidgetClass xmPrimitiveWidgetClass;
41 
42 typedef struct _XmPrimitiveClassRec * XmPrimitiveWidgetClass;
43 typedef struct _XmPrimitiveRec      * XmPrimitiveWidget;
44 
45 
46 /********    Public Function Declarations    ********/
47 
48 
49 /********    End Public Function Declarations    ********/
50 
51 
52 #ifdef __cplusplus
53 }  /* Close scope of 'extern "C"' declaration which encloses file. */
54 #endif
55 
56 #endif /* _XmPrimitive_h */
57 /* DON'T ADD ANYTHING AFTER THIS #endif */
58