Initial version of donated sources by Avertec, 3.4p5.
[tas-yagle.git] / distrib / sources / tas / xtas / xtas_main.c
1 /****************************************************************************/
2 /* */
3 /* Chaine de CAO & VLSI Alliance */
4 /* */
5 /* Produit : XTAS Version 5 */
6 /* Fichier : xtas_main.c */
7 /* */
8 /* (c) copyright 1991-1998 Laboratoire LIP6 equipe ASIM */
9 /* Tous droits reserves */
10 /* Support : e-mail alliance-support@asim.lip6.fr */
11 /* */
12 /* Author(s) : Nizar ABDALLAH Date : 01/04/1993 */
13 /* */
14 /* Modified by : Date : ../../.... */
15 /* Modified by : Date : ../../.... */
16 /* Modified by : Date : ../../.... */
17 /* */
18 /*--------------------------------------------------------------------------*/
19 /* */
20 /* */
21 /* */
22 /*--------------------------------------------------------------------------*/
23
24
25 /*--------------------------------------------------------------------------*/
26 /* INCLUDE FILES */
27 /*--------------------------------------------------------------------------*/
28 #include "xtas.h"
29
30 /*---------------------------------------------------------------------------*/
31 /* */
32 /* FUNCTION : main */
33 /* */
34 /* IN ARGS : .You can give some X resources in your argv. They will be */
35 /* passed to the X server in the XtVaAppInitialize call. */
36 /* */
37 /* OUT ARGS : ( void ) */
38 /* */
39 /* OBJECT : The main routine of the Extase program. */
40 /* */
41 /*---------------------------------------------------------------------------*/
42 int main( argc, argv )
43 int argc;
44 char *argv[];
45 {
46 int i;
47
48 for (i=1 ; i<argc ; i++) {
49 if (!strcmp (argv[i], "-install"))
50 XTAS_SWITCH_COLOR_MAP = 'Y';
51 }
52
53 XtasInitializeRessources( &argc, argv );
54
55 XtAppMainLoop( XtasApplicationContext );
56 XtasExit(0);
57 }