Recognize #!/bin/dash as shebang for Shell files (closes #3470986)
[geany-mirror.git] / src / prefs.h
blobe0d587a349c65ebe9be788b91603ab5dba862356
1 /*
2 * prefs.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005-2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2006-2011 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
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., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef GEANY_PREFS_H
24 #define GEANY_PREFS_H 1
26 /** General Preferences dialog settings. */
27 typedef struct GeanyPrefs
29 gboolean load_session;
30 gboolean load_plugins;
31 gboolean save_winpos;
32 gboolean confirm_exit;
33 gboolean beep_on_errors; /* use utils_beep() instead */
34 gboolean suppress_status_messages;
35 gboolean switch_to_status;
36 gboolean auto_focus;
37 gchar *default_open_path; /**< Default path to look for files when no other path is appropriate. */
38 gchar *custom_plugin_path;
40 GeanyPrefs;
42 extern GeanyPrefs prefs;
45 /** Tools preferences */
46 typedef struct GeanyToolPrefs
48 gchar *browser_cmd; /**< web browser command */
49 gchar *term_cmd; /**< terminal emulator command */
50 gchar *grep_cmd; /**< grep command */
51 gchar *context_action_cmd; /**< context action command */
53 GeanyToolPrefs;
55 extern GeanyToolPrefs tool_prefs;
58 void prefs_show_dialog(void);
60 #endif