Remove unnecessary case statement braces.
[geany-mirror.git] / src / vte.h
blobcca0753cf0436e478b8c64525faba20ab4919b4d
1 /*
2 * vte.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005-2009 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2006-2009 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.
21 * $Id$
25 #ifndef GEANY_VTE_H
26 #define GEANY_VTE_H 1
28 #ifdef HAVE_VTE
31 typedef struct
33 gboolean load_vte;
34 gboolean have_vte;
35 gchar *lib_vte;
36 gchar *dir;
37 } VteInfo;
39 extern VteInfo vte_info;
42 typedef struct
44 GtkWidget *vte;
45 GtkWidget *menu;
46 GtkWidget *im_submenu;
47 gboolean scroll_on_key;
48 gboolean scroll_on_out;
49 gboolean ignore_menu_bar_accel;
50 gboolean follow_path;
51 gboolean run_in_vte;
52 gboolean skip_run_script;
53 gboolean enable_bash_keys;
54 gboolean cursor_blinks;
55 gint scrollback_lines;
56 gchar *emulation;
57 gchar *shell;
58 gchar *font;
59 GdkColor *colour_fore;
60 GdkColor *colour_back;
61 } VteConfig;
62 extern VteConfig *vc;
65 void vte_init(void);
67 void vte_close(void);
69 void vte_apply_user_settings(void);
71 gboolean vte_send_cmd(const gchar *cmd);
73 const gchar *vte_get_working_directory(void);
75 void vte_cwd(const gchar *filename, gboolean force);
77 void vte_append_preferences_tab(void);
79 void vte_send_selection_to_vte(void);
81 #endif
83 #endif