1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
3 * gprof-call-graph-view.h
4 * Copyright (C) James Liggett 2006 <jrliggett@cox.net>
6 * gprof-call-graph-view.h is free software.
8 * You may redistribute it and/or modify it under the terms of the
9 * GNU General Public License, as published by the Free Software
10 * Foundation; either version 2, or (at your option) any later version.
12 * plugin.c 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.
15 * See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with plugin.c. See the file "COPYING". If not,
19 * write to: The Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
24 #ifndef _GPROF_CALL_GRAPH_VIEW_H
25 #define _GPROF_CALL_GRAPH_VIEW_H
29 #include <glib-object.h>
31 #include <glade/glade.h>
32 #include "gprof-view.h"
36 typedef struct _GProfCallGraphView GProfCallGraphView
;
37 typedef struct _GProfCallGraphViewClass GProfCallGraphViewClass
;
38 typedef struct _GProfCallGraphViewPriv GProfCallGraphViewPriv
;
40 #define GPROF_CALL_GRAPH_VIEW_TYPE (gprof_call_graph_view_get_type ())
41 #define GPROF_CALL_GRAPH_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GPROF_CALL_GRAPH_VIEW_TYPE, GProfCallGraphView))
42 #define GPROF_CALL_GRAPH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GPROF_CALL_GRAPH_VIEW_TYPE, GProfCallGraphViewClass))
43 #define IS_GPROF_CALL_GRAPH_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GPROF_CALL_GRAPH_VIEW_TYPE))
44 #define IS_GPROF_CALL_GRAPH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GPROF_CALL_GRAPH_VIEW_TYPE))
46 struct _GProfCallGraphView
49 GProfCallGraphViewPriv
*priv
;
52 struct _GProfCallGraphViewClass
54 GProfViewClass parent_class
;
57 GType
gprof_call_graph_view_get_type (void);
59 GProfCallGraphView
*gprof_call_graph_view_new (GProfProfileData
*profile_data
,
60 IAnjutaSymbolManager
*symbol_manager
,
61 IAnjutaDocumentManager
*document_manager
);
63 void gprof_call_graph_view_refresh (GProfView
*view
);
64 GtkWidget
*gprof_call_graph_view_get_widget (GProfView
*view
);