Added byline
[anjuta.git] / plugins / gdb / preferences.h
blob7471b90686e393cbefcb7b6378ad674758e9b7e4
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4; coding: utf-8 -*- */
2 /* preferences.h
4 * Copyright (C) 2010 Sébastien Granjoux
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef _PREFERENCES_H_
23 #define _PREFERENCES_H_
25 #include <libanjuta/anjuta-preferences.h>
26 #include <libanjuta/anjuta-session.h>
27 #include <glib.h>
29 G_BEGIN_DECLS
31 typedef struct
33 gboolean enable;
34 gchar *path;
35 gchar *function;
36 } GdbPrettyPrinter;
38 GList *gdb_load_pretty_printers (AnjutaSession *session);
39 gboolean gdb_save_pretty_printers (AnjutaSession *session, GList *list);
41 void gdb_pretty_printer_free (GdbPrettyPrinter *printer);
43 void gdb_merge_preferences (AnjutaPreferences* prefs, GList **list);
44 void gdb_unmerge_preferences (AnjutaPreferences* prefs);
46 G_END_DECLS
48 #endif /* _PREFERENCES_H_ */