1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) James Liggett 2006 <jrliggett@cox.net>
6 * plugin.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.h 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.h. 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.
28 #include <glib/gstdio.h>
29 #include <libanjuta/anjuta-plugin.h>
30 #include <libanjuta/anjuta-shell.h>
31 #include <libanjuta/anjuta-debug.h>
32 #include <libanjuta/interfaces/ianjuta-project-manager.h>
33 #include <libanjuta/interfaces/ianjuta-file.h>
34 #include <libgnomevfs/gnome-vfs-utils.h>
35 #include <libgnomevfs/gnome-vfs.h>
36 #include "gprof-view-manager.h"
37 #include "gprof-profile-data.h"
38 #include "gprof-flat-profile-view.h"
39 #include "gprof-call-graph-view.h"
40 #include "gprof-function-call-tree-view.h"
41 #include "gprof-options.h"
44 #include "gprof-function-call-chart-view.h"
47 extern GType
profiler_get_type (GTypeModule
*module
);
48 #define TYPE_PROFILER (profiler_get_type (NULL))
49 #define PROFILER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROFILER, Profiler))
50 #define PROFILER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_PROFILER, ProfilerClass))
51 #define IS_PROFILER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROFILER))
52 #define IS_PROFILER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_PROFILER))
53 #define PROFILER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_PROFILER, ProfilerClass))
55 typedef struct _Profiler Profiler
;
56 typedef struct _ProfilerClass ProfilerClass
;
63 GtkActionGroup
*action_group
;
64 GProfOptions
*options
;
66 GProfViewManager
*view_manager
;
67 GProfProfileData
*profile_data
;
68 gint project_watch_id
;
69 gchar
*project_root_uri
;
70 gchar
*profile_target_path
;
71 GnomeVFSMonitorHandle
*profile_data_monitor
;
76 AnjutaPluginClass parent_class
;