geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

prefs.h
Go to the documentation of this file.
1/*
2 * prefs.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2005 The Geany contributors
5 *
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.
10 *
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.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21#ifndef GEANY_PREFS_H
22#define GEANY_PREFS_H 1
23
24#include <glib.h>
25
26G_BEGIN_DECLS
27
28/** General Preferences dialog settings. */
29typedef struct GeanyPrefs
30{
31 gboolean load_session;
32 gboolean load_plugins;
33 gboolean save_winpos;
34 gboolean confirm_exit;
35 gboolean beep_on_errors; /* use utils_beep() instead */
38 gboolean auto_focus;
39 gchar *default_open_path; /**< Default path to look for files when no other path is appropriate. */
41 gboolean save_wingeom;
42#ifdef G_OS_WIN32
43 gint socket_remote_cmd_port;
44#endif
45}
47
48/** Tools preferences */
49typedef struct GeanyToolPrefs
50{
51 gchar *browser_cmd; /**< web browser command */
52 gchar *term_cmd; /**< terminal emulator command */
53 gchar *grep_cmd; /**< grep command */
54 gchar *context_action_cmd; /**< context action command */
55}
57
58
59#ifdef GEANY_PRIVATE
60
61extern GeanyPrefs prefs;
62
64
65void prefs_show_dialog(void);
66
67void prefs_kb_search_name(const gchar *search);
68
69#endif /* GEANY_PRIVATE */
70
71G_END_DECLS
72
73#endif /* GEANY_PREFS_H */
GeanyToolPrefs tool_prefs
Definition: prefs.c:67
void prefs_show_dialog(void)
Definition: prefs.c:1653
GeanyPrefs prefs
Definition: prefs.c:66
void prefs_kb_search_name(const gchar *search)
Definition: prefs.c:336
struct GeanyPrefs GeanyPrefs
General Preferences dialog settings.
struct GeanyToolPrefs GeanyToolPrefs
Tools preferences.
General Preferences dialog settings.
Definition: prefs.h:30
gchar * custom_plugin_path
Definition: prefs.h:40
gboolean confirm_exit
Definition: prefs.h:34
gboolean save_winpos
Definition: prefs.h:33
gboolean load_plugins
Definition: prefs.h:32
gboolean save_wingeom
Definition: prefs.h:41
gboolean auto_focus
Definition: prefs.h:38
gboolean suppress_status_messages
Definition: prefs.h:36
gboolean load_session
Definition: prefs.h:31
gboolean beep_on_errors
Definition: prefs.h:35
gboolean switch_to_status
Definition: prefs.h:37
gchar * default_open_path
Default path to look for files when no other path is appropriate.
Definition: prefs.h:39
Tools preferences.
Definition: prefs.h:50
gchar * grep_cmd
grep command
Definition: prefs.h:53
gchar * context_action_cmd
context action command
Definition: prefs.h:54
gchar * term_cmd
terminal emulator command
Definition: prefs.h:52
gchar * browser_cmd
web browser command
Definition: prefs.h:51