From d21447d096a320a08b3efb2b8768fad0dcdcfd64 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 5 May 2016 22:28:51 +0100 Subject: move frontends into sub directory --- frontends/gtk/treeview.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 frontends/gtk/treeview.h (limited to 'frontends/gtk/treeview.h') diff --git a/frontends/gtk/treeview.h b/frontends/gtk/treeview.h new file mode 100644 index 000000000..ad8180f33 --- /dev/null +++ b/frontends/gtk/treeview.h @@ -0,0 +1,38 @@ +/* + * Copyright 2004 Richard Wilson + * Copyright 2009 Paul Blokus + * + * This file is part of NetSurf, http://www.netsurf-browser.org/ + * + * NetSurf is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * NetSurf is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/** \file + * Generic tree handling. + */ + +#ifndef __NSGTK_TREEVIEW_H__ +#define __NSGTK_TREEVIEW_H__ + +struct nsgtk_treeview; + +struct nsgtk_treeview *nsgtk_treeview_create(unsigned int flags, + GtkWindow *window, GtkScrolledWindow *scrolled, + GtkDrawingArea *drawing_area); +void nsgtk_treeview_destroy(struct nsgtk_treeview *tv); + +struct tree *nsgtk_treeview_get_tree(struct nsgtk_treeview *tv); + +void nsgtk_tree_window_hide(GtkWidget *widget, gpointer g); + +#endif /*__NSGTK_TREEVIEW_H__*/ -- cgit v1.2.3