* plugins/debug-manager/threads.c,
[anjuta-git-plugin.git] / plugins / valgrind / vgdefaultview.h
blob47cfae9f2ef9879852c855a11166f333a6e16ba9
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright 2003 Ximian, Inc. (www.ximian.com)
6 * Copyright (C) Massimo Cora' 2005 <maxcvs@gmail.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 #ifndef __VG_DEFAULT_VIEW_H__
26 #define __VG_DEFAULT_VIEW_H__
28 #include <gtk/gtk.h>
30 #include <gconf/gconf-client.h>
32 #include <sys/types.h>
33 #include <regex.h>
35 #include "vgerror.h"
36 #include "symtab.h"
39 #ifdef __cplusplus
40 extern "C" {
41 #pragma }
42 #endif /* __cplusplus */
44 #define VG_TYPE_DEFAULT_VIEW (vg_default_view_get_type ())
45 #define VG_DEFAULT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_DEFAULT_VIEW, VgDefaultView))
46 #define VG_DEFAULT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_DEFAULT_VIEW, VgDefaultViewClass))
47 #define VG_IS_DEFAULT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_DEFAULT_VIEW))
48 #define VG_IS_DEFAULT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_DEFAULT_VIEW))
49 #define VG_DEFAULT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_DEFAULT_VIEW, VgDefaultViewClass))
51 typedef struct _VgDefaultView VgDefaultView;
52 typedef struct _VgDefaultViewClass VgDefaultViewClass;
54 #include "vgtoolview.h"
55 #include "plugin.h"
57 struct _VgDefaultView {
58 VgToolView parent_object;
60 GConfClient *gconf;
62 GtkWidget *table;
63 GtkWidget *rule_list;
65 GPtrArray *errors;
66 VgErrorParser *parser;
68 GPtrArray *suppressions;
70 int search_id;
71 regex_t search_regex;
73 guint rules_id;
75 int srclines;
76 guint lines_id;
78 AnjutaValgrindPlugin *valgrind_plugin;
81 struct _VgDefaultViewClass {
82 VgToolViewClass parent_class;
87 GType vg_default_view_get_type (void);
89 GtkWidget *vg_default_view_new (AnjutaValgrindPlugin *valgrind_plugin);
91 #ifdef __cplusplus
93 #endif /* __cplusplus */
95 #endif /* __VG_DEFAULT_VIEW_H__ */