Fix #530740 – Use GtkBuilder instead of libglade
[anjuta-extras.git] / plugins / profiler / plugin.h
blob8cb1a7326837da19d451b6babd056584c31cdb02
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * plugin.h
4 * Copyright (C) James Liggett 2006 <jrliggett@cox.net>
5 *
6 * plugin.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.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.
24 #ifndef _PROFILER_H_
25 #define _PROFILER_H_
27 #include <config.h>
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 "gprof-view-manager.h"
35 #include "gprof-profile-data.h"
36 #include "gprof-flat-profile-view.h"
37 #include "gprof-call-graph-view.h"
38 #include "gprof-function-call-tree-view.h"
39 #include "gprof-options.h"
41 #ifdef HAVE_GRAPHVIZ
42 #include "gprof-function-call-chart-view.h"
43 #endif
45 extern GType profiler_get_type (GTypeModule *module);
46 #define TYPE_PROFILER (profiler_get_type (NULL))
47 #define PROFILER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_PROFILER, Profiler))
48 #define PROFILER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_PROFILER, ProfilerClass))
49 #define IS_PROFILER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_PROFILER))
50 #define IS_PROFILER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_PROFILER))
51 #define PROFILER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_PROFILER, ProfilerClass))
53 typedef struct _Profiler Profiler;
54 typedef struct _ProfilerClass ProfilerClass;
56 struct _Profiler
58 AnjutaPlugin parent;
60 gint uiid;
61 GtkActionGroup *action_group;
62 GProfOptions *options;
63 GladeXML *prefs_gxml;
64 GProfViewManager *view_manager;
65 GProfProfileData *profile_data;
66 gint project_watch_id;
67 gchar *project_root_uri;
68 gchar *profile_target_path;
69 GFileMonitor *profile_data_monitor;
72 struct _ProfilerClass
74 AnjutaPluginClass parent_class;
77 #endif