1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 * Authors: Jeffrey Stedfast <fejj@ximian.com>
5 * Copyright 2003 Ximian, Inc. (www.ximian.com)
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program 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. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 #ifndef __VG_MEMCHECK_PREFS_H__
25 #define __VG_MEMCHECK_PREFS_H__
27 #include "vgtoolprefs.h"
32 #endif /* __cplusplus */
34 #define VG_TYPE_MEMCHECK_PREFS (vg_memcheck_prefs_get_type ())
35 #define VG_MEMCHECK_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_MEMCHECK_PREFS, VgMemcheckPrefs))
36 #define VG_MEMCHECK_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_MEMCHECK_PREFS, VgMemcheckPrefsClass))
37 #define VG_IS_MEMCHECK_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_MEMCHECK_PREFS))
38 #define VG_IS_MEMCHECK_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_MEMCHECK_PREFS))
39 #define VG_MEMCHECK_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_MEMCHECK_PREFS, VgMemcheckPrefsClass))
41 typedef struct _VgMemcheckPrefs VgMemcheckPrefs
;
42 typedef struct _VgMemcheckPrefsClass VgMemcheckPrefsClass
;
44 struct _VgMemcheckPrefs
{
45 VgToolPrefs parent_object
;
47 GtkOptionMenu
*leak_check
;
48 GtkToggleButton
*show_reachable
;
49 GtkOptionMenu
*leak_resolution
;
50 GtkSpinButton
*freelist_vol
;
51 GtkToggleButton
*workaround_gcc296_bugs
;
52 GtkToggleButton
*avoid_strlen_errors
;
55 struct _VgMemcheckPrefsClass
{
56 VgToolPrefsClass parent_class
;
61 GType
vg_memcheck_prefs_get_type (void);
65 #endif /* __cplusplus */
67 #endif /* __VG_MEMCHECK_PREFS_H__ */