gsch2pcb: Show subprocess output in verbose mode.
[geda-gaf/peter-b.git] / gschem / include / globals.h
blob07938ae9547a10803b90e59319e846494a24d850
1 /* -*- geda-c -*-
2 * gEDA - GPL Electronic Design Automation
3 * gschem - gEDA Schematic Capture
4 * Copyright (C) 1998-2010 Ales Hvezda
5 * Copyright (C) 1998-2011 gEDA Contributors (see ChangeLog for details)
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef H_GSCHEM_GLOBALS_H
23 #define H_GSCHEM_GLOBALS_H
26 /* window list */
27 extern GList *global_window_list;
29 /* Manager for recently used files */
30 GtkRecentManager *recent_manager;
32 /* colors */
33 extern GdkColor white;
34 extern GdkColor black;
36 extern char *rc_filename;
37 extern char *output_filename;
40 extern int do_logging;
41 extern int logging_dest;
44 /* command line options */
45 extern int quiet_mode;
46 extern int verbose_mode;
47 extern int auto_place_mode;
49 #define MAX_BUFFERS 5
50 /* Global buffers */
51 extern GList *object_buffer[MAX_BUFFERS];
53 /* Hooks */
54 extern SCM complex_place_list_changed_hook;
56 #include "gettext.h"
57 #ifdef ENABLE_NLS
58 # ifdef gettext_noop
59 # define N_(String) gettext_noop (String)
60 # else
61 # define N_(String) (String)
62 # endif
63 #else
64 # define N_(String) (String)
65 #endif
68 * __attribute__((unused)) is a gcc extension so define
69 * a portable macro, ATTRIBUTE_UNUSED, to use instead
71 #ifndef GCC_VERSION
72 #define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)
73 #endif /* GCC_VERSION */
75 #if GCC_VERSION > 2007
76 #define ATTRIBUTE_UNUSED __attribute__((unused))
77 #else
78 #define ATTRIBUTE_UNUSED
79 #endif
81 /*EK* used by prototype.h */
82 #include "../include/x_states.h"
84 #endif