dtwm: Remove id strings related to historic version control system used before CDE...
[oweals/cde.git] / cde / programs / dtwm / Button.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 libraries 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 *******************************************************************************
25 *
26 *  (c) Copyright 1992 HEWLETT-PACKARD COMPANY
27 *  ALL RIGHTS RESERVED
28 *  
29 *******************************************************************************
30 ******************************************************************************/
31 #ifndef _DtButtonG_h
32 #define _DtButtonG_h
33
34 #include <Xm/Xm.h>
35
36 #if defined(__cplusplus) || defined(c_plusplus)
37 extern "C" {
38 #endif
39
40 #ifndef DtIsButtonGadget
41 #define DtIsButtonGadget(w) XtIsSubclass(w, dtButtonGadgetClass)
42 #endif /* DtIsButtonGadget */
43
44 /* ArrowButton externs for application accessible functions */
45
46 extern Widget DtCreateButtonGadget( 
47                         Widget parent,
48                         char *name,
49                         ArgList arglist,
50                         Cardinal argcount) ;
51
52 /* Button Gadget */
53
54 externalref WidgetClass dtButtonGadgetClass;
55
56 typedef struct _DtButtonGadgetClassRec * DtButtonGadgetClass;
57 typedef struct _DtButtonGadgetRec      * DtButtonGadget;
58
59 typedef struct
60 {
61     int     reason;
62     XEvent  *event;
63     int     click_count;
64 } DtButtonCallbackStruct;
65
66
67 #if defined(__cplusplus) || defined(c_plusplus)
68 }  /* Close scope of 'extern "C"' declaration which encloses file. */
69 #endif
70
71 #endif /* _DtButtonG_h */
72 /* DON'T ADD ANYTHING AFTER THIS #endif */