1/*
2 *
3Copyright 1989, 1994, 1998  The Open Group
4Copyright 2003-2004 Roland Mainz <roland.mainz@nrubsig.org>
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25 */
26#ifndef _XawInit_h
27#define _XawInit_h
28
29#define XawVendor	XVENDORNAMESHORT
30
31#ifdef OLDXAW
32#define XawVersion	6700002L
33#else
34#define	XawVersion	7000002L
35
36typedef struct _XawDL XawDisplayList;
37#endif /* OLDXAW */
38
39#include <X11/Intrinsic.h>
40#include <X11/Xfuncproto.h>
41
42_XFUNCPROTOBEGIN
43
44void XawInitializeWidgetSet(void);
45#ifndef OLDXAW
46void XawInitializeDefaultConverters(void);
47#endif
48
49extern Widget XawOpenApplication(
50    XtAppContext *app_context_return,
51    Display      *dpy,
52    Screen       *screen,
53    String        application_name,
54    String        application_class,
55    WidgetClass   widget_class,
56    int          *argc,
57    _XtString    *argv
58);
59
60_XFUNCPROTOEND
61
62#endif /* _XawInit_h */
63