1 /*
2  *  break.h
3  *
4  *  Copyright 2012 Dimitar Toshkov Zhekov <dimitar.zhekov@gmail.com>
5  *
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.
10  *
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.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef BREAK_H
21 
22 void on_break_inserted(GArray *nodes);
23 void on_break_done(GArray *nodes);
24 void on_break_list(GArray *nodes);  /* or info */
25 void on_break_stopped(GArray *nodes);  /* thread */
26 void on_break_created(GArray *nodes);  /* or modified */
27 void on_break_deleted(GArray *nodes);
28 void on_break_features(GArray *nodes);
29 
30 void breaks_mark(GeanyDocument *doc);
31 void breaks_clear(void);
32 void breaks_reset(void);
33 void breaks_apply(void);
34 void breaks_query_async(GString *commands);
35 void breaks_delta(ScintillaObject *sci, const char *real_path, gint start, gint delta,
36 	gboolean active);
37 guint breaks_active(void);
38 
39 void on_break_toggle(const MenuItem *menu_item);
40 gboolean breaks_update(void);
41 void breaks_delete_all(void);
42 void breaks_load(GKeyFile *config);
43 void breaks_save(GKeyFile *config);
44 
45 void break_init(void);
46 void break_finalize(void);
47 
48 #define BREAK_H 1
49 #endif
50