Fix #530740 – Use GtkBuilder instead of libglade
[anjuta-extras.git] / plugins / profiler / gprof-view-manager.h
blob2091736b816abd36e5e016dd9dbba4d0a7e02ff2
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * gprof-view-manager.h
4 * Copyright (C) James Liggett 2006 <jrliggett@cox.net>
5 *
6 * gprof-view-manager.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_VIEW_MANAGER_H
25 #define _GPROF_VIEW_MANAGER_H
27 #include <glib.h>
28 #include <glib-object.h>
29 #include <gtk/gtk.h>
31 #include "gprof-profile-data.h"
32 #include "gprof-view.h"
34 G_BEGIN_DECLS
36 typedef struct _GProfViewManager GProfViewManager;
37 typedef struct _GProfViewManagerClass GProfViewManagerClass;
38 typedef struct _GProfViewManagerPriv GProfViewManagerPriv;
40 #define GPROF_VIEW_MANAGER_TYPE (gprof_view_manager_get_type ())
41 #define GPROF_VIEW_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GPROF_VIEW_MANAGER_TYPE, GProfViewManager))
42 #define GPROF_VIEW_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GPROF_VIEW_MANAGER_TYPE, GProfViewManagerClass))
43 #define IS_GPROF_VIEW_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GPROF_VIEW_MANAGER_TYPE))
44 #define IS_GPROF_VIEW_CLASS_MANAGER(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GPROF_VIEW_MANAGER_TYPE))
46 struct _GProfViewManager
48 GObject parent;
49 GProfViewManagerPriv *priv;
52 struct _GProfViewManagerClass
54 GObjectClass parent_class;
57 GType gprof_view_manager_get_type (void);
59 GProfViewManager *gprof_view_manager_new (void);
60 void gprof_view_manager_free (GProfViewManager *self);
62 void gprof_view_manager_add_view (GProfViewManager *self, GProfView *view,
63 const gchar *label);
64 void gprof_view_manager_refresh_views (GProfViewManager *self);
65 GtkWidget *gprof_view_manager_get_notebook (GProfViewManager *self);
67 G_END_DECLS
69 #endif