1 /*
2  *		stree.h
3  *
4  *      Copyright 2010 Alexander Petukhov <devel(at)apetukhov.ru>
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, write to the Free Software
18  *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19  *      MA 02110-1301, USA.
20  */
21 
22 #ifndef STREE_H
23 #define STREE_H
24 
25 #include <glib.h>
26 #include <gtk/gtk.h>
27 
28 #include "breakpoints.h"
29 #include "debug_module.h"
30 
31 GtkWidget*		stree_init(move_to_line_cb ml, select_thread_cb st, select_frame_cb sf);
32 void			stree_destroy(void);
33 
34 void 			stree_add(GList *frames);
35 void 			stree_clear(void);
36 
37 void 			stree_add_thread(int thread_id);
38 void 			stree_remove_thread(int thread_id);
39 
40 void 			stree_select_first_frame(gboolean make_active);
41 void 			stree_remove_frames(void);
42 
43 void			stree_set_active_thread_id(int thread_id);
44 
45 #endif /* guard */
46