17
17
* along with this program; if not, write to the Free Software
18
18
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
* $Id: msgwindow.h 802 2006-09-08 13:39:32Z ntrel $
20
* $Id: msgwindow.h 1090 2006-12-13 16:41:25Z ntrel $
66
67
void msgwin_finalize();
68
void msgwin_prepare_msg_tree_view(void);
70
void msgwin_prepare_status_tree_view(void);
72
void msgwin_prepare_compiler_tree_view(void);
76
void msgwin_msg_add(gint line, gint idx, gchar *string);
78
void msgwin_compiler_add(gint msg_color, gboolean scroll, gchar const *format, ...);
80
void msgwin_status_add(gchar const *format, ...);
82
void msgwin_set_build_info(const gchar *dir, guint file_type_id);
84
GtkWidget *msgwin_create_message_popup_menu(gint type);
69
void msgwin_show_hide(gboolean show);
71
void msgwin_msg_add(gint line, gint idx, const gchar *string);
73
void msgwin_compiler_add(gint msg_color, const gchar *format, ...)
76
void msgwin_status_add(const gchar *format, ...) G_GNUC_PRINTF (1, 2);
78
void msgwin_menu_add_common_items(GtkMenu *menu);
86
80
gboolean msgwin_goto_compiler_file_line();
88
/* try to parse the file and line number where the error occured described in line
89
* and when something useful is found, it stores the line number in *line and the
90
* relevant file with the error in filename.
91
* *line will be -1 if no error was found in string.
92
* filename must be freed unless it is NULL. */
93
82
void msgwin_parse_compiler_error_line(const gchar *string, gchar **filename, gint *line);
95
84
gboolean msgwin_goto_messages_file_line();