Added byline
[anjuta.git] / plugins / debug-manager / breakpoints.h
blob2d2cd5ab7c9d5f846fbd413d6498dc016dd629ee
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 breakpoints.h
4 Copyright (C) 2007 Sébastien Granjoux
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (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
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef _BREAKPOINTS_DBASE_H_
22 #define _BREAKPOINTS_DBASE_H_
24 #include "plugin.h"
26 #include <stdio.h>
27 #include <libanjuta/anjuta-plugin.h>
28 #include <libanjuta/interfaces/ianjuta-editor.h>
29 #include <libanjuta/interfaces/ianjuta-debugger.h>
31 /* Stock icons */
32 #define ANJUTA_STOCK_BREAKPOINT_TOGGLE "gdb-breakpoint-toggle"
33 #define ANJUTA_STOCK_BREAKPOINT_CLEAR "anjuta-breakpoint-clear"
34 #define ANJUTA_STOCK_BREAKPOINT_DISABLED "gdb-breakpoint-disabled"
35 #define ANJUTA_STOCK_BREAKPOINT_ENABLED "gdb-breakpoint-enabled"
37 G_BEGIN_DECLS
39 typedef struct _BreakpointsDBase BreakpointsDBase;
41 BreakpointsDBase *breakpoints_dbase_new (DebugManagerPlugin *plugin);
42 void breakpoints_dbase_destroy (BreakpointsDBase * bd);
44 /* Handler for breakpoint toggle on double clicking line marks gutter */
45 void breakpoint_toggle_handler(GtkAction * action, gint line_number, BreakpointsDBase *bd);
47 G_END_DECLS
49 #endif