Update HACKING for changed doc generation instructions
[geany-mirror.git] / src / filetypesprivate.h
blobe52298878ac2092d585bc8f8483393191e9d2761
1 /*
2 * filetypesprivate.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2008-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2008-2012 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 along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef GEANY_FILETYPES_PRIVATE_H
24 #define GEANY_FILETYPES_PRIVATE_H 1
26 #include "build.h"
28 #include "gtkcompat.h"
30 G_BEGIN_DECLS
32 /* Private GeanyFiletype fields */
33 typedef struct GeanyFiletypePrivate
35 GtkWidget *menu_item; /* holds a pointer to the menu item for this filetype */
36 gboolean keyfile_loaded;
37 GRegex *error_regex;
38 gchar *last_error_pattern;
39 gboolean custom;
40 gint symbol_list_sort_mode;
41 gboolean xml_indent_tags; /* XML tag autoindentation, for HTML and XML filetypes */
42 GSList *tag_files;
43 gboolean warn_color_scheme;
45 /* TODO: move to structure in build.h and only put a pointer here */
46 GeanyBuildCommand *filecmds;
47 GeanyBuildCommand *ftdefcmds;
48 GeanyBuildCommand *execcmds;
49 GeanyBuildCommand *homefilecmds;
50 GeanyBuildCommand *homeexeccmds;
51 GeanyBuildCommand *projfilecmds;
52 GeanyBuildCommand *projexeccmds;
53 gint project_list_entry;
54 gchar *projerror_regex_string;
55 gchar *homeerror_regex_string;
57 GeanyFiletypePrivate;
59 G_END_DECLS
61 #endif /* GEANY_FILETYPES_PRIVATE_H */