1 /*
2  *		wtree.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 WTREE_H
23 #define WTREE_H
24 
25 #include <glib.h>
26 #include <gtk/gtk.h>
27 
28 #include "watch_model.h"
29 
30 GtkWidget*		wtree_init(watch_expanded_callback expanded,
31 	new_watch_dragged dragged,
32 	watch_key_pressed keypressed,
33 	watch_expression_changed changed,
34 	watch_button_pressed buttonpressed);
35 void			wtree_empty_row(GtkTreeIter *iter);
36 GtkTreePath*	wtree_empty_path(void);
37 GList*			wtree_get_watches(void);
38 void			wtree_remove_all(void);
39 void			wtree_add_watch(gchar *watch);
40 
41 #endif /* guard */
42