1 /* gEDA - GPL Electronic Design Automation
2 * gschlas - gEDA Load and Save
3 * Copyright (C) 2002-2007 Ales Hvezda
4 * Copyright (C) 2002-2007 gEDA Contributors (see ChangeLog for details)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
25 #include <libgeda/libgeda.h>
27 #include "../include/globals.h"
28 #include "../include/prototype.h"
30 #ifdef HAVE_LIBDMALLOC
34 char *rc_filename
= NULL
;
38 GdkColormap
*colormap
;
48 int logging_dest
=LOG_WINDOW
;
50 /* these are required by libgeda */
51 void (*arc_draw_func
)() = o_arc_recalc
;
52 void (*box_draw_func
)() = o_box_recalc
;
53 void (*picture_draw_func
)() = o_picture_recalc
;
54 void (*circle_draw_func
)() = o_circle_recalc
;
55 void (*complex_draw_func
)() = o_complex_recalc
;
56 void (*line_draw_func
)() = o_line_recalc
;
57 void (*net_draw_func
)() = o_net_recalc
;
58 void (*bus_draw_func
)() = o_bus_recalc
;
59 void (*text_draw_func
)() = o_text_recalc
;
60 void (*pin_draw_func
)() = o_pin_recalc
;
61 void (*select_func
)() = o_select_dummy
;
62 void (*x_log_update_func
)() = NULL
;
63 /* void (*variable_set_func)() = i_vars_set; */
64 void (*variable_set_func
)() = NULL
;
65 int (*load_newer_backup_func
)() = NULL
;
67 /* this is just a dummy function, so that compoments are saved properly */
69 o_select_dummy(TOPLEVEL
* w_current
, OBJECT
* o_current
,
76 /* command line arguments */
77 int verbose_mode
=FALSE
;
78 int interactive_mode
=FALSE
;
81 int unembed_mode
=FALSE
;