1 /*
2  * Motif Tools Library, Version 3.1
3  * $Id: All.c,v 1.2 2001/09/19 02:57:18 grmcdorman Exp $
4  *
5  * Written by David Flanagan.
6  * Copyright (c) 1992-2001 by David Flanagan.
7  * All Rights Reserved.  See the file COPYRIGHT for details.
8  * This is open source software.  See the file LICENSE for details.
9  * There is no warranty for this software.  See NO_WARRANTY for details.
10  *
11  * $Log: All.c,v $
12  * Revision 1.2  2001/09/19 02:57:18  grmcdorman
13  * This change makes the following modifications:
14  *   A new program, printConfig, is provided. This is built by a
15  *   simple rule in the Makefile and not installed. It prints
16  *   significant defines from Xmt.tmpl.
17  *
18  *   XmtP.h is now generated from XmtP.h.in using printConfig. As
19  *   a result, code compiled outside of the Xmt Imakefiles will
20  *   have all of the Xmt.tmpl defines.
21  *
22  *   Source files are modified to use XmtP.h instead of Xmt.h.
23  *
24  *   WorkingBox.c is modified to use the new Progress widget.
25  *   It can be compiled in the old style if WORKINGBOX_USE_SCALE is
26  *   defined at compile time.
27  *
28  *   Because XmtP.h is generated dynamically, it is removed from CVS
29  *   with this check-in.
30  *
31  * Revision 1.1.1.1  2001/02/10 13:39:33  motiftools
32  * Initial import of Xmt310 to CVS
33  *
34  *
35  */
36 
37 #include <Xmt/XmtP.h>
38 #include <Xmt/WidgetType.h>
39 #include <Xmt/Procedures.h>
40 #include <Xmt/Converters.h>
41 #include <Xmt/Layout.h>
42 
43 #if NeedFunctionPrototypes
XmtRegisterAll(void)44 void XmtRegisterAll(void)
45 #else
46 void XmtRegisterAll()
47 #endif
48 {
49     XmtRegisterMotifWidgets();
50     XmtRegisterXmtWidgets();
51 
52     XmtRegisterUnixProcedures();
53     XmtRegisterXtProcedures();
54     XmtRegisterXmtProcedures();
55 
56     /* these are also registered by XmtInitialize() */
57     XmtRegisterBitmapConverter();
58     XmtRegisterBitmaskConverter();
59     XmtRegisterPixmapConverter();
60     XmtRegisterColorTableConverter();
61     XmtRegisterWidgetConverter();
62     XmtRegisterCallbackConverter();
63     XmtRegisterXmStringConverter();
64     XmtRegisterXmFontListConverter();
65     XmtRegisterStringListConverter();
66     XmtRegisterMenuItemsConverter();
67     XmtRegisterPixmapListConverter();
68     XmtRegisterPixelConverter();
69 
70     XmtRegisterLayoutParser();
71     XmtRegisterLayoutCreateMethod();
72 }
73