1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
5 * Copyright (C) Jeffrey Stedfast 2003 <fejj@ximian.com>
6 * Copyright (C) Ximian, Inc. 2003 (www.ximian.com)
7 * Copyright (C) Massimo Cora' 2006 <maxcvs@gmail.com>
9 * preferences.c is free software.
11 * You may redistribute it and/or modify it under the terms of the
12 * GNU General Public License, as published by the Free Software
13 * Foundation; either version 2, or (at your option) any later version.
15 * plugin.h is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 * See the GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with plugin.h. See the file "COPYING". If not,
22 * write to: The Free Software Foundation, Inc.,
23 * 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301, USA.
28 #ifndef _PREFERENCES_VALGRIND_H
29 #define _PREFERENCES_VALGRIND_H
32 #include <glib-object.h>
35 #include <glib/gi18n.h>
40 #define VALGRIND_TYPE_PLUGINPREFS (valgrind_plugin_prefs_get_type ())
41 #define VALGRIND_PLUGINPREFS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), VALGRIND_TYPE_PLUGINPREFS, ValgrindPluginPrefs))
42 #define VALGRIND_PLUGINPREFS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), VALGRIND_TYPE_PLUGINPREFS, ValgrindPluginPrefsClass))
43 #define VALGRIND_IS_PLUGINPREFS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), VALGRIND_TYPE_PLUGINPREFS))
44 #define VALGRIND_IS_PLUGINPREFS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), VALGRIND_TYPE_PLUGINPREFS))
45 #define VALGRIND_PLUGINPREFS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), VALGRIND_TYPE_PLUGINPREFS, ValgrindPluginPrefsClass))
47 typedef struct _ValgrindPluginPrefsPriv ValgrindPluginPrefsPriv
;
51 ValgrindPluginPrefsPriv
*priv
;
52 } ValgrindPluginPrefs
;
55 GObjectClass parent_class
;
57 } ValgrindPluginPrefsClass
;
59 GType
valgrind_plugin_prefs_get_type (void);
60 ValgrindPluginPrefs
*valgrind_plugin_prefs_new (void);
63 GtkWidget
*valgrind_plugin_prefs_get_anj_prefs (void);
64 GtkWidget
*valgrind_plugin_prefs_get_general_widget (void);
65 GtkWidget
*valgrind_plugin_prefs_get_memcheck_widget (void);
66 GtkWidget
*valgrind_plugin_prefs_get_cachegrind_widget (void);
67 GtkWidget
*valgrind_plugin_prefs_get_helgrind_widget (void);
69 GPtrArray
*valgrind_plugin_prefs_create_argv (ValgrindPluginPrefs
*val
, const char *tool
);
73 #endif /* _PREFERENCES_VALGRIND_H */