/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Jeffrey Stedfast * * Copyright 2003 Ximian, Inc. (www.ximian.com) * Copyright (C) Massimo Cora' 2005 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. * */ #ifndef __VG_GENERAL_PREFS_H__ #define __VG_GENERAL_PREFS_H__ #include #include "vgtoolprefs.h" #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define VG_TYPE_GENERAL_PREFS (vg_general_prefs_get_type ()) #define VG_GENERAL_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VG_TYPE_GENERAL_PREFS, VgGeneralPrefs)) #define VG_GENERAL_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VG_TYPE_GENERAL_PREFS, VgGeneralPrefsClass)) #define VG_IS_GENERAL_PREFS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VG_TYPE_GENERAL_PREFS)) #define VG_IS_GENERAL_PREFS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VG_TYPE_GENERAL_PREFS)) #define VG_GENERAL_PREFS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VG_TYPE_GENERAL_PREFS, VgGeneralPrefsClass)) typedef struct _VgGeneralPrefs VgGeneralPrefs; typedef struct _VgGeneralPrefsClass VgGeneralPrefsClass; struct _VgGeneralPrefs { VgToolPrefs parent_object; GtkToggleButton *demangle; GtkSpinButton *num_callers; GtkToggleButton *error_limit; GtkToggleButton *sloppy_malloc; /*GtkOptionMenu *alignment;*/ /* 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096 */ GtkToggleButton *trace_children; GtkToggleButton *track_fds; GtkToggleButton *time_stamp; GtkToggleButton *run_libc_freeres; }; struct _VgGeneralPrefsClass { VgToolPrefsClass parent_class; }; GType vg_general_prefs_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __VG_GENERAL_PREFS_H__ */