Link with C++ linker
[oweals/cde.git] / cde / programs / dtksh / widget.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: widget.h /main/4 1995/11/01 15:57:51 rswiston $ */
24 /************************************<+>*************************************
25  ****************************************************************************
26  **
27  **   File:        widget.h
28  **
29  **   Project:     CDE
30  **
31  **   Description: Public include file for widget.c
32  **
33  **
34  **   (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992
35  **       by Hewlett-Packard Company
36  **
37  **
38  **
39  ****************************************************************************
40  ************************************<+>*************************************/
41
42 #ifndef _Dtksh_widget_h
43 #define _Dtksh_widget_h
44
45 #include <X11/X.h>
46 #include <X11/Intrinsic.h>
47 #include <X11/IntrinsicP.h>
48 #define NO_AST
49 #include "dtksh.h"
50 #undef NO_AST
51
52 extern int Wtab_free;
53 extern wtab_t **W;
54 extern int NumW;
55 extern int MaxW;
56
57
58
59 extern void init_widgets( void ) ;
60 extern classtab_t * str_to_class( 
61                         char *arg0,
62                         char *s) ;
63 extern Widget DtkshNameToWidget( 
64                         String s) ;
65 extern wtab_t * str_to_wtab( 
66                         char *arg0,
67                         char *v) ;
68 extern Widget handle_to_widget( 
69                         char *arg0,
70                         char *handle) ;
71 extern wtab_t * widget_to_wtab( 
72                         Widget w) ;
73 extern void get_new_wtab( 
74                         wtab_t **w,
75                         char *name) ;
76 extern int do_DtLoadWidget( 
77                         int argc,
78                         char *argv[]) ;
79 extern int do_DtWidgetInfo( 
80                         int argc,
81                         char *argv[]) ;
82 extern void alt_env_set_var( 
83                         char *variable,
84                         char *value) ;
85
86
87
88 #endif /* _Dtksh_widget_h */
89 /* DON'T ADD ANYTHING AFTER THIS #endif */