Updated Spanish translation
[anjuta-git-plugin.git] / plugins / profiler / gprof-function-call-chart-view.h
blob9b26c0d0777f6ac8b29327ab74f67e50ff6856ab
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * gprof-function-call-chart-view.h
4 * Copyright (C) James Liggett 2006 <jrliggett@cox.net>
5 *
6 * gprof-function-call-chart-view.h is free software.
7 *
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_FUNCTION_CALL_CHART_VIEW_H
25 #define _GPROF_FUNCTION_CALL_CHART_VIEW_H
27 #include <config.h>
28 #include <graphviz/gvc.h>
29 #include <glib.h>
30 #include <glib-object.h>
31 #include <gtk/gtk.h>
32 #include <libgnomecanvas/libgnomecanvas.h>
33 #include "gprof-view.h"
35 G_BEGIN_DECLS
37 typedef struct _GProfFunctionCallChartView GProfFunctionCallChartView;
38 typedef struct _GProfFunctionCallChartViewClass GProfFunctionCallChartViewClass;
39 typedef struct _GProfFunctionCallChartViewPriv GProfFunctionCallChartViewPriv;
41 #define GPROF_FUNCTION_CALL_CHART_VIEW_TYPE (gprof_function_call_chart_view_get_type ())
42 #define GPROF_FUNCTION_CALL_CHART_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GPROF_FUNCTION_CALL_CHART_VIEW_TYPE, GProfFunctionCallChartView))
43 #define GPROF_FUNCTION_CALL_CHART_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GPROF_FUNCTION_CALL_CHART_VIEW_TYPE, GProfFunctionCallChartViewClass))
44 #define IS_GPROF_FUNCTION_CALL_CHART_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GPROF_FUNCTION_CALL_CHART_VIEW_TYPE))
45 #define IS_GPROF_FUNCTION_CALL_CHART_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GPROF_FUNCTION_CALL_CHART_VIEW_TYPE))
47 struct _GProfFunctionCallChartView
49 GProfView parent;
50 GProfFunctionCallChartViewPriv *priv;
53 struct _GProfFunctionCallChartViewClass
55 GProfViewClass parent_class;
58 GType gprof_function_call_chart_view_get_type (void);
60 GProfFunctionCallChartView *gprof_function_call_chart_view_new (GProfProfileData *profile_data,
61 IAnjutaSymbolManager *symbol_manager,
62 IAnjutaDocumentManager *document_manager);
64 void gprof_function_call_chart_view_refresh (GProfView *view);
65 GtkWidget *gprof_function_call_chart_view_get_widget (GProfView *view);
67 #endif