/* * filetypesprivate.h - this file is part of Geany, a fast and lightweight IDE * * Copyright 2008-2012 Enrico Tröger * Copyright 2008-2012 Nick Treleaven * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef GEANY_FILETYPES_PRIVATE_H #define GEANY_FILETYPES_PRIVATE_H 1 #include "build.h" #include "gtkcompat.h" G_BEGIN_DECLS /* Private GeanyFiletype fields */ typedef struct GeanyFiletypePrivate { GtkWidget *menu_item; /* holds a pointer to the menu item for this filetype */ gboolean keyfile_loaded; GRegex *error_regex; gchar *last_error_pattern; gboolean custom; gint symbol_list_sort_mode; gboolean xml_indent_tags; /* XML tag autoindentation, for HTML and XML filetypes */ GSList *tag_files; gboolean warn_color_scheme; /* TODO: move to structure in build.h and only put a pointer here */ GeanyBuildCommand *filecmds; GeanyBuildCommand *ftdefcmds; GeanyBuildCommand *execcmds; GeanyBuildCommand *homefilecmds; GeanyBuildCommand *homeexeccmds; GeanyBuildCommand *projfilecmds; GeanyBuildCommand *projexeccmds; gint project_list_entry; gchar *projerror_regex_string; gchar *homeerror_regex_string; } GeanyFiletypePrivate; G_END_DECLS #endif /* GEANY_FILETYPES_PRIVATE_H */