Home | History | Annotate | Line # | Download | only in Xaw
      1 /*
      2  *
      3 Copyright 1989, 1994, 1998  The Open Group
      4 Copyright 2003-2004 Roland Mainz <roland.mainz (at) nrubsig.org>
      5 
      6 Permission to use, copy, modify, distribute, and sell this software and its
      7 documentation for any purpose is hereby granted without fee, provided that
      8 the above copyright notice appear in all copies and that both that
      9 copyright notice and this permission notice appear in supporting
     10 documentation.
     11 
     12 The above copyright notice and this permission notice shall be included in
     13 all copies or substantial portions of the Software.
     14 
     15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
     18 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
     19 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
     20 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     21 
     22 Except as contained in this notice, the name of The Open Group shall not be
     23 used in advertising or otherwise to promote the sale, use or other dealings
     24 in 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 
     36 typedef struct _XawDL XawDisplayList;
     37 #endif /* OLDXAW */
     38 
     39 #include <X11/Intrinsic.h>
     40 #include <X11/Xfuncproto.h>
     41 
     42 _XFUNCPROTOBEGIN
     43 
     44 void XawInitializeWidgetSet(void);
     45 #ifndef OLDXAW
     46 void XawInitializeDefaultConverters(void);
     47 #endif
     48 
     49 extern 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